2024-03-10, 01:22 AM
Thanks for the responses.
I've disabled subtitles entirely, hopefully disabling them means they are never even loaded and there is never a chance that jellyfin will try to transcode them.
@ Efficient_Good_5784 what you said makes sense, if the video plays at all with hwaccel active it must be using hwaccel, or it would fail to initialise the transcode I don't know why audio transcoding would choke it up so hard though, video playback stutters some on 1080 and chokes entirely on 4k. Audio transcoding should happen at easily 30-40x playback speed. Also looking at another log from ffmpeg, I don't think it is transcoding the audio, the video is still playing back like a powerpoint though.
I've also discovered that enabling hardware DEcoding seems to choke it up even more. Below are the speeds with all the hardware decoding options disabled
Same file, with it enabled.
I've disabled subtitles entirely, hopefully disabling them means they are never even loaded and there is never a chance that jellyfin will try to transcode them.
@ Efficient_Good_5784 what you said makes sense, if the video plays at all with hwaccel active it must be using hwaccel, or it would fail to initialise the transcode I don't know why audio transcoding would choke it up so hard though, video playback stutters some on 1080 and chokes entirely on 4k. Audio transcoding should happen at easily 30-40x playback speed. Also looking at another log from ffmpeg, I don't think it is transcoding the audio, the video is still playing back like a powerpoint though.
Quote:Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
Metadata:
BPS : 384000
DURATION : 01:45:09.408000000
NUMBER_OF_FRAMES: 197169
NUMBER_OF_BYTES : 302851584
_STATISTICS_WRITING_APP: mkvmerge v63.0.0 ('Everything') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-08-12 04:05:54
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_vaapi))
Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
Output #0, hls, to '/volume1/@appdata/jellyfin/data/transcodes/d313ea5e16ceaed15e3b368d4d43d1f5.m3u8':
Metadata:
encoder : Lavf58.76.100
Stream #0:0: Video: h264 (High), vaapi_vld(tv, bt709, progressive), 1280x534 [SAR 512373:513920 DAR 1919:803], q=2-31, 2616 kb/s, 23.98 fps, 90k tbn (default)
Metadata:
encoder : Lavc58.134.100 h264_vaapi
Stream #0:1: Audio: aac, 48000 Hz, stereo, s16, 384 kb/s (default)
Metadata:
encoder : Lavc58.134.100 libfdk_aac
I've also discovered that enabling hardware DEcoding seems to choke it up even more. Below are the speeds with all the hardware decoding options disabled
Quote:frame= 1 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed= 0x
frame= 15 fps=0.0 q=-0.0 size=N/A time=00:00:00.59 bitrate=N/A speed=0.609x
frame= 31 fps= 21 q=-0.0 size=N/A time=00:00:01.40 bitrate=N/A speed=0.95x
frame= 50 fps= 25 q=-0.0 size=N/A time=00:00:02.06 bitrate=N/A speed=1.04x
frame= 65 fps= 26 q=-0.0 size=N/A time=00:00:03.00 bitrate=N/A speed=1.21x
frame= 84 fps= 28 q=-0.0 size=N/A time=00:00:03.66 bitrate=N/A speed=1.22x
frame= 102 fps= 29 q=-0.0 size=N/A time=00:00:04.30 bitrate=N/A speed=1.23x
frame= 117 fps= 29 q=-0.0 size=N/A time=00:00:05.05 bitrate=N/A speed=1.26x
Same file, with it enabled.
Quote:frame= 307 fps=8.9 q=-0.0 size=N/A time=00:00:00.37 bitrate=N/A speed=0.0108x
frame= 311 fps=8.8 q=-0.0 size=N/A time=00:00:00.60 bitrate=N/A speed=0.0173x
frame= 316 fps=8.8 q=-0.0 size=N/A time=00:00:00.82 bitrate=N/A speed=0.023x
frame= 320 fps=8.8 q=-0.0 size=N/A time=00:00:00.88 bitrate=N/A speed=0.0244x
frame= 324 fps=8.8 q=-0.0 size=N/A time=00:00:01.14 bitrate=N/A speed=0.031x
frame= 329 fps=8.8 q=-0.0 size=N/A time=00:00:01.37 bitrate=N/A speed=0.0368x
frame= 332 fps=8.8 q=-0.0 size=N/A time=00:00:01.63 bitrate=N/A speed=0.0431x
frame= 338 fps=8.8 q=-0.0 size=N/A time=00:00:01.63 bitrate=N/A speed=0.0425x