Is this log means video being hw decoded? - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions) +--- Thread: Is this log means video being hw decoded? (/t-is-this-log-means-video-being-hw-decoded) |
Is this log means video being hw decoded? - huarite - 2024-07-06 Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_qsv)) Stream #0:1 -> #0:1 (copy) I can see this video is being encoded with qsv, but what does native means? Is it also kind of hw accelerated decoding or it means the video being decoded by software(cpu)? RE: Is this log means video being hw decoded? - Efficient_Good_5784 - 2024-07-06 It means the native H264 codec (native meaning original) is being transcoded to HEVC with QSV. QSV is HWA. An easy way to check what Jellyfin is doing to a video is by going to the dashboard while a client is streaming a video. On the dashboard's homepage, click on a user's video playback info and it will tell you what's happening with the video. Likewise, on the web player (and Android's Exoplayer), you can open the playback info to see what is happening too. Also, do you have QSV enabled AND H264 decoding selected? If so, if you attempt to play any H264 video and it plays fine, then your server is HWA decoding it just fine. It will fail if it wasn't. RE: Is this log means video being hw decoded? - TheDreadPirate - 2024-07-06 We'd have to see the full ffmpeg log. The log specifies the full ffmpeg command used. This option indicates accelerated decoding. Code: -hwaccel qsv And these two accelerated encoding. Code: -hwaccel_output_format qsv RE: Is this log means video being hw decoded? - huarite - 2024-07-06 (2024-07-06, 03:12 PM)Efficient_Good_5784 Wrote: It means the native H264 codec (native meaning original) is being transcoded to HEVC with QSV. QSV is HWA. When I disabled hwa in dashboard, decoding was still hevc(native). But when I enabled qsv and unchecked os native dxva~ thing, log was changed to hevc(hevc_qsv). so hevc(native) means software decoding, I guess RE: Is this log means video being hw decoded? - Efficient_Good_5784 - 2024-07-06 I would do as @TheDreadPirate states check the full ffmpeg log. Could you share that? It would help to answer your question. RE: Is this log means video being hw decoded? - huarite - 2024-07-07 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 -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/data/SSipduckmovie/Ai no Utagoe o Kikasete [tmdbid-741335]/[Moozzi2] Ai no Utagoe o Kikasete (BD 1920x1080 x265-10Bit 4Audio).mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -preset veryfast -b:v 1116000 -maxrate 1116000 -bufsize 2232000 -profile:v:0 main -level 40 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=w=720:h=404:format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv" -codec:a:0 flac -ac 2 -ar 48000 -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 "69f04063b9ed1664afc970cfcf5922a6-1.mp4" -start_number 0 -hls_segment_filename "/config/data/transcodes/69f04063b9ed1664afc970cfcf5922a6%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/config/data/transcodes/69f04063b9ed1664afc970cfcf5922a6.m3u8" Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> hevc (hevc_qsv)) Stream #0:1 -> #0:1 (flac (native) -> flac (native)) hwaccel vaapi? I set hwa method to qsv, why it says vaapi? RE: Is this log means video being hw decoded? - TheDreadPirate - 2024-07-07 Probably because you checked this box. I can't remember the reason, but it is better to have that box checked. If you look in the rest of the ffmpeg command you will see QSV used for actual encoding. Code: -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=w=720:h=404:format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv" Code: -codec:v:0 hevc_qsv RE: Is this log means video being hw decoded? - huarite - 2024-07-07 checked is better? strange, but thanks |