• 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 SOLVED: Hardware Transcoding crashes with specific files

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Hardware Transcoding crashes with specific files

    crimp2333
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2025 Dec
    Reputation: 0
    #1
    2025-12-16, 08:23 PM (This post was last modified: 2025-12-16, 08:25 PM by crimp2333. Edited 1 time in total.)
    Hi guys,

    I am using debian trixie, installed Jellyfin.Server 10.11.5.0 via the script from the jellyfin homepage. My GPU is a Intel Arc 310 but I had the the same problem with the intel i5-8500 internal gpu. 
    I have some homevideos in HD which are crashing when trying to stream them over LAN to my laptop running Firefox 146.0. I can stream 4k homevideos and other Movies (1080 HDR 10bit etc.) no problem with hardware acceleration but the specific home videos keep crashing. 
    When I disable HW acceleration it plays the homemovie but the cpu gets almost 100% load. 

    6.12.57+deb13-amd64

    I hope someone can push me in the right direction.

    regards
    crimp2333


    Code:
    the homemovie:
    Titel1080p H264 SDR
    CodecH264
    Codec-Tagavc1
    AVCYes
    ProfilHigh 4:4:4 Predictive
    Level40
    Auflösung1920x1080
    Seitenverhältnis16:9
    AnamorphNo
    ZeilensprungverfahrenNo
    Bildrate25
    Bitrate177853 kbps
    Bittiefe8 bit
    VideobereichSDR
    Video-DynamikumfangSDR
    Farbraumbt709
    Farbübertragungbt709
    Primärfarbenbt709
    Pixelformatyuvj420p
    Referenz-Frames1
    NAL4

    Code:
    [code]parts from jelly log
      at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
      at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
      at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
      at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
      at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
      at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
      at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
      at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
      at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
      at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
      at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
      at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
      at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
      at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
      at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
      at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
    [2025-12-16 21:18:04.116 +01:00] [INF] Deleting partial stream file(s) "/var/cache/jellyfin/transcodes/974bfaedea79cafedf23d5e54829894f.m3u8"
    [2025-12-16 21:18:05.620 +01:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.11.5" playing "2024-spaziergang-weihnachten". Stopped at "0" ms

    Code:
    FFmpeg.Transcode.log
    {"Protocol":0,"Id":"f764fa17b3099250c9c6bb15057a75fe","Path":"/media/daten/homevideos/2024-spaziergang-weihnachten.mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mov,mp4,m4a,3gp,3g2,mj2","Size":5327325967,"Name":"2024-spaziergang-weihnachten","IsRemote":false,"ETag":"e4f92ee805f47b4cb0a360d8e233847e","RunTimeTicks":2392960000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"UseMostCompatibleTranscodingProfile":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"h264","CodecTag":"avc1","Language":"und","ColorRange":null,"ColorSpace":"bt709","ColorTransfer":"bt709","ColorPrimaries":"bt709","DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/12800","CodecTimeBase":null,"Title":null,"Hdr10PlusPresentFlag":null,"VideoRange":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"1080p H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":177853689,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":1080,"Width":1920,"AverageFrameRate":25,"RealFrameRate":25,"ReferenceFrameRate":25,"Profile":"High 4:4:4 Predictive","Type":1,"AspectRatio":"16:9","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuvj420p","Level":40,"IsAnamorphic":false},{"Codec":"aac","CodecTag":"mp4a","Language":"und","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/48000","CodecTimeBase":null,"Title":null,"Hdr10PlusPresentFlag":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Standard","LocalizedForced":null,"LocalizedExternal":"Extern","LocalizedHearingImpaired":null,"DisplayTitle":"AAC - Stereo - Standard","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"stereo","BitRate":251955,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":178099958,"FallbackMaxStreamingBitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null,"HasSegments":false}

    /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f mov,mp4,m4a,3gp,3g2,mj2 -init_hw_device vaapi=va:/dev/dri/card1,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/media/daten/homevideos/2024-spaziergang-weihnachten.mp4" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -preset veryfast -mbbrc 1 -b:v 139748045 -maxrate 139748046 -rc_init_occupancy 279496090 -bufsize 558992180 -profile:v:0 main -level 50 -g:v:0 75 -keyint_min:v:0 75 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -ac 2 -ab 251955 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "974bfaedea79cafedf23d5e54829894f-1.mp4" -start_number 0 -hls_segment_filename "/var/cache/jellyfin/transcodes/974bfaedea79cafedf23d5e54829894f%d.mp4" -hls_playlist_type vod -hls_list_size 0 -hls_segment_options movflags=+frag_discont -y "/var/cache/jellyfin/transcodes/974bfaedea79cafedf23d5e54829894f.m3u8"


    ffmpeg version 7.1.3-Jellyfin Copyright (c) 2000-2025 the FFmpeg developers
      built with gcc 14 (Debian 14.2.0-19)
      configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      59. 39.100 / 59. 39.100
      libavcodec    61. 19.101 / 61. 19.101
      libavformat    61.  7.100 / 61.  7.100
      libavdevice    61.  3.100 / 61.  3.100
      libavfilter    10.  4.100 / 10.  4.100
      libswscale      8.  3.100 /  8.  3.100
      libswresample  5.  3.100 /  5.  3.100
      libpostproc    58.  3.100 / 58.  3.100
    [AVHWDeviceContext @ 0x7f9512680bc0] libva: vaGetDriverNames() failed with operation failed
    libva info: VA-API version 1.22.0
    libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    libva info: Found init function __vaDriverInit_1_22
    libva info: va_openDriver() returns 0
    libva info: VA-API version 1.22.0
    libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    libva info: Found init function __vaDriverInit_1_22
    libva info: va_openDriver() returns 0
    libva info: VA-API version 1.22.0
    libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    libva info: Found init function __vaDriverInit_1_22
    libva info: va_openDriver() returns 0
    libva info: VA-API version 1.22.0
    libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    libva info: Found init function __vaDriverInit_1_22
    libva info: va_openDriver() returns 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:/media/daten/homevideos/2024-spaziergang-weihnachten.mp4':
      Metadata:
        major_brand    : isom
        minor_version  : 512
        compatible_brands: isomiso2avc1mp41
        encoder        : Lavf61.7.100
      Duration: 00:03:59.30, start: 0.000000, bitrate: 178099 kb/s
      Stream #0:0[0x1](und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 177853 kb/s, 25 fps, 25 tbr, 12800 tbn (default)
          Metadata:
            handler_name    : VideoHandler
            vendor_id      : [0][0][0][0]
      Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 251 kb/s (default)
          Metadata:
            handler_name    : SoundHandler
            vendor_id      : [0][0][0][0]
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_qsv))
      Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
    Press [q] to stop, [?] for help
    [h264 @ 0x7f95126f7880] Failed setup for format vaapi: hwaccel initialisation returned error.
    Impossible to convert between the formats supported by the filter 'Parsed_setparams_0' and the filter 'auto_scale_0'
    [vf#0:0 @ 0x7f95126ebfc0] Error reinitializing filters!
    [vf#0:0 @ 0x7f95126ebfc0] Task finished with error code: -38 (Function not implemented)
    [vf#0:0 @ 0x7f95126ebfc0] Terminating thread with return code -38 (Function not implemented)
    [vost#0:0/hevc_qsv @ 0x7f950c246e00] Could not open encoder before EOF
    [vost#0:0/hevc_qsv @ 0x7f950c246e00] Task finished with error code: -22 (Invalid argument)
    [vost#0:0/hevc_qsv @ 0x7f950c246e00] Terminating thread with return code -22 (Invalid argument)
    [out#0/hls @ 0x7f95126ebf00] Nothing was written into output file, because at least one of its streams received no packets.
    frame=    0 fps=0.0 q=0.0 Lsize=      0KiB time=N/A bitrate=N/A speed=N/A   
    Conversion failed!
    Go to solution
    ArneR
    Offline

    Junior Member

    Posts: 38
    Threads: 1
    Joined: 2025 Oct
    Reputation: 0
    Country:Norway
    #2
    2025-12-16, 09:01 PM
    You're transcoding from h264 to hevc for some reason, try disabling "Allow encoding in HEVC format", does this change anything?
    crimp2333
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2025 Dec
    Reputation: 0
    #3
    2025-12-16, 09:12 PM
    thank you for posting, but it is still crashing
    Code:
    {"Protocol":0,"Id":"f764fa17b3099250c9c6bb15057a75fe","Path":"/media/daten/homevideos/2024-spaziergang-weihnachten.mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mov,mp4,m4a,3gp,3g2,mj2","Size":5327325967,"Name":"2024-spaziergang-weihnachten","IsRemote":false,"ETag":"e4f92ee805f47b4cb0a360d8e233847e","RunTimeTicks":2392960000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"UseMostCompatibleTranscodingProfile":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"h264","CodecTag":"avc1","Language":"und","ColorRange":null,"ColorSpace":"bt709","ColorTransfer":"bt709","ColorPrimaries":"bt709","DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/12800","CodecTimeBase":null,"Title":null,"Hdr10PlusPresentFlag":null,"VideoRange":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"1080p H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":177853689,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":1080,"Width":1920,"AverageFrameRate":25,"RealFrameRate":25,"ReferenceFrameRate":25,"Profile":"High 4:4:4 Predictive","Type":1,"AspectRatio":"16:9","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuvj420p","Level":40,"IsAnamorphic":false},{"Codec":"aac","CodecTag":"mp4a","Language":"und","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/48000","CodecTimeBase":null,"Title":null,"Hdr10PlusPresentFlag":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Standard","LocalizedForced":null,"LocalizedExternal":"Extern","LocalizedHearingImpaired":null,"DisplayTitle":"AAC - Stereo - Standard","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"stereo","BitRate":251955,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":178099958,"FallbackMaxStreamingBitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null,"HasSegments":false}

    /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f mov,mp4,m4a,3gp,3g2,mj2 -init_hw_device vaapi=va:/dev/dri/card1,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/media/daten/homevideos/2024-spaziergang-weihnachten.mp4" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -preset veryfast -mbbrc 1 -b:v 139748045 -maxrate 139748046 -rc_init_occupancy 279496090 -bufsize 558992180 -profile:v:0 high -level 40 -g:v:0 75 -keyint_min:v:0 75 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -ac 2 -ab 251955 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "94b45dd1fdc24e973f79b0db2c2a568c-1.mp4" -start_number 0 -hls_segment_filename "/var/cache/jellyfin/transcodes/94b45dd1fdc24e973f79b0db2c2a568c%d.mp4" -hls_playlist_type vod -hls_list_size 0 -hls_segment_options movflags=+frag_discont -y "/var/cache/jellyfin/transcodes/94b45dd1fdc24e973f79b0db2c2a568c.m3u8"


    ffmpeg version 7.1.3-Jellyfin Copyright (c) 2000-2025 the FFmpeg developers
      built with gcc 14 (Debian 14.2.0-19)
      configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      59. 39.100 / 59. 39.100
      libavcodec     61. 19.101 / 61. 19.101
      libavformat    61.  7.100 / 61.  7.100
      libavdevice    61.  3.100 / 61.  3.100
      libavfilter    10.  4.100 / 10.  4.100
      libswscale      8.  3.100 /  8.  3.100
      libswresample   5.  3.100 /  5.  3.100
      libpostproc    58.  3.100 / 58.  3.100
    [AVHWDeviceContext @ 0x7f6ac4080bc0] libva: vaGetDriverNames() failed with operation failed
    libva info: VA-API version 1.22.0
    libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    libva info: Found init function __vaDriverInit_1_22
    libva info: va_openDriver() returns 0
    libva info: VA-API version 1.22.0
    libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    libva info: Found init function __vaDriverInit_1_22
    libva info: va_openDriver() returns 0
    libva info: VA-API version 1.22.0
    libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    libva info: Found init function __vaDriverInit_1_22
    libva info: va_openDriver() returns 0
    libva info: VA-API version 1.22.0
    libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    libva info: Found init function __vaDriverInit_1_22
    libva info: va_openDriver() returns 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:/media/daten/homevideos/2024-spaziergang-weihnachten.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        encoder         : Lavf61.7.100
      Duration: 00:03:59.30, start: 0.000000, bitrate: 178099 kb/s
      Stream #0:0[0x1](und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 177853 kb/s, 25 fps, 25 tbr, 12800 tbn (default)
          Metadata:
            handler_name    : VideoHandler
            vendor_id       : [0][0][0][0]
      Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 251 kb/s (default)
          Metadata:
            handler_name    : SoundHandler
            vendor_id       : [0][0][0][0]
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
      Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
    Press [q] to stop, [?] for help
    [h264 @ 0x7f6ac40f7880] Failed setup for format vaapi: hwaccel initialisation returned error.
    Impossible to convert between the formats supported by the filter 'Parsed_setparams_0' and the filter 'auto_scale_0'
    [vf#0:0 @ 0x7f6ac40ebfc0] Error reinitializing filters!
    [vf#0:0 @ 0x7f6ac40ebfc0] Task finished with error code: -38 (Function not implemented)
    [vf#0:0 @ 0x7f6ac40ebfc0] Terminating thread with return code -38 (Function not implemented)
    [vost#0:0/h264_qsv @ 0x7f6abdc46e00] Could not open encoder before EOF
    [vost#0:0/h264_qsv @ 0x7f6abdc46e00] Task finished with error code: -22 (Invalid argument)
    [vost#0:0/h264_qsv @ 0x7f6abdc46e00] Terminating thread with return code -22 (Invalid argument)
    [out#0/hls @ 0x7f6ac40ebf00] Nothing was written into output file, because at least one of its streams received no packets.
    frame=    0 fps=0.0 q=0.0 Lsize=       0KiB time=N/A bitrate=N/A speed=N/A    
    Conversion failed!
    nyanmisaka
    Offline

    Team Member

    Posts: 311
    Threads: 0
    Joined: 2023 Jun
    Reputation: 18
    #4
    Yesterday, 05:47 AM
    Quote: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuvj420p


    The video is incorrectly encoded. It has contradictory video profile and pixel format settings.

    High 4:4:4 Predictive must be encoded with yuv[j]444p*. The chroma subsampling should match.
    crimp2333
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2025 Dec
    Reputation: 0
    #5
    Yesterday, 06:44 AM
    is it possible to change those settings (video profile and pixel format settings) only for jellyfin without rerender the movies? Or is there a setting in handbrake which keeps the quality?
    the Videos play just fine outside of jellyfin.
    nyanmisaka
    Offline

    Team Member

    Posts: 311
    Threads: 0
    Joined: 2023 Jun
    Reputation: 18
    #6
    Yesterday, 10:01 AM (This post was last modified: Yesterday, 11:06 AM by nyanmisaka. Edited 1 time in total.)
    After further investigation, I discovered that the combination of Hi444PP profile and 4:2:0 pixel format is valid, but extremely rare. I will fix this issue on the server.
    crimp2333
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2025 Dec
    Reputation: 0
    #7
    Yesterday, 11:47 AM
    thanx to you all and to nyanmisaka! Will it be changed in the next jellyfin update?
    So I mark it as closed?
    BTW: I used kdenlive and a default 1080p profile to render the videos.
    Have a great day
    nyanmisaka
    Offline

    Team Member

    Posts: 311
    Threads: 0
    Joined: 2023 Jun
    Reputation: 18
    #8
    Yesterday, 12:30 PM (This post was last modified: Yesterday, 12:38 PM by nyanmisaka. Edited 1 time in total.)
    https://github.com/jellyfin/jellyfin/pull/15819 should fix the issue.

    I haven't used Kdenlive, but I believe it should allow you to set video profiles during encoding, such as for H264 4:2:0 8-bit, which is typically used with Baseline/Main/High profiles.

    While the "High 4:4:4 Predictive" is compatible with 4:2:0 8-bit, it's overkill, as currently no graphics cards support hardware decoding of videos with this profile. In this case, the Arc A310 wouldn't be of any help either.

    See also https://en.wikipedia.org/wiki/Advanced_V...r_profiles
    crimp2333
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2025 Dec
    Reputation: 0
    #9
    Yesterday, 01:04 PM
    thank you for your informations.
    (I just wanted to point out that this video codec problem can arise when using vanilla Kdenlive. I will look in the kdenlive settings for my next video project.)
    crimp2333
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2025 Dec
    Reputation: 0
    #10
    Yesterday, 01:14 PM
    sorry last question: I use debian trixie, at what time I can update jellyfin stable to your new fixed Version?
    Have a great day
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    • 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