2023-08-19, 08:37 AM
(This post was last modified: 2023-08-19, 10:43 AM by Nihalvm. Edited 1 time in total.)
I recently moved from Jellyfin on docker to a native linux installation on debian 12 thinking hardware decoding would be easier without the need for gpu passthrough. But having issues playing a few HVEC videos on the Jellyfin Android TV client. It works fine for most videos and a few HVEC files as well.
I get an error saying, "Player encountered error. will retry" and something like "too many errors. giving up".
*The same videos work fine and play with transcoding on Jellyfin Android app on my phone and Tablet. * Its just the Jellyfin Android TV client that has the issue.
I have a AMD 7 5700G. I am using the igpu for hardware transcoding. I thought 5700G would support HVEC 10 bit decoding.
Rellay appreciate your help
ffnpeg log below:
I get an error saying, "Player encountered error. will retry" and something like "too many errors. giving up".
*The same videos work fine and play with transcoding on Jellyfin Android app on my phone and Tablet. * Its just the Jellyfin Android TV client that has the issue.
I have a AMD 7 5700G. I am using the igpu for hardware transcoding. I thought 5700G would support HVEC 10 bit decoding.
Rellay appreciate your help
ffnpeg log below:
Code:
ffmpeg version 6.0-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
[matroska,webm @ 0x5652c6619000] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x5652c6619000] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x5652c6619000] Could not find codec parameters for stream 6 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x5652c6619000] Could not find codec parameters for stream 7 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x5652c6619000] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x5652c6619000] Could not find codec parameters for stream 9 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x5652c6619000] Could not find codec parameters for stream 10 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x5652c6619000] Could not find codec parameters for stream 11 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x5652c6619000] Could not find codec parameters for stream 12 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x5652c6619000] Could not find codec parameters for stream 13 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
Input #0, matroska,webm, from 'file:/mnt/truenas/media/Movies/The Lion King (1994)/The Lion King (1994) Bluray-2160p.mkv':
Metadata:
encoder : libebml v1.4.1 + libmatroska v1.6.2
creation_time : 2021-05-15T17:59:47.000000Z
Duration: 01:28:23.55, start: 0.000000, bitrate: 18134 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 280.071000
Metadata:
title : "Circle of Life"
Chapter #0:1: start 280.071000, end 490.407000
Metadata:
title : Scar
Chapter #0:2: start 490.407000, end 688.980000
Metadata:
title : Father and Son/Morning Report
Chapter #0:3: start 688.980000, end 849.557000
Metadata:
title : Uncle Scar
Chapter #0:4: start 849.557000, end 1071.028000
Metadata:
title : "I Just Can't Wait to Be King"
Chapter #0:5: start 1071.028000, end 1374.748000
Metadata:
title : Elephant Graveyard
Chapter #0:6: start 1374.748000, end 1536.118000
Metadata:
title : Under the Stars
Chapter #0:7: start 1536.118000, end 1824.197000
Metadata:
title : "Be Prepared"
Chapter #0:8: start 1824.197000, end 2152.150000
Metadata:
title : Stampede
Chapter #0:9: start 2152.150000, end 2414.078000
Metadata:
title : The King Is Dead
Chapter #0:10: start 2414.078000, end 2474.430000
Metadata:
title : Scar Takes Over
Chapter #0:11: start 2474.430000, end 2656.946000
Metadata:
title : Timon and Pumbaa
Chapter #0:12: start 2656.946000, end 2900.564000
Metadata:
title : "Hakuna Matata"
Chapter #0:13: start 2900.564000, end 3007.213000
Metadata:
title : Scar in Command
Chapter #0:14: start 3007.213000, end 3194.775000
Metadata:
title : Pumbaa and Timon Wax Philosophical
Chapter #0:15: start 3194.775000, end 3470.842000
Metadata:
title : Nala and Simba Reunite
Chapter #0:16: start 3470.842000, end 3656.570000
Metadata:
title : "Can You Feel the Love Tonight"
Chapter #0:17: start 3656.570000, end 3752.332000
Metadata:
title : Trouble in Paradise
Chapter #0:18: start 3752.332000, end 4129.625000
Metadata:
title : He Lives in You
Chapter #0:19: start 4129.625000, end 4361.023000
Metadata:
title : Simba Returns
Chapter #0:20: start 4361.023000, end 4602.306000
Metadata:
title : Simba Confronts Scar
Chapter #0:21: start 4602.306000, end 4845.132000
Metadata:
title : The Fight
Chapter #0:22: start 4845.132000, end 5003.874000
Metadata:
title : Simba Ascends
Chapter #0:23: start 5003.874000, end 5303.552000
Metadata:
title : End Credits
Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
Metadata:
BPS-eng : 8185067
DURATION-eng : 01:28:23.548000000
NUMBER_OF_FRAMES-eng: 127158
NUMBER_OF_BYTES-eng: 5426237311
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
Metadata:
title : Dolby TrueHD/Atmos Audio / 7.1 / 48 kHz / 8910 kbps / 24-bit
BPS-eng : 8909710
DURATION-eng : 01:28:23.550000000
NUMBER_OF_FRAMES-eng: 6364259
NUMBER_OF_BYTES-eng: 5906636660
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
Metadata:
title : Compatibility Track
BPS-eng : 640000
DURATION-eng : 01:28:23.552000000
NUMBER_OF_FRAMES-eng: 165736
NUMBER_OF_BYTES-eng: 424284160
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:3(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title : Commentary by producer Don Hahn, and co-directors
BPS-eng : 192000
DURATION-eng : 01:28:23.552000000
NUMBER_OF_FRAMES-eng: 165736
NUMBER_OF_BYTES-eng: 127285248
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
Metadata:
title : SDH
BPS-eng : 38074
DURATION-eng : 01:27:26.574000000
NUMBER_OF_FRAMES-eng: 2660
NUMBER_OF_BYTES-eng: 24969819
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:5(chi): Subtitle: hdmv_pgs_subtitle
Metadata:
title : Mandarin Traditional
BPS-eng : 23968
DURATION-eng : 01:26:34.606000000
NUMBER_OF_FRAMES-eng: 2288
NUMBER_OF_BYTES-eng: 15563405
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:6(fre): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS-eng : 32424
DURATION-eng : 01:26:34.814000000
NUMBER_OF_FRAMES-eng: 2244
NUMBER_OF_BYTES-eng: 21054708
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:7(ger): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS-eng : 40714
DURATION-eng : 01:21:48.028000000
NUMBER_OF_FRAMES-eng: 2312
NUMBER_OF_BYTES-eng: 24978521
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:8(jpn): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS-eng : 27118
DURATION-eng : 01:20:44.257000000
NUMBER_OF_FRAMES-eng: 1996
NUMBER_OF_BYTES-eng: 16421287
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:9(kor): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS-eng : 18201
DURATION-eng : 01:26:34.606000000
NUMBER_OF_FRAMES-eng: 2270
NUMBER_OF_BYTES-eng: 11818489
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:10(spa): Subtitle: hdmv_pgs_subtitle
Metadata:
title : Latin American
BPS-eng : 30452
DURATION-eng : 01:26:34.565000000
NUMBER_OF_FRAMES-eng: 2238
NUMBER_OF_BYTES-eng: 19773240
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:11(eng): Subtitle: hdmv_pgs_subtitle
Metadata:
title : Commentary by producer Don Hahn, and co-directors
BPS-eng : 94841
DURATION-eng : 01:27:54.770000000
NUMBER_OF_FRAMES-eng: 3842
NUMBER_OF_BYTES-eng: 62533375
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:12(fre): Subtitle: hdmv_pgs_subtitle
Metadata:
title : Commentary by producer Don Hahn, and co-directors
BPS-eng : 66037
DURATION-eng : 01:27:55.478000000
NUMBER_OF_FRAMES-eng: 2900
NUMBER_OF_BYTES-eng: 43547708
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:13(spa): Subtitle: hdmv_pgs_subtitle
Metadata:
title : Commentary by producer Don Hahn, and co-directors
BPS-eng : 66987
DURATION-eng : 01:27:55.520000000
NUMBER_OF_FRAMES-eng: 2952
NUMBER_OF_BYTES-eng: 44174132
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: 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 (truehd (native) -> aac (libfdk_aac))
Stream #0:4 -> #0:2 (copy)
Press [q] to stop, [?] for help
[h264_vaapi @ 0x5652c6642900] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
Output #0, matroska, to '/mnt/truenas/jellyfin/transcodes/e2d219edc89b92b2df69f4bf22ae3943.mkv':
Metadata:
encoder : Lavf60.3.100
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), vaapi(tv, bt709, progressive), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 18134 kb/s, 23.98 fps, 1k tbn (default)
Metadata:
BPS-eng : 8185067
DURATION-eng : 01:28:23.548000000
NUMBER_OF_FRAMES-eng: 127158
NUMBER_OF_BYTES-eng: 5426237311
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
encoder : Lavc60.3.100 h264_vaapi
Stream #0:1(eng): Audio: aac ([255][0][0][0] / 0x00FF), 48000 Hz, 7.1(wide), s16, 640 kb/s (default)
Metadata:
title : Dolby TrueHD/Atmos Audio / 7.1 / 48 kHz / 8910 kbps / 24-bit
BPS-eng : 8909710
DURATION-eng : 01:28:23.550000000
NUMBER_OF_FRAMES-eng: 6364259
NUMBER_OF_BYTES-eng: 5906636660
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
encoder : Lavc60.3.100 libfdk_aac
Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle ([255][255][255][255] / 0xFFFFFFFF) (default)
Metadata:
title : SDH
BPS-eng : 38074
DURATION-eng : 01:27:26.574000000
NUMBER_OF_FRAMES-eng: 2660
NUMBER_OF_BYTES-eng: 24969819
_STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-15 17:59:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
frame= 0 fps=0.0 q=0.0 size= 2kB time=00:00:00.00 bitrate=N/A speed= 0x
frame= 25 fps=0.0 q=-0.0 size= 2kB time=00:00:00.96 bitrate= 16.9kbits/s speed=1.68x
frame= 55 fps= 51 q=-0.0 size= 2kB time=00:00:02.30 bitrate= 7.0kbits/s speed=2.12x
frame= 82 fps= 52 q=-0.0 size= 2kB time=00:00:03.37 bitrate= 4.8kbits/s speed=2.13x
frame= 111 fps= 53 q=-0.0 size= 2kB time=00:00:04.71 bitrate= 3.4kbits/s speed=2.24x
frame= 139 fps= 53 q=-0.0 size= 2kB time=00:00:05.67 bitrate= 2.9kbits/s speed=2.17x
frame= 167 fps= 53 q=-0.0 size= 2kB time=00:00:06.97 bitrate= 2.3kbits/s speed=2.23x
frame= 195 fps= 54 q=-0.0 size= 2kB time=00:00:08.04 bitrate= 2.0kbits/s speed=2.21x
frame= 223 fps= 54 q=-0.0 size= 2kB time=00:00:09.28 bitrate= 1.7kbits/s speed=2.25x
frame= 252 fps= 54 q=-0.0 size= 2kB time=00:00:10.38 bitrate= 1.6kbits/s speed=2.24x
frame= 280 fps= 54 q=-0.0 size= 2kB time=00:00:11.69 bitrate= 1.4kbits/s speed=2.27x
av_interleaved_write_frame(): Permission denied
[out#0/matroska @ 0x5652c6b0d7c0] Error muxing a packet
frame= 306 fps= 54 q=-0.0 size= 2kB time=00:00:12.92 bitrate= 1.3kbits/s speed=2.29x
frame= 306 fps= 50 q=-0.0 size= 2kB time=00:00:12.94 bitrate= 1.3kbits/s speed= 2.1x
frame= 306 fps= 46 q=-0.0 size= 2kB time=00:00:12.94 bitrate= 1.3kbits/s speed=1.94x
frame= 306 fps= 43 q=-0.0 size= 2kB time=00:00:12.94 bitrate= 1.3kbits/s speed=1.81x
frame= 306 fps= 40 q=-0.0 size= 2kB time=00:00:12.94 bitrate= 1.3kbits/s speed=1.69x
frame= 306 fps= 37 q=-0.0 size= 2kB time=00:00:12.94 bitrate= 1.3kbits/s speed=1.59x
frame= 306 fps= 35 q=-0.0 size= 2kB time=00:00:12.94 bitrate= 1.3kbits/s speed=1.49x
frame= 306 fps= 33 q=-0.0 size= 2kB time=00:00:12.94 bitrate= 1.3kbits/s speed=1.41x
[out#0/matroska @ 0x5652c6b0d7c0] Error writing trailer: Permission denied
frame= 306 fps= 33 q=-0.0 Lsize= 2kB time=00:00:34.11 bitrate= 0.5kbits/s speed= 3.7x
video:25475kB audio:1038kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!