• 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 Playback Transcode Error

     
    • 0 Vote(s) - 0 Average

    Playback Transcode Error

    3titter
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Oct
    Reputation: 0
    Country:United States
    #1
    2025-10-31, 02:28 PM
    I recently decided to migrate my TrueNas Scale server to a more current version of the OS (currently on Fangtooth 25.04 if that matters) which meant migrating from my TrueCharts instance of Jellyfin to the TrueNas official. The 10.10.x version of JF had been working perfectly. But since the change over to the official app (10.11.1) I have been having issues with anything that involves a transcode giving a playback error shortly after starting to play. I have an AMD 5600G CPU with Radeon graphic integration. Below is a log from a recent playback error.

    Code:
    {"Protocol":0,"Id":"9f4057416facff76cf14b6ae05ffc799","Path":"/center/movies/This Is the End (2013)/This Is the End (2013) {imdb-tt1245492} [Bluray-1080p][DTS 5.1][x264]-SPARKS.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv","Size":8212418752,"Name":"This Is the End (2013) {imdb-tt1245492} [Bluray-1080p][DTS 5.1][x264]-SPARKS","IsRemote":false,"ETag":"faebf117455d48c0c2fcdc58caa6ace2","RunTimeTicks":64013980000,"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":"X264","Hdr10PlusPresentFlag":null,"VideoRange":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"X264 - 1080p - H264 - SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":10263281,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":808,"Width":1920,"AverageFrameRate":23.975986,"RealFrameRate":23.975986,"ReferenceFrameRate":23.975986,"Profile":"High","Type":1,"AspectRatio":"2.40:1","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":"dts","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":"DTS","Hdr10PlusPresentFlag":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"DTS - English - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"5.1","BitRate":1536000,"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":"DTS","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},{"Codec":"subrip","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":"English","Hdr10PlusPresentFlag":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"English - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":0,"Width":0,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","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":"English","Hdr10PlusPresentFlag":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"English - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":0,"Width":0,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":11799281,"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:04:48.000 -f matroska -init_hw_device drm=dr:/dev/dri/renderD128 -init_hw_device vaapi=va@dr -init_hw_device vulkan=vk@dr -filter_hw_device vk -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/center/movies/This Is the End (2013)/This Is the End (2013) {imdb-tt1245492} [Bluray-1080p][DTS 5.1][x264]-SPARKS.mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_vaapi -rc_mode VBR -b:v 10000000 -maxrate 10000000 -bufsize 20000000 -profile:v:0 high -sei -a53_cc -force_key_frames:0 "expr:gte(t,n_forced*6)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12" -codec:a:0 ac3 -ac 6 -ab 640000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 48 -hls_segment_filename "/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d1%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d1.m3u8"


    ffmpeg version 7.1.2-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
    amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
    If they do, bad things may happen!
    Input #0, matroska,webm, from 'file:/center/movies/This Is the End (2013)/This Is the End (2013) {imdb-tt1245492} [Bluray-1080p][DTS 5.1][x264]-SPARKS.mkv':
      Metadata:
        encoder        : libebml v1.3.0 + libmatroska v1.4.0
        creation_time  : 2013-09-13T23:47:12.000000Z
      Duration: 01:46:41.40, start: 0.000000, bitrate: 10263 kb/s
      Chapters:
        Chapter #0:0: start 0.000000, end 350.392000
          Metadata:
            title          : 00:00:00.000
        Chapter #0:1: start 350.392000, end 732.732000
          Metadata:
            title          : 00:05:50.392
        Chapter #0:2: start 732.732000, end 1057.598000
          Metadata:
            title          : 00:12:12.732
        Chapter #0:3: start 1057.598000, end 1429.011000
          Metadata:
            title          : 00:17:37.598
        Chapter #0:4: start 1429.011000, end 1763.637000
          Metadata:
            title          : 00:23:49.011
        Chapter #0:5: start 1763.637000, end 2307.847000
          Metadata:
            title          : 00:29:23.637
        Chapter #0:6: start 2307.847000, end 2676.716000
          Metadata:
            title          : 00:38:27.847
        Chapter #0:7: start 2676.716000, end 2956.328000
          Metadata:
            title          : 00:44:36.716
        Chapter #0:8: start 2956.328000, end 3555.594000
          Metadata:
            title          : 00:49:16.328
        Chapter #0:9: start 3555.594000, end 3963.001000
          Metadata:
            title          : 00:59:15.594
        Chapter #0:10: start 3963.001000, end 4365.319000
          Metadata:
            title          : 01:06:03.001
        Chapter #0:11: start 4365.319000, end 4764.969000
          Metadata:
            title          : 01:12:45.319
        Chapter #0:12: start 4764.969000, end 5181.343000
          Metadata:
            title          : 01:19:24.969
        Chapter #0:13: start 5181.343000, end 5597.967000
          Metadata:
            title          : 01:26:21.343
        Chapter #0:14: start 5597.967000, end 5861.773000
          Metadata:
            title          : 01:33:17.967
        Chapter #0:15: start 5861.773000, end 6401.398000
          Metadata:
            title          : 01:37:41.773
      Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x808, SAR 1:1 DAR 240:101, 23.98 fps, 23.98 tbr, 1k tbn (default)
          Metadata:
            title          : X264
      Stream #0:1(eng): Audio: dts (dca) (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
          Metadata:
            title          : DTS
      Stream #0:2(eng): Subtitle: subrip (srt)
          Metadata:
            title          : English
      Stream #0:3(eng): Subtitle: subrip (srt)
          Metadata:
            title          : English
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_vaapi))
      Stream #0:1 -> #0:1 (dts (dca) -> ac3 (native))
    Press [q] to stop, [?] for help
    Output #0, hls, to '/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d1.m3u8':
      Metadata:
        encoder        : Lavf61.7.100
      Stream #0:0: Video: h264 (High), vaapi(tv, bt709, progressive), 1920x808 [SAR 1:1 DAR 240:101], q=2-31, 10000 kb/s, 23.98 fps, 90k tbn (default)
          Metadata:
            encoder        : Lavc61.19.101 h264_vaapi
      Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
          Metadata:
            encoder        : Lavc61.19.101 ac3
    frame=  95 fps=0.0 q=-0.0 size=N/A time=00:00:00.00 bitrate=N/A speed=  0x   
    [hls @ 0x7f5ed9cc5c80] Opening '/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d148.ts' for writing
    frame=  216 fps=216 q=-0.0 size=N/A time=00:00:05.04 bitrate=N/A speed=5.05x   
    [hls @ 0x7f5ed9cc5c80] Opening '/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d149.ts' for writing
    frame=  345 fps=230 q=-0.0 size=N/A time=00:00:10.42 bitrate=N/A speed=6.95x   
    [hls @ 0x7f5ed9cc5c80] Opening '/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d150.ts' for writing
    frame=  471 fps=235 q=-0.0 size=N/A time=00:00:15.68 bitrate=N/A speed=7.84x   
    [hls @ 0x7f5ed9cc5c80] Opening '/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d151.ts' for writing
    frame=  596 fps=238 q=-0.0 size=N/A time=00:00:20.89 bitrate=N/A speed=8.36x   
    [hls @ 0x7f5ed9cc5c80] Opening '/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d152.ts' for writing
    frame=  726 fps=242 q=-0.0 size=N/A time=00:00:26.31 bitrate=N/A speed=8.77x   
    frame=  848 fps=242 q=-0.0 size=N/A time=00:00:31.40 bitrate=N/A speed=8.97x   
    [hls @ 0x7f5ed9cc5c80] Opening '/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d153.ts' for writing
    frame=  969 fps=242 q=-0.0 size=N/A time=00:00:36.45 bitrate=N/A speed=9.11x   
    [hls @ 0x7f5ed9cc5c80] Opening '/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d154.ts' for writing
    frame= 1099 fps=244 q=-0.0 size=N/A time=00:00:41.87 bitrate=N/A speed= 9.3x   
    [hls @ 0x7f5ed9cc5c80] Opening '/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d155.ts' for writing
    frame= 1222 fps=244 q=-0.0 size=N/A time=00:00:47.00 bitrate=N/A speed= 9.4x   
    [hls @ 0x7f5ed9cc5c80] Opening '/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d156.ts' for writing
    frame= 1351 fps=246 q=-0.0 size=N/A time=00:00:52.38 bitrate=N/A speed=9.52x   
    [hls @ 0x7f5ed9cc5c80] Opening '/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d157.ts' for writing
    frame= 1474 fps=246 q=-0.0 size=N/A time=00:00:57.51 bitrate=N/A speed=9.58x   
    [hls @ 0x7f5ed9cc5c80] Opening '/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d158.ts' for writing
    frame= 1597 fps=246 q=-0.0 size=N/A time=00:01:02.64 bitrate=N/A speed=9.64x   

    [q] command received. Exiting.

    [hls @ 0x7f5ed9cc5c80] Opening '/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d159.ts' for writing
    [hls @ 0x7f5ed9cc5c80] Opening '/cache/transcodes/5f5cab3e86732e2d65366cd64fb676d160.ts' for writing
    [out#0/hls @ 0x7f5ed9debb00] video:88355KiB audio:5662KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
    frame= 1736 fps=246 q=-0.0 Lsize=N/A time=00:01:08.44 bitrate=N/A speed=9.71x   
    Tone
    Offline

    Junior Member

    Posts: 18
    Threads: 3
    Joined: 2024 Sep
    Reputation: 0
    Country:Germany
    #2
    2025-11-02, 09:12 PM (This post was last modified: 2025-11-02, 09:46 PM by Tone. Edited 1 time in total.)
    Looks like I‘m having the same issue.
    I only noticed it on fire stick 2nd gen.
    Other fire stick and iPhone are working.
    Which client are you using?

    Edit: maybe this is related:
    https://github.com/jellyfin/jellyfin/issues/15292
    birdytsc
    Offline

    Junior Member

    Posts: 3
    Threads: 0
    Joined: 2025 Nov
    Reputation: 0
    #3
    Yesterday, 01:26 AM (This post was last modified: Yesterday, 05:49 AM by birdytsc. Edited 1 time in total.)
    also having this issue after updating to 10.11.1 on truenas 24.10.2.2.

    seems to be related to the transcode path and videos playing as "Direct Streaming".

    previously used a 32GB tmpfs in the deploy config with this set it has playback issues where the video stops after around a minute or so.

    if i change it to allow it to select its own path it seems to resolve the issue.

    I ran both 10.10.7 and 10.11.1 side by side with the same source video to test and the playback issue only occurs on 10.11.1.

    edit:

    cloned my dataset and ran a custom docker compose in dockge with tmpfs and the playback issue is gone (10.11.1), it must be an issue with how truenas is mounting the transcode directory.
    Tone
    Offline

    Junior Member

    Posts: 18
    Threads: 3
    Joined: 2024 Sep
    Reputation: 0
    Country:Germany
    #4
    Yesterday, 08:21 PM (This post was last modified: Yesterday, 09:17 PM by Tone. Edited 1 time in total.)
    I changed the transcode-path now and it didn't change anything for me.

    But I have the problem only on this one fire stick

    I also noticed this also happens on directplay, without any transcoding involved.
    birdytsc
    Offline

    Junior Member

    Posts: 3
    Threads: 0
    Joined: 2025 Nov
    Reputation: 0
    #5
    Today, 05:27 AM
    (Yesterday, 08:21 PM)Tone Wrote: I changed the transcode-path now and it didn't change anything for me.

    But I have the problem only on this one fire stick

    I also noticed this also happens on directplay, without any transcoding involved.

    its anything transcoding related, including just remuxing the container i.e mkv to mp4.

    i had to make a separate dataset specifically for the transcode path (outside of the cache/config directory), not sure if its related but there was a post about them not allowing overlapping system directories anymore.

    i bound a 32GB tmpfs to /transcode, and made sure to set /transcode in the transcoding settings in the admin panel(it wont use this by default).
    Tone
    Offline

    Junior Member

    Posts: 18
    Threads: 3
    Joined: 2024 Sep
    Reputation: 0
    Country:Germany
    #6
    Today, 07:55 AM
    Even no remux. There isn‘t even an ffmpeg-logfile (but stream starts)

    I also changed the transcode-path outside the cache.

    I guess I have a other problem then.
    birdytsc
    Offline

    Junior Member

    Posts: 3
    Threads: 0
    Joined: 2025 Nov
    Reputation: 0
    #7
    2 hours ago
    (Today, 07:55 AM)Tone Wrote: Even no remux. There isn‘t even an ffmpeg-logfile (but stream starts)

    I also changed the transcode-path outside the cache.

    I guess I have a other problem then.

    One more thing you can try is changing the clients player, i just noticed the Android App is now defaulting to the web player instead of the exos player, some videos were transcoding when they should have been direct playing.
    « 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