![]() |
Jellyfin Windows GPU - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: Jellyfin Windows GPU (/t-jellyfin-windows-gpu) Pages:
1
2
|
Jellyfin Windows GPU - weyon668 - 2024-09-03 Hello, i tried Jellyfin on Windows 11 and Windows 2022 on my Intel N300 machine (newest drivers). GPU acceleration was on, and I can see that the GPU decodes the video. But the CPU is at 100%. When i disable GPU acceleration the GPU does nothing, but the CPU is still at 100%. Anybody had that issue? Thank you. RE: Jellyfin Windows GPU - TheDreadPirate - 2024-09-03 Can you share your jellyfin logs via pastebin? RE: Jellyfin Windows GPU - weyon668 - 2024-09-03 Here the log from linux: https://pastebin.com/7XjC6QTA Tried different setting, no use. Plex needs only a few % of the j4125 cpu in my nas. Does Jellyfin not support direct play? RE: Jellyfin Windows GPU - TheDreadPirate - 2024-09-03 For all your videos, it is transcoding the audio. That will always happen on the CPU and it is normal for a single core to be 100% for audio transcoding when you are transcoding the video on the GPU. Code: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -fflags +genpts -i file:\"/tmp/videos/300 (2006)/300 (2006).m2ts\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type fmp4 -hls_fmp4_init_filename \"894710fea0ab10d6c72b1c077ea02bc0-1.mp4\" -start_number 0 -hls_segment_filename \"/var/cache/jellyfin/transcodes/894710fea0ab10d6c72b1c077ea02bc0%d.mp4\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/cache/jellyfin/transcodes/894710fea0ab10d6c72b1c077ea02bc0.m3u8\"" Video not transcoded (-codec:v:0 copy), audio transcoded to AAC. Code: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -noautorotate -i file:\"/tmp/videos/7 Zwerge - Der Wald ist nicht genug (2006)/7 Zwerge - Der Wald ist nicht genug (2006).avi\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -low_power 1 -preset veryfast -look_ahead 0 -b:v 3219985 -maxrate 3219985 -bufsize 6439970 -g:v:0 75 -keyint_min:v:0 75 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(704\,288*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(704/a\,288))/2)*2,format=yuv420p\" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename \"206fcd1092866f1a76d1f9ed9eb0fb37-1.mp4\" -start_number 0 -hls_segment_filename \"/var/cache/jellyfin/transcodes/206fcd1092866f1a76d1f9ed9eb0fb37%d.mp4\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/cache/jellyfin/transcodes/206fcd1092866f1a76d1f9ed9eb0fb37.m3u8\"" Video GPU transcoded with Intel Quick Sync (-codec:v:0 h264_qsv), audio transcoded to AAC. Code: [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -f avi -noautorotate -i file:\"/tmp/videos/7 Zwerge - Der Wald ist nicht genug (2006)/7 Zwerge - Der Wald ist nicht genug (2006).avi\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -preset veryfast -crf 23 -maxrate 3219985 -bufsize 6439970 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 \"expr:gte(t,n_forced*3)\" -sc_threshold:v:0 0 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(704\,288*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(704/a\,288))/2)*2,format=yuv420p\" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename \"ce7a997341edb53c3b5796ac9b968b44-1.mp4\" -start_number 0 -hls_segment_filename \"/var/cache/jellyfin/transcodes/ce7a997341edb53c3b5796ac9b968b44%d.mp4\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/cache/jellyfin/transcodes/ce7a997341edb53c3b5796ac9b968b44.m3u8\"" Video transcoded on the CPU (-codec:v:0 libx264), audio transcoded to AAC. Code: [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -f matroska -noautorotate -canvas_size 1920x1080 -i file:\"/tmp/videos/3 Days to Kill (2014)/3 Days to Kill (2014) 1080p AC3.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:0 -codec:v:0 libx264 -preset veryfast -crf 23 -maxrate 9019607 -bufsize 18039214 -profile:v:0 high -level 41 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 \"expr:gte(t,n_forced*3)\" -sc_threshold:v:0 0 -filter_complex \"[0:4]scale=-1:1080:fast_bilinear,scale,crop,pad=max(1920\,iw):max(1080\,ih):(ow-iw)/2:(oh-ih)/2:black@0,crop=1920:1080[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(1920\,1080*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1920/a\,1080))/2)*2,format=yuv420p[main];[main][sub]overlay=eof_action=pass:repeatlast=0\" -start_at_zero -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename \"14601c7005866963b035d958fc809e07-1.mp4\" -start_number 0 -hls_segment_filename \"/var/cache/jellyfin/transcodes/14601c7005866963b035d958fc809e07%d.mp4\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/cache/jellyfin/transcodes/14601c7005866963b035d958fc809e07.m3u8\"" Video transcoded on the CPU (-codec:v:0 libx264), audio transcoded to AAC. Code: [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -fflags +genpts -f mpegts -i file:\"/tmp/videos/300 (2006)/300 (2006).m2ts\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type fmp4 -hls_fmp4_init_filename \"c6625832116075d0983bde06e23cf6a8-1.mp4\" -start_number 0 -hls_segment_filename \"/var/cache/jellyfin/transcodes/c6625832116075d0983bde06e23cf6a8%d.mp4\" -hls_playlist_type vod -hls_list_size 0 -y \"/var/cache/jellyfin/transcodes/c6625832116075d0983bde06e23cf6a8.m3u8\"" Video not transcoded (-codec:v:0 copy), audio transcoded to AAC. RE: Jellyfin Windows GPU - weyon668 - 2024-09-03 Oh, i forget. Now i testet with debian 12. Same issue, but not as bad as windows. TheDreadPirate dateline='[url=tel:1725392388' Wrote: 1725392388[/url]'] Can i disable Audio transcoding? RE: Jellyfin Windows GPU - TheDreadPirate - 2024-09-03 I updated my prior post with more info. (2024-09-03, 07:40 PM)weyon668 Wrote: Can i disable Audio transcoding? Transcoding doesn't happen for the lulz (most of the time). It happens when the client requests it due to some compatibility issue. If you turned off transcoding you'd either get a failure to play or the video/audio wouldn't be present. RE: Jellyfin Windows GPU - weyon668 - 2024-09-03 Ah ok. But jellyfin always transcodes audio (testet with about 15 videos). Tried it with firefox, chrome and apple/android apps. Plex does not do this. So this is normal for Jellyfin? RE: Jellyfin Windows GPU - TheDreadPirate - 2024-09-03 Depends on the client and source audio. It looks like you are using a web browser, so that will require a lot of Dolby and DTS audio to be transcoded. The Jellyfin Media Player desktop client can direct play pretty much everything. RE: Jellyfin Windows GPU - weyon668 - 2024-09-03 I also tried with Apple/Android apps, same high cpu usage. Those are much more used then a web browser (once a week about). RE: Jellyfin Windows GPU - TheDreadPirate - 2024-09-03 When you say "100%", do you mean a single core is pegged or do you mean all 8 cores are pegged? The former will happen when transcoding audio, the latter will happen when CPU transcoding video. But all 8 cores being pegged when GPU transcoding shouldn't be a thing. Can you share screenshots of how you configured hardware acceleration in Jellyfin? Dashboard > Playback. Also, please don't move the goal post around by switching from Windows to Debian in the middle of troubleshooting. |