mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
4K HEVC HDR with AC4 audio get transcoded while it was not the case before #6227
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @avionics75 on GitHub (Aug 26, 2024).
This issue respects the following points:
Description of the bug
After the recent Jellyfin Server updates, LiveTV channels in 4K HEVC with HDR and AC4 audio get transcoded, even though it was direct playing before.
The stated transcoding reason is that the audio codec is not supported.
It was supported before.
The issue is happening with all clients including Jellyfin Web on Webos that was working fine before on direct play.
FFprobe logs attached.
Reproduction steps
Play a 4K HEV AC4 LiveTV Channel
What is the current bug behavior?
The stream is transcoded instead of direct playing.
What is the expected correct behavior?
The stream should direct play
Jellyfin Server version
10.9.9+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
10.9.10
Specify the build version
10.9.10
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
ffprobe -i "http://127.0.0.1:8866/live?channel=52&client=52"
ffprobe version 6.0.1-Jellyfin Copyright (c) 2007-2023 the FFmpeg developers
built with gcc 13-win32 (GCC)
configuration: --prefix=/opt/ffmpeg --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --disable-w32threads --enable-pthreads --enable-shared --enable-lto --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --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
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
[hevc @ 000001a3b74a0540] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 000001a3b74a0540] Error parsing NAL unit #2.
Input #0, mpegts, from 'http://127.0.0.1:8866/live?channel=52&client=52':
Duration: N/A, start: 8184.302000, bitrate: N/A
Program 2305
Stream #0:0[0xbcd]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn
Stream #0:1[0xbce]: Audio: ac4 (AC-4 / 0x342D4341), 51200 Hz, stereo, fltp
Stream #0:20xbd8: Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:30xbd9: Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:40xbda: Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s (visual impaired) (descriptions)
Stream #0:50xbdb: Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
Stream #0:60xbdc: Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Relevant screenshots or videos
No response
Additional information
No response
@Bond-009 commented on GitHub (Aug 26, 2024):
I'm guessing this is a regression due to https://github.com/jellyfin/jellyfin/pull/11801
@avionics75 commented on GitHub (Aug 26, 2024):
I forgot to mention that the stream gets transcoded because Jellyfin server thinks the audio codec is not supported, while it was before.
I updated the issue accordingly :)
@gnattu commented on GitHub (Aug 26, 2024):
AC4 is not supported in 10.9
@felix920506 commented on GitHub (Aug 26, 2024):
This is an intentional change for compatibility.