Yesterday, 11:31 AM
Hey folks,
I'm running into a playback issue on my Jellyfin server and could use a hand troubleshooting it.
Issue Summary:
Every time I try to play a video via the web UI, I get this:
Playback Error: Playback failed due to a fatal player error.
Looking at the logs, it seems FFmpeg is crashing with exit code 139.
----------------------
System Info:
[*]CPU: Intel N100 (iGPU passthrough)
[*]Running in K8 container
[*]FFmpeg version: 7.0.2-Jellyfin
[*]Hardware Accel: VAAPI + QSV
Symptoms & Logs:
Playback fails and server logs show:
File info: [/list]
VAAPI Diagnostics (inside container):
Outputs: Also tested: ^ This runs fine manually inside the container.
FFmpeg Command from Jellyfin logs:
This command fails and results in FFmpeg exit 139.
Things I've Tried:
I'm running into a playback issue on my Jellyfin server and could use a hand troubleshooting it.
Issue Summary:
Every time I try to play a video via the web UI, I get this:
Playback Error: Playback failed due to a fatal player error.
Looking at the logs, it seems FFmpeg is crashing with exit code 139.
----------------------
System Info:
[*]CPU: Intel N100 (iGPU passthrough)
[*]Running in K8 container
[*]FFmpeg version: 7.0.2-Jellyfin
[*]Hardware Accel: VAAPI + QSV
Symptoms & Logs:
Playback fails and server logs show:
Code:
[ERR] FFmpeg exited with code 139 ... Transcode Reason: ContainerNotSupported, SecondaryAudioNotSupported, VideoRangeTypeNotSupported
Code:
Example Movie (2023) 4K HDR Bluray
[list]
[*]Video: HEVC Main 10, Dolby Vision P8.1 (HDR10)
[*]Audio: Dolby TrueHD + Atmos (7.1), AC3, AAC
VAAPI Diagnostics (inside container):
Code:
vainfo
Code:
error: XDG_RUNTIME_DIR is invalid or not set in the environment. error: can't connect to X server! libva info: VA-API version 1.20.0 Driver: Intel iHD - 24.1.0 Supported profile and entrypoints: VAProfileNone : VAEntrypointVideoProc VAProfileNone : VAEntrypointStats
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg
-init_hw_device vaapi=va:/dev/dri/renderD128
-hwaccel vaapi -hwaccel_device va -hwaccel_output_format vaapi
-i /data/movies/Example\ Movie\ 202320232023.mkv -f null -
FFmpeg Command from Jellyfin logs:
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G ... -init_hw_device vaapi=va:,vendor_id=0x8086,driver=iHD
-init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va
-filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi ... -vf "...,tonemap_vaapi=...,hwmap=derive_device=qsv,format=qsv" ...
Things I've Tried:
- Confirmed GPU passthrough (/dev/dri/renderD12
- Manual ffmpeg VAAPI decode test works
- vainfo works despite the XDG_RUNTIME_DIR warning
- Tried isolating filter chain in test ffmpeg calls (no crash)