• 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 roku client and transcoding ends abruptly

     
    • 0 Vote(s) - 0 Average

    roku client and transcoding ends abruptly

    transcode ends with ~5 minutes left of show "exit code 190"
    Jbrown
    Offline

    Junior Member

    Posts: 5
    Threads: 3
    Joined: 2025 Feb
    Reputation: 0
    Country:United States
    #1
    2025-04-08, 04:39 AM
    when watching tvshows havent tested a movie yet. every show that requires transcoding ends with roughly 5 minutes left and it will not transcode those last 5 minutes.

    server is 10.10.7 Docker
    roku app is current version (Roku Soundbar)
    using intel quicksync
    forced transcode on other players works without issue.

    i have tried turning "throttle" on and off, replacing shows and metadata, restarting server, clearing roku cache data.

    Code:
    [2025-04-07 22:55:52.066 -05:00] [ERR] [115] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 190

    Code:
        Chapter #0:7: start 2481.604000, end 2738.080000
          Metadata:
            title          : 00:41:21.604
      Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
      Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_qsv))
      Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [vost#0:0/hevc_qsv @ 0x55d9a28bac00] No filtered frames for output stream, trying to initialize anyway.
    [vost#0:0/hevc_qsv @ 0x55d9a28bac00] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
    [vf#0:0 @ 0x55d9a284a9c0] Task finished with error code: -558323010 (Internal bug, should not have happened)
    [vf#0:0 @ 0x55d9a284a9c0] Terminating thread with return code -558323010 (Internal bug, should not have happened)
    [vost#0:0/hevc_qsv @ 0x55d9a28bac00] Could not open encoder before EOF
    [vost#0:0/hevc_qsv @ 0x55d9a28bac00] Task finished with error code: -22 (Invalid argument)
    [vost#0:0/hevc_qsv @ 0x55d9a28bac00] Terminating thread with return code -22 (Invalid argument)
    [out#0/hls @ 0x55d9a28451c0] 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!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-04-08, 01:43 PM
    Can you share the full ffmpeg log as well as your hardware specs?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Jbrown
    Offline

    Junior Member

    Posts: 5
    Threads: 3
    Joined: 2025 Feb
    Reputation: 0
    Country:United States
    #3
    2025-04-09, 02:48 PM (This post was last modified: 2025-04-09, 02:56 PM by Jbrown. Edited 1 time in total.)
    intel 12700K
    64GB of ram
    UnRaid 7.0.1
    jellyfin running on nvme storage
    media stored on raidz1 WD Red 24TB drives

    Code:
    {"Protocol":0,"Id":"a8144c7f975d8b81ce88f7152f776106","Path":"/data/tvshows/The Last Ship/Season 01/The Last Ship (2014) - S01E08 - Two Sailors Walk Into a Bar [Bluray-1080p][AC3 5.1][x264]-rovers.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv","Size":3515467110,"Name":"The Last Ship (2014) - S01E08 - Two Sailors Walk Into a Bar [Bluray-1080p][AC3 5.1][x264]-rovers","IsRemote":false,"ETag":"1ed3403044e13e67a8e62a8d227a5b0b","RunTimeTicks":27380800000,"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":null,"Language":"eng","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/1000","CodecTimeBase":null,"Title":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":10271334,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":1080,"Width":1920,"AverageFrameRate":23.975986,"RealFrameRate":23.975986,"ReferenceFrameRate":23.975986,"Profile":"High","Type":1,"AspectRatio":"16:9","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"ac3","CodecTag":null,"Language":"eng","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/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"English - Dolby Digital - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"5.1","BitRate":640000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":null,"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":10911334,"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 -ss 00:42:06.000 -f matroska -init_hw_device vaapi=va:/dev/dri/renderD128,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/data/tvshows/The Last Ship/Season 01/The Last Ship (2014) - S01E08 - Two Sailors Walk Into a Bar [Bluray-1080p][AC3 5.1][x264]-rovers.mkv" -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 -b:v 10000000 -maxrate 10000000 -bufsize 20000000 -profile:v:0 main -level 50 -g:v:0 144 -keyint_min:v:0 144 -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 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 421 -hls_segment_filename "/cache/252c8fabd6fc98ac9f1667ad07d43527%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/cache/252c8fabd6fc98ac9f1667ad07d43527.m3u8"


    ffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 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=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.  8.100 / 59.  8.100
      libavcodec    61.  3.100 / 61.  3.100
      libavformat    61.  1.100 / 61.  1.100
      libavdevice    61.  1.100 / 61.  1.100
      libavfilter    10.  1.100 / 10.  1.100
      libswscale      8.  1.100 /  8.  1.100
      libswresample  5.  1.100 /  5.  1.100
      libpostproc    58.  1.100 / 58.  1.100
    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, matroska,webm, from 'file:/data/tvshows/The Last Ship/Season 01/The Last Ship (2014) - S01E08 - Two Sailors Walk Into a Bar [Bluray-1080p][AC3 5.1][x264]-rovers.mkv':
      Metadata:
        encoder        : libebml v1.3.0 + libmatroska v1.4.0
        creation_time  : 2015-05-31T04:53:48.000000Z
      Duration: 00:45:38.08, start: 0.000000, bitrate: 10271 kb/s
      Chapters:
        Chapter #0:0: start 0.000000, end 81.039000
          Metadata:
            title          : 00:00:00.000
        Chapter #0:1: start 81.039000, end 497.580000
          Metadata:
            title          : 00:01:21.039
        Chapter #0:2: start 497.580000, end 844.719000
          Metadata:
            title          : 00:08:17.580
        Chapter #0:3: start 844.719000, end 1268.642000
          Metadata:
            title          : 00:14:04.719
        Chapter #0:4: start 1268.642000, end 1617.658000
          Metadata:
            title          : 00:21:08.642
        Chapter #0:5: start 1617.658000, end 1986.401000
          Metadata:
            title          : 00:26:57.658
        Chapter #0:6: start 1986.401000, end 2481.604000
          Metadata:
            title          : 00:33:06.401
        Chapter #0:7: start 2481.604000, end 2738.080000
          Metadata:
            title          : 00:41:21.604
      Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
      Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_qsv))
      Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [vost#0:0/hevc_qsv @ 0x5632bc609bc0] No filtered frames for output stream, trying to initialize anyway.
    [vost#0:0/hevc_qsv @ 0x5632bc609bc0] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
    [vf#0:0 @ 0x5632bc605d40] Task finished with error code: -558323010 (Internal bug, should not have happened)
    [vf#0:0 @ 0x5632bc605d40] Terminating thread with return code -558323010 (Internal bug, should not have happened)
    [vost#0:0/hevc_qsv @ 0x5632bc609bc0] Could not open encoder before EOF
    [vost#0:0/hevc_qsv @ 0x5632bc609bc0] Task finished with error code: -22 (Invalid argument)
    [vost#0:0/hevc_qsv @ 0x5632bc609bc0] Terminating thread with return code -22 (Invalid argument)
    [out#0/hls @ 0x5632bc608980] 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!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-04-09, 03:06 PM
    Looks like you put /dev/dri/renderD128 in the QSV device field.

    Go to Dashboard > Playback > Transcoding, delete whatever you have in the QSV device field.

    That field uses an index number (0, 1, 2, etc.) to specify an Intel device. But it is only necessary to populate that field if you have more than one Intel device in your system (Intel CPU + Arc GPU).

    You would only use /dev/dri/renderD128 for the device passthrough in Docker when using QSV.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Jbrown
    Offline

    Junior Member

    Posts: 5
    Threads: 3
    Joined: 2025 Feb
    Reputation: 0
    Country:United States
    #5
    2025-04-13, 06:34 AM
    seems to be working now, Thank's. weird how it would transcode the first 40 minutes but not the last 5.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 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