![]() |
Transcode working for 10secs and then stops playing the videos and loops to start - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: Transcode working for 10secs and then stops playing the videos and loops to start (/t-transcode-working-for-10secs-and-then-stops-playing-the-videos-and-loops-to-start) |
Transcode working for 10secs and then stops playing the videos and loops to start - e3n - 2025-08-23 Hi I am getting a weird issue where when i try to do transcoding it works fine for 8-10 secs and then it restarts the video from starting and then keeps doing that 2-3 times and then error comes up saying "Issue with HLS Stream". When i try to check the transcoded segments during the video playback all of them have data around 250kbs I am using i5-14400 with iGPU on latest truenas scale and using portainer to deploy jellyfin with latest linuxserverio image with the optional opencl mod. I got this error from the jellyfin logs Code: [2025-08-24 00:33:06.914 +05:30] [INF] [55] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request Here is the ffmpeg log: Code: {"Protocol":0,"Id":"7214b5af027cdf249c2d4b20b9e72c66","Path":"/data/shows/The Mentalist/Season 4/The Mentalist - S04E02 - Little Red Book WEBRip-1080p.mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mov,mp4,m4a,3gp,3g2,mj2","Size":713387625,"Name":"The Mentalist - S04E02 - Little Red Book WEBRip-1080p","IsRemote":false,"ETag":"8daeecef568a3811d29486ddc50875df","RunTimeTicks":25595830000,"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":"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":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"English - SUBRIP - External","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":0,"Score":null,"IsExternal":true,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/data/shows/The Mentalist/Season 4/The Mentalist - S04E02 - Little Red Book WEBRip-1080p.en.srt","PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"hevc","CodecTag":"hev1","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/24000","CodecTimeBase":null,"Title":null,"VideoRange":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"1080p HEVC SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":2000208,"BitDepth":10,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":1080,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"ReferenceFrameRate":23.976025,"Profile":"Main 10","Type":1,"AspectRatio":"16:9","Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p10le","Level":120,"IsAnamorphic":false},{"Codec":"aac","CodecTag":"mp4a","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/48000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"English - AAC - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"5.1","BitRate":224000,"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":"LC","Type":0,"AspectRatio":null,"Index":2,"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":2229699,"FallbackMaxStreamingBitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null,"HasSegments":true} RE: Transcode working for 10secs and then stops playing the videos and loops to start - bitmap - 2025-08-23 The first item is not an issue. The INF tells you the log line is informational, not warning or error. That log line doesn't matter. Out of curiosity....why is your transcode directory inside your cache directory? Can't say for certain that's the cause here, but it's definitely likely to cause issues overall. RE: Transcode working for 10secs and then stops playing the videos and loops to start - e3n - 2025-08-24 (2025-08-23, 09:38 PM)bitmap Wrote: The first item is not an issue. The INF tells you the log line is informational, not warning or error. That log line doesn't matter. I believe its default for linuxserver io image. I haven’t updated it. Another update is that the transcode works on other clients like swiftfin on ipad. I believe there might be a issue in the web client itself but i am still checking this RE: Transcode working for 10secs and then stops playing the videos and loops to start - e3n - 2025-08-24 (Yesterday, 07:03 AM)e3n Wrote:(2025-08-23, 09:38 PM)bitmap Wrote: The first item is not an issue. The INF tells you the log line is informational, not warning or error. That log line doesn't matter. I checked for playback using transcoding on chrome on iPad and its working fine. I think the issue might be with that specific machine itself. I will check that out. I don’t have an idea on what to check if anyone has any suggestions please let me know Thanks RE: Transcode working for 10secs and then stops playing the videos and loops to start - nyanmisaka - 2025-08-24 https://github.com/jellyfin/jellyfin-web/pull/6985 |