• 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 Permanently enable Transcode

     
    • 0 Vote(s) - 0 Average

    Permanently enable Transcode

    Trying to stop the "Retry with transcode?" error
    schtocker
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2025 May
    Reputation: 0
    Country:United Kingdom
    #1
    Yesterday, 01:35 PM
    Jellyfin 10.10.7 running in Docker Compose on a Synology DS1618+

    I have Live TV setup on my Jellyfin instance through an M3U file. Today, I tried watching something on my M4 Macbook Pro using the Jellyfin Mac client V1.12. Every time I try to play a live TV channel, I get an error saying:

    "Playback failed with error "loading failed". Retry with transcode? (Note this may hang the player.)"

    I click Retry and then it works, presumably because transcode has been enabled, although perhaps for another reason. I can't see any specific errors in the logs. I don't have this problem with the Jellyfin app on my NVIDIA Shield, that plays first time.

    How can I permanently enable transcode? I thought transcoding was something that happens on the server side, so why is this happening with some clients and not others?

    Here is the log from when I first hit play up until I get the error:
    Code:
    [13:30:25] [INF] [37] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for benjadmin. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [13:30:25] [INF] [37] Jellyfin.LiveTv.LiveTvMediaSourceProvider: Opening channel stream from Emby, external channel Id: m3u_da3da0d122a074733eb551797af841a13ae2ba35433df4f4aa458bb5cec72f60
    [13:30:25] [INF] [37] Jellyfin.LiveTv.DefaultLiveTvService: Streaming Channel m3u_da3da0d122a074733eb551797af841a13ae2ba35433df4f4aa458bb5cec72f60
    [13:30:25] [INF] [37] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Opening SharedHttpStream Live stream from http://line.cheaply-8k.xyz/live/h89s1wCjNd/mX2ZqKrX6V/83450.ts
    [13:30:27] [INF] [37] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Beginning SharedHttpStream stream to /cache/transcodes/75059619b3f34003b5e6d7204b367dc8.ts
    [13:30:27] [INF] [19] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Live stream opened after 2014.399ms
    [13:30:27] [INF] [19] Jellyfin.LiveTv.DefaultLiveTvService: Returning mediasource streamId 3ae2ba35433df4f4aa458bb5cec72f60, mediaSource.Id 3ae2ba35433df4f4aa458bb5cec72f60, mediaSource.LiveStreamId null
    [13:30:27] [INF] [37] Emby.Server.Implementations.Library.MediaSourceManager: Live tv media info probe took 0.000349 seconds
    [13:30:27] [INF] [37] Emby.Server.Implementations.Library.MediaSourceManager: Live stream opened: {"Protocol": "Http", "Id": "3ae2ba35433df4f4aa458bb5cec72f60", "Path": "http://192.168.97.2:8096/LiveTv/LiveStreamFiles/75059619b3f34003b5e6d7204b367dc8/stream.ts", "EncoderPath": null, "EncoderProtocol": null, "Type": "Default", "Container": "ts", "Size": null, "Name": null, "IsRemote": true, "ETag": null, "RunTimeTicks": null, "ReadAtNativeFramerate": false, "IgnoreDts": true, "IgnoreIndex": false, "GenPtsInput": false, "SupportsTranscoding": true, "SupportsDirectStream": true, "SupportsDirectPlay": true, "IsInfiniteStream": true, "UseMostCompatibleTranscodingProfile": false, "RequiresOpening": true, "OpenToken": null, "RequiresClosing": true, "LiveStreamId": "e2329f4997b378e64ccf8fa396deb76e_af999c25a00715699361240d4c6c7a53_3ae2ba35433df4f4aa458bb5cec72f60", "BufferMs": null, "RequiresLooping": false, "SupportsProbing": true, "VideoType": null, "IsoType": null, "Video3DFormat": null, "MediaStreams": [{"Codec": "h264", "CodecTag": null, "Language": null, "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/90000", "CodecTimeBase": null, "Title": null, "VideoRange": "SDR", "VideoRangeType": "SDR", "VideoDoViTitle": null, "AudioSpatialFormat": "None", "LocalizedUndefined": null, "LocalizedDefault": null, "LocalizedForced": null, "LocalizedExternal": null, "LocalizedHearingImpaired": null, "DisplayTitle": "720p H264 SDR", "NalLengthSize": "0", "IsInterlaced": false, "IsAVC": null, "ChannelLayout": null, "BitRate": 8000000, "BitDepth": 8, "RefFrames": 1, "PacketLength": null, "Channels": null, "SampleRate": null, "IsDefault": false, "IsForced": false, "IsHearingImpaired": false, "Height": 720, "Width": 1280, "AverageFrameRate": 50, "RealFrameRate": 50, "ReferenceFrameRate": 50, "Profile": "High", "Type": "Video", "AspectRatio": "16:9", "Index": -1, "Score": null, "IsExternal": false, "DeliveryMethod": null, "DeliveryUrl": null, "IsExternalUrl": null, "IsTextSubtitleStream": false, "IsPgsSubtitleStream": false, "IsExtractableSubtitleStream": false, "SupportsExternalStream": false, "Path": null, "PixelFormat": "yuv420p", "Level": 32, "IsAnamorphic": false, "$type": "MediaStream"}, {"Codec": "aac", "CodecTag": null, "Language": null, "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/90000", "CodecTimeBase": null, "Title": null, "VideoRange": "Unknown", "VideoRangeType": "Unknown", "VideoDoViTitle": null, "AudioSpatialFormat": "None", "LocalizedUndefined": null, "LocalizedDefault": "Default", "LocalizedForced": null, "LocalizedExternal": "External", "LocalizedHearingImpaired": null, "DisplayTitle": "AAC - Stereo", "NalLengthSize": null, "IsInterlaced": false, "IsAVC": false, "ChannelLayout": "stereo", "BitRate": 127748, "BitDepth": null, "RefFrames": null, "PacketLength": null, "Channels": 2, "SampleRate": 48000, "IsDefault": false, "IsForced": false, "IsHearingImpaired": false, "Height": null, "Width": null, "AverageFrameRate": null, "RealFrameRate": null, "ReferenceFrameRate": null, "Profile": "LC", "Type": "Audio", "AspectRatio": null, "Index": -1, "Score": null, "IsExternal": false, "DeliveryMethod": null, "DeliveryUrl": null, "IsExternalUrl": null, "IsTextSubtitleStream": false, "IsPgsSubtitleStream": false, "IsExtractableSubtitleStream": false, "SupportsExternalStream": false, "Path": null, "PixelFormat": null, "Level": 0, "IsAnamorphic": null, "$type": "MediaStream"}], "MediaAttachments": [], "Formats": [], "Bitrate": 8127748, "FallbackMaxStreamingBitrate": 30000000, "Timestamp": null, "RequiredHttpHeaders": {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"}, "TranscodingUrl": null, "TranscodingSubProtocol": "http", "TranscodingContainer": null, "AnalyzeDurationMs": 3000, "TranscodeReasons": "0", "DefaultAudioStreamIndex": null, "DefaultSubtitleStreamIndex": null, "HasSegments": false, "VideoStream": {"Codec": "h264", "CodecTag": null, "Language": null, "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/90000", "CodecTimeBase": null, "Title": null, "VideoRange": "SDR", "VideoRangeType": "SDR", "VideoDoViTitle": null, "AudioSpatialFormat": "None", "LocalizedUndefined": null, "LocalizedDefault": null, "LocalizedForced": null, "LocalizedExternal": null, "LocalizedHearingImpaired": null, "DisplayTitle": "720p H264 SDR", "NalLengthSize": "0", "IsInterlaced": false, "IsAVC": null, "ChannelLayout": null, "BitRate": 8000000, "BitDepth": 8, "RefFrames": 1, "PacketLength": null, "Channels": null, "SampleRate": null, "IsDefault": false, "IsForced": false, "IsHearingImpaired": false, "Height": 720, "Width": 1280, "AverageFrameRate": 50, "RealFrameRate": 50, "ReferenceFrameRate": 50, "Profile": "High", "Type": "Video", "AspectRatio": "16:9", "Index": -1, "Score": null, "IsExternal": false, "DeliveryMethod": null, "DeliveryUrl": null, "IsExternalUrl": null, "IsTextSubtitleStream": false, "IsPgsSubtitleStream": false, "IsExtractableSubtitleStream": false, "SupportsExternalStream": false, "Path": null, "PixelFormat": "yuv420p", "Level": 32, "IsAnamorphic": false, "$type": "MediaStream"}, "$type": "MediaSourceInfo"}
    [13:30:27] [INF] [37] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for benjadmin. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

    And then here is the log after I hit retry and it starts to play:
    Code:
    [13:32:12] [INF] [66] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for benjadmin. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

    [13:32:12] [INF] [60] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 3000000 -probesize 1G -user_agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" -fflags +igndts+genpts  -i "http://192.168.97.2:8096/LiveTv/LiveStreamFiles/75059619b3f34003b5e6d7204b367dc8/stream.ts" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 copy -start_at_zero -flags -global_header -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url "hls/4fa08d455380d42105ef1e3d0daeba4c/" -hls_segment_filename "/cache/transcodes/4fa08d455380d42105ef1e3d0daeba4c%d.ts" -hls_playlist_type event -hls_list_size 0 -y "/cache/transcodes/4fa08d455380d42105ef1e3d0daeba4c.m3u8"
    « 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