• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting HW Transcoding Intel UHD (N100) ~50% CPU use on 1 1080p stream

     
    • 0 Vote(s) - 0 Average

    HW Transcoding Intel UHD (N100) ~50% CPU use on 1 1080p stream

    HW Transcoding Intel UHD (N100) ~50% CPU use on 1 1080p stream
    pirako
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    Country:Switzerland
    #1
    2024-04-22, 08:28 PM (This post was last modified: 2024-04-22, 08:50 PM by pirako. Edited 1 time in total.)
    Hi. I observe high CPU usage (50%) when transcoding a video for a Android TV client (Jellyfin 0.16.Nerd-face.

    ffmpeg process looks like this:

    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -ss 00:02:00.000 -init_hw_device vaapi=va:/dev/dri/renderD128,driver=iHD -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -canvas_size 1920x1080 -i file:/media/seagate/test.mkv -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:2 -map -0:0 -codec:v:0 h264_vaapi -rc_mode VBR -b:v 9225839 -maxrate 9225839 -bufsize 18451678 -force_key_frames:0 expr:gte(t,n_forced*3) -filter_complex [0:6]scale=-1:1040:fast_bilinear,scale,crop,pad=max(1920\,iw):max(1040\,ih):(ow-iw)/2:(oh-ih)/2:black@0,crop=1920:1040,format=bgra,hwupload=derive_device=vaapi[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24[main];[main][sub]overlay_vaapi=eof_action=pass:repeatlast=0:w=1920:h=1040 -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_mu

    I've read that Intel N100 with UHD should handle 9 x 1080p transcodes so i am puzzled.
    How to debug this?
    Thanks a lot!

    fwiw:

    intel-gpu-top: Intel Alderlake_n (Gen12) @ /dev/dri/card0 - 0/ 0 MHz; 100% RC6; 0.00/ 3.53 W; 0 irqs/s

    ENGINES BUSY MI_SEMA MI_WAIT
    Render/3D 0.00% | | 0% 0%
    Blitter 0.00% | | 0% 0%
    Video 0.00% | | 0% 0%
    VideoEnhance 0.00% | | 0% 0%
    grips
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #2
    2024-04-22, 11:14 PM
    I'm not a pro, but you seem to be using VAAPI when maybe QuickSync (QSV) would be better.
    1
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #3
    2024-04-23, 01:46 AM
    1) Switch it to QSV.
    2) Test again. Have intel_gpu_top running when you initiate the transcode playback.
    3) Share the full ffmpeg log with us via sourcebin or pastebin.
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    pirako
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    Country:Switzerland
    #4
    2024-04-23, 08:11 AM
    Thanks guys. Switching to QSV solved this and i now see around 15% per stream. I also had to disable "use native" in the QSV settings.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode