• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting FFmpeg Crash - Exit Code 139 | Intel N100 VAAPI Passthrough | Jellyfin Container

     
    • 0 Vote(s) - 0 Average

    FFmpeg Crash - Exit Code 139 | Intel N100 VAAPI Passthrough | Jellyfin Container

    FFmpeg crashes with exit code 139 when transcoding HDR video using VAAPI/QSV in Docker container on Intel N100
    filixa8041
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    #1
    2025-04-15, 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:
    Code:
    [ERR] FFmpeg exited with code 139 ... Transcode Reason: ContainerNotSupported, SecondaryAudioNotSupported, VideoRangeTypeNotSupported
    File info:
    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
    [/list]

    VAAPI Diagnostics (inside container):
    Code:
    vainfo
    Outputs:
    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
    Also tested:
    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 -
    ^ This runs fine manually inside the container.

    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" ...
    This command fails and results in FFmpeg exit 139.

    Things I've Tried:
    • Confirmed GPU passthrough (/dev/dri/renderD12Nerd-face
    • Manual ffmpeg VAAPI decode test works
    • vainfo works despite the XDG_RUNTIME_DIR warning
    • Tried isolating filter chain in test ffmpeg calls (no crash)


    Attached Files Thumbnail(s)
       

    .txt   log.txt (Size: 18.98 KB / Downloads: 29)
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    FFmpeg Crash - Exit Code 139 | Intel N100 VAAPI Passthrough | Jellyfin Container - by filixa8041 - 2025-04-15, 11:31 AM
    RE: FFmpeg Crash - Exit Code 139 | Intel N100 VAAPI Passthrough | Jellyfin Container - by TheDreadPirate - 2025-04-15, 12:29 PM
    RE: FFmpeg Crash - Exit Code 139 | Intel N100 VAAPI Passthrough | Jellyfin Container - by filixa8041 - 2025-04-18, 11:42 AM
    RE: FFmpeg Crash - Exit Code 139 | Intel N100 VAAPI Passthrough | Jellyfin Container - by TheDreadPirate - 2025-04-18, 02:54 PM
    RE: FFmpeg Crash - Exit Code 139 | Intel N100 VAAPI Passthrough | Jellyfin Container - by filixa8041 - 2025-04-19, 06:33 PM
    RE: FFmpeg Crash - Exit Code 139 | Intel N100 VAAPI Passthrough | Jellyfin Container - by TheDreadPirate - 2025-04-19, 08:03 PM
    RE: FFmpeg Crash - Exit Code 139 | Intel N100 VAAPI Passthrough | Jellyfin Container - by filixa8041 - 2025-04-20, 05:49 AM
    RE: FFmpeg Crash - Exit Code 139 | Intel N100 VAAPI Passthrough | Jellyfin Container - by TheDreadPirate - 2025-04-20, 11:09 PM
    RE: FFmpeg Crash - Exit Code 139 | Intel N100 VAAPI Passthrough | Jellyfin Container - by filixa8041 - 2025-04-21, 03:14 PM
    RE: FFmpeg Crash - Exit Code 139 | Intel N100 VAAPI Passthrough | Jellyfin Container - by TheDreadPirate - 2025-04-21, 04:26 PM
    RE: FFmpeg Crash - Exit Code 139 | Intel N100 VAAPI Passthrough | Jellyfin Container - by filixa8041 - 2025-04-21, 05:10 PM
    RE: FFmpeg Crash - Exit Code 139 | Intel N100 VAAPI Passthrough | Jellyfin Container - by filixa8041 - 2025-04-21, 08:40 PM
    RE: FFmpeg Crash - Exit Code 139 | Intel N100 VAAPI Passthrough | Jellyfin Container - by filixa8041 - 2025-04-22, 09:59 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode