2023-12-31, 09:23 AM
Hi,
I am running jellyfin 10.8.13 in docker (linuxserver image) on a synology.
I am encountering problems getting some m3u playlist to stream the various channels while some others play just fine.
I reduced the problem down to this file
versus this file
The sources for the files above are here and here respectively
Both files play fine in VLC, no issue in getting the channel (it is the same in both files).
When importing in Jellyfin, the channel in file 1 will play while the channel in file 2 will never start, instead I get a never ending spinning wheel.
I could identify the part of the log pertaining to attempting to play the channel in either file, see below; the log for file 2 seem to end abruptly but trust me, I really don't have anything else...
I am not knowledgeable enough in the matter to decipher what could be wrong here and any help would be greatly appreciated.
Many thanks in advance
Log for file 1
Log for file2:
I am running jellyfin 10.8.13 in docker (linuxserver image) on a synology.
I am encountering problems getting some m3u playlist to stream the various channels while some others play just fine.
I reduced the problem down to this file
Code:
#EXTM3U
#EXTINF:-1 tvg-id="LemanBleu.ch" tvg-logo="https://i.imgur.com/6ijbSTr.png" group-title="Undefined",Léman Bleu (1080p)
http://livevideo.infomaniak.com/streaming/livecast/naxoo/playlist.m3u8
versus this file
Code:
#EXTM3U
#EXTINF:-1 tvg-id="LemanBleu.ch" tvg-name="Leman Bleu CH" tvg-logo="https://static.epg.best/ch/LemanBleu.ch.png" tvg-chno="76" channel-id="76",leman bleu HD
rtp://239.186.70.39:10000
The sources for the files above are here and here respectively
Both files play fine in VLC, no issue in getting the channel (it is the same in both files).
When importing in Jellyfin, the channel in file 1 will play while the channel in file 2 will never start, instead I get a never ending spinning wheel.
I could identify the part of the log pertaining to attempting to play the channel in either file, see below; the log for file 2 seem to end abruptly but trust me, I really don't have anything else...
I am not knowledgeable enough in the matter to decipher what could be wrong here and any help would be greatly appreciated.
Many thanks in advance
Log for file 1
Code:
[2023-12-31 08:52:19.910 +01:00] [INF] [40] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "myuser". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-12-31 08:52:19.912 +01:00] [INF] [40] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="http://livevideo.infomaniak.com/streaming/livecast/naxoo/playlist.m3u8", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerNotSupported, VideoCodecNotSupported, AudioCodecNotSupported ) "media:/videos/d745af6b-3463-9208-6322-cf2e3da8b4f4/master.m3u8?MediaSourceId=dac939948293581c73ff515414be15d4&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=11282667&AudioBitrate=384000&api_key=<token>&TranscodingMaxAudioChannels=2&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&TranscodeReasons=ContainerNotSupported,%20VideoCodecNotSupported,%20AudioCodecNotSupported"
[2023-12-31 08:52:19.914 +01:00] [INF] [40] Emby.Server.Implementations.LiveTv.LiveTvManager: Opening channel stream from "Emby", external channel Id: "m3u_20ad7d2cd28e5ace79d10d51e801b7029fdeb48342ac5afe804dfe79e6ada27c"
[2023-12-31 08:52:19.914 +01:00] [INF] [40] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Streaming Channel "m3u_20ad7d2cd28e5ace79d10d51e801b7029fdeb48342ac5afe804dfe79e6ada27c"
[2023-12-31 08:52:20.133 +01:00] [INF] [40] Emby.Server.Implementations.LiveTv.TunerHosts.M3UTunerHost: Live stream opened after 0.0011ms
[2023-12-31 08:52:20.133 +01:00] [INF] [40] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Returning mediasource streamId "dac939948293581c73ff515414be15d4", mediaSource.Id "dac939948293581c73ff515414be15d4", mediaSource.LiveStreamId null
[2023-12-31 08:52:20.238 +01:00] [INF] [34] Emby.Server.Implementations.Library.MediaSourceManager: Live tv media info probe took "0.1040992" seconds
[2023-12-31 08:52:20.295 +01:00] [INF] [34] Emby.Server.Implementations.Library.MediaSourceManager: Live stream opened: MediaSourceInfo { Protocol: Http, Id: "dac939948293581c73ff515414be15d4", Path: "http://livevideo.infomaniak.com/streaming/livecast/naxoo/playlist.m3u8", EncoderPath: null, EncoderProtocol: null, Type: Default, Container: "hls", Size: 139, Name: null, IsRemote: True, ETag: null, RunTimeTicks: null, ReadAtNativeFramerate: False, IgnoreDts: True, IgnoreIndex: False, GenPtsInput: False, SupportsTranscoding: True, SupportsDirectStream: False, SupportsDirectPlay: True, IsInfiniteStream: True, RequiresOpening: True, OpenToken: null, RequiresClosing: True, LiveStreamId: "a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_dac939948293581c73ff515414be15d4", BufferMs: null, RequiresLooping: False, SupportsProbing: True, VideoType: null, IsoType: null, Video3DFormat: null, MediaStreams: [MediaStream { Codec: "h264", CodecTag: null, Language: null, ColorRange: "pc", ColorSpace: "bt709", ColorTransfer: "bt709", ColorPrimaries: "bt709", DvVersionMajor: null, DvVersionMinor: null, DvProfile: null, DvLevel: null, RpuPresentFlag: null, ElPresentFlag: null, BlPresentFlag: null, DvBlSignalCompatibilityId: null, Comment: null, TimeBase: "1/90000", CodecTimeBase: null, Title: null, VideoRange: "SDR", VideoRangeType: "SDR", VideoDoViTitle: null, LocalizedUndefined: null, LocalizedDefault: null, LocalizedForced: null, LocalizedExternal: null, DisplayTitle: "1080p H264 SDR", NalLengthSize: "0", IsInterlaced: False, IsAVC: null, ChannelLayout: null, BitRate: 20000000, BitDepth: 8, RefFrames: 1, PacketLength: null, Channels: null, SampleRate: null, IsDefault: False, IsForced: False, Height: 1080, Width: 1920, AverageFrameRate: 25, RealFrameRate: 25, Profile: "Main", Type: Video, AspectRatio: "16:9", Index: -1, Score: null, IsExternal: False, DeliveryMethod: null, DeliveryUrl: null, IsExternalUrl: null, IsTextSubtitleStream: False, SupportsExternalStream: False, Path: null, PixelFormat: "yuvj420p", Level: 42, IsAnamorphic: False }, 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, Comment: null, TimeBase: "1/90000", CodecTimeBase: null, Title: null, VideoRange: null, VideoRangeType: null, VideoDoViTitle: null, LocalizedUndefined: null, LocalizedDefault: null, LocalizedForced: null, LocalizedExternal: null, DisplayTitle: "AAC - Stereo", NalLengthSize: null, IsInterlaced: False, IsAVC: null, ChannelLayout: "stereo", BitRate: 192000, BitDepth: null, RefFrames: null, PacketLength: null, Channels: 2, SampleRate: 48000, IsDefault: False, IsForced: False, Height: null, Width: null, AverageFrameRate: null, RealFrameRate: null, Profile: "LC", Type: Audio, 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: 20192000, Timestamp: null, RequiredHttpHeaders: [("User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.85 Safari/537.36")], TranscodingUrl: null, TranscodingSubProtocol: null, TranscodingContainer: null, AnalyzeDurationMs: 3000, TranscodeReasons: 0, DefaultAudioStreamIndex: null, DefaultSubtitleStreamIndex: null, VideoStream: MediaStream { Codec: "h264", CodecTag: null, Language: null, ColorRange: "pc", ColorSpace: "bt709", ColorTransfer: "bt709", ColorPrimaries: "bt709", DvVersionMajor: null, DvVersionMinor: null, DvProfile: null, DvLevel: null, RpuPresentFlag: null, ElPresentFlag: null, BlPresentFlag: null, DvBlSignalCompatibilityId: null, Comment: null, TimeBase: "1/90000", CodecTimeBase: null, Title: null, VideoRange: "SDR", VideoRangeType: "SDR", VideoDoViTitle: null, LocalizedUndefined: null, LocalizedDefault: null, LocalizedForced: null, LocalizedExternal: null, DisplayTitle: "1080p H264 SDR", NalLengthSize: "0", IsInterlaced: False, IsAVC: null, ChannelLayout: null, BitRate: 20000000, BitDepth: 8, RefFrames: 1, PacketLength: null, Channels: null, SampleRate: null, IsDefault: False, IsForced: False, Height: 1080, Width: 1920, AverageFrameRate: 25, RealFrameRate: 25, Profile: "Main", Type: Video, AspectRatio: "16:9", Index: -1, Score: null, IsExternal: False, DeliveryMethod: null, DeliveryUrl: null, IsExternalUrl: null, IsTextSubtitleStream: False, SupportsExternalStream: False, Path: null, PixelFormat: "yuvj420p", Level: 42, IsAnamorphic: False } }
[2023-12-31 08:52:20.305 +01:00] [INF] [34] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "myuser". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-12-31 08:52:20.312 +01:00] [INF] [34] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="http://livevideo.infomaniak.com/streaming/livecast/naxoo/playlist.m3u8", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerNotSupported ) "media:/videos/d745af6b-3463-9208-6322-cf2e3da8b4f4/master.m3u8?MediaSourceId=dac939948293581c73ff515414be15d4&VideoCodec=h264,h264&AudioCodec=aac&AudioStreamIndex=-1&VideoBitrate=11474667&AudioBitrate=192000&AudioSampleRate=48000&MaxFramerate=25&api_key=<token>&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_dac939948293581c73ff515414be15d4&TranscodingMaxAudioChannels=2&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-level=42&h264-videobitdepth=8&h264-profile=main&h264-audiochannels=2&aac-profile=lc&h264-rangetype=SDR&h264-deinterlace=true&TranscodeReasons=ContainerNotSupported"
[2023-12-31 08:52:20.312 +01:00] [WRN] [34] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.mynas.abc/Items/d745af6b346392086322cf2e3da8b4f4/PlaybackInfo?UserId=3912b19abaca4f8a93ebde5fe9470bc6&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=11666667" to "12.123.123.12" in 0:00:00.6408465 with Status Code 200
[2023-12-31 08:52:20.869 +01:00] [INF] [34] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2023-12-31 08:52:20.940 +01:00] [INF] [34] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 3000000 -user_agent \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.85 Safari/537.36\" -fflags +igndts -f hls -autorotate 0 -i \"http://livevideo.infomaniak.com/streaming/livecast/naxoo/playlist.m3u8\" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -preset superfast -crf 23 -maxrate 11474667 -bufsize 22949334 -profile:v:0 main -level 42 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 \"expr:gte(t,n_forced*3)\" -sc_threshold:v:0 0 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,1920)/2)*2:trunc(ow/a/2)*2,format=yuv420p\" -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/0d6c812d8168b6eb88b777cca80c3792/\" -hls_segment_filename \"/config/data/transcodes/0d6c812d8168b6eb88b777cca80c3792%d.ts\" -hls_playlist_type event -hls_list_size 0 -y \"/config/data/transcodes/0d6c812d8168b6eb88b777cca80c3792.m3u8\""
[2023-12-31 08:52:25.412 +01:00] [WRN] [41] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.mynas.abc/videos/d745af6b-3463-9208-6322-cf2e3da8b4f4/live.m3u8?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTIxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTIxLjB8MTcwMzk1MDk3NTcyNw11&MediaSourceId=dac939948293581c73ff515414be15d4&VideoCodec=h264,h264&AudioCodec=aac&AudioStreamIndex=-1&VideoBitrate=11474667&AudioBitrate=192000&AudioSampleRate=48000&MaxFramerate=25&PlaySessionId=aaa&api_key=aaa&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_dac939948293581c73ff515414be15d4&TranscodingMaxAudioChannels=2&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-level=42&h264-videobitdepth=8&h264-profile=main&h264-audiochannels=2&aac-profile=lc&h264-rangetype=SDR&h264-deinterlace=true&TranscodeReasons=ContainerNotSupported" to "12.123.123.12" in 0:00:04.5540938 with Status Code 200
[2023-12-31 08:52:35.597 +01:00] [INF] [38] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "/config/data/transcodes/0d6c812d8168b6eb88b777cca80c3792.m3u8"
[2023-12-31 08:52:38.329 +01:00] [INF] [38] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2023-12-31 08:52:38.329 +01:00] [INF] [38] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/config/data/transcodes/0d6c812d8168b6eb88b777cca80c3792.m3u8"
[2023-12-31 08:52:39.833 +01:00] [INF] [38] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.8.13" playing "Léman Bleu (1080p)". Stopped at "7496" ms
[2023-12-31 08:52:39.863 +01:00] [INF] [38] Emby.Server.Implementations.Library.MediaSourceManager: Live stream "dac939948293581c73ff515414be15d4" consumer count is now 0
[2023-12-31 08:52:39.863 +01:00] [INF] [38] Emby.Server.Implementations.Library.MediaSourceManager: Closing live stream "a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_dac939948293581c73ff515414be15d4"
[2023-12-31 08:52:39.863 +01:00] [INF] [38] Emby.Server.Implementations.LiveTv.TunerHosts.M3UTunerHost: Closing "LiveStream"
[2023-12-31 08:52:39.863 +01:00] [INF] [38] Emby.Server.Implementations.Library.MediaSourceManager: Live stream "a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_dac939948293581c73ff515414be15d4" closed successfully§
[2023-12-31 08:52:39.875 +01:00] [WRN] [38] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.mynas.abc/Sessions/Playing/Stopped" to "12.123.123.12" in 0:00:04.2811835 with Status Code 204
Log for file2:
Code:
[2023-12-31 08:53:04.992 +01:00] [INF] [20] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "myuser". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-12-31 08:53:04.992 +01:00] [INF] [20] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="rtp://239.186.70.39:10000", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerNotSupported, VideoCodecNotSupported, AudioCodecNotSupported ) "media:/videos/ef95707e-667e-39b2-33f7-e3ba4635f9f9/master.m3u8?MediaSourceId=a37bfa576a87a0fc5f6d747665edbc5d&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=11282667&AudioBitrate=384000&api_key=<token>&TranscodingMaxAudioChannels=2&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&TranscodeReasons=ContainerNotSupported,%20VideoCodecNotSupported,%20AudioCodecNotSupported"
[2023-12-31 08:53:04.993 +01:00] [INF] [20] Emby.Server.Implementations.LiveTv.LiveTvManager: Opening channel stream from "Emby", external channel Id: "m3u_1a3413b77f8ab317a168ddd0c414c30d823eec969624a48a1775e7a16001b1fa"
[2023-12-31 08:53:04.994 +01:00] [INF] [20] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Streaming Channel "m3u_1a3413b77f8ab317a168ddd0c414c30d823eec969624a48a1775e7a16001b1fa"
[2023-12-31 08:53:04.994 +01:00] [INF] [20] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Live stream "a37bfa576a87a0fc5f6d747665edbc5d" consumer count is now 2
[2023-12-31 08:53:04.994 +01:00] [INF] [20] Emby.Server.Implementations.Library.MediaSourceManager: Waiting 3000ms before probing the live stream
[2023-12-31 08:53:07.994 +01:00] [INF] [20] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: "/usr/lib/jellyfin-ffmpeg/ffprobe" "-analyzeduration 3000000 -i \"rtp://239.186.70.39:10000\" -threads 0 -v warning -print_format json -show_streams -show_format"