Jellyfin Forum
SOLVED: Live TV: Some m3u files play, others don't - 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: SOLVED: Live TV: Some m3u files play, others don't (/t-solved-live-tv-some-m3u-files-play-others-don-t)



Live TV: Some m3u files play, others don't - ggallet - 2023-12-31

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
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"



RE: Live TV: Some m3u files play, others don't - TheDreadPirate - 2023-12-31

The first video is remuxing while the second video is saying it needs to transcode. Do you have hardware acceleration setup?


RE: Live TV: Some m3u files play, others don't - ggallet - 2024-01-01

Hi,

Thanks for the quick response. Unfortunately I do not... my synology doesn't support it. it's gonna give me the excuse (and marital coverage) to try and repurpose an old mini pc I have lying around Winking-face.

Could you be so kind and point me to the line in the log where you see the difference? I did see the " PlayMethod=Transcode, TranscodeReason=ContainerNotSupported" on the second line in both logs and that made me assume (incorrectly, evidently) that both streams were transcoded.

Thanks again


RE: Live TV: Some m3u files play, others don't - ggallet - 2024-01-06

Hi again,

(2023-12-31, 08:38 PM)TheDreadPirate Wrote: The first video is remuxing while the second video is saying it needs to transcode.  Do you have hardware acceleration setup?

I do now Winking-face.

So I deployed the linuxserver jellyfin container image on a Minix Neo J50C-4 that I had lying around (it has a Intel Pentium Silver with, as far as I can tell, IQSV) and enabled IQSV in Jellyfin.

Again, I am using 2 m3u files with 1 channel (the same) in both files:

File 1:
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

File 2:
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 channel in both file can be streamed on VLC without issue. The channel in File 1 can be streamed on Jellyfin while the one in File 2 cannot (never ending spinning wheel).

Transcoding the channel in File 1, e.g., by decreasing the resolution, continue to work.

I attach the log for both files below.

I also attach the transcoding log for File 1, no such log produce for File 2

Again, any help is greatly appreciated.

Many thanks in advance

Log File 1:
Code:
[2024-01-06 16:57:52.533 +01:00] [INF] [94] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "user". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-01-06 16:57:52.539 +01:00] [INF] [94] 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/b84371dc-c6ef-bba6-8f65-84fcf7b80750/master.m3u8?MediaSourceId=dac939948293581c73ff515414be15d4&VideoCodec=h264,h264&AudioCodec=aac&AudioStreamIndex=-1&VideoBitrate=5808000&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"
[2024-01-06 16:57:52.541 +01:00] [WRN] [94] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.127:8096/Items/b84371dcc6efbba68f6584fcf7b80750/PlaybackInfo?UserId=dc97f5045202438e858ba9189738688d&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=6000000" to "192.168.1.112" in 0:00:04.5001883 with Status Code 200
[2024-01-06 16:57:52.953 +01:00] [INF] [71] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2024-01-06 16:57:52.954 +01:00] [INF] [71] 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 -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -autorotate 0 -i \"http://livevideo.infomaniak.com/streaming/livecast/naxoo/playlist.m3u8\" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 h264_qsv -preset 7 -look_ahead 0 -b:v 5808000 -maxrate 5808000 -bufsize 11616000 -profile:v:0 main -level 42 -g:v:0 75 -keyint_min:v:0 75 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv\" -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/7debc9f4bd80f4508837582f94584b9e/\" -hls_segment_filename \"/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e%d.ts\" -hls_playlist_type event -hls_list_size 0 -y \"/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e.m3u8\""
[2024-01-06 16:57:55.600 +01:00] [WRN] [81] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.127:8096/videos/b84371dc-c6ef-bba6-8f65-84fcf7b80750/live.m3u8?DeviceId=deviceId&MediaSourceId=dac939948293581c73ff515414be15d4&VideoCodec=h264,h264&AudioCodec=aac&AudioStreamIndex=-1&VideoBitrate=5808000&AudioBitrate=192000&AudioSampleRate=48000&MaxFramerate=25&PlaySessionId=e5db55714af44e2292796cc9f1c70965&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 "192.168.1.112" in 0:00:02.6506622 with Status Code 200
[2024-01-06 16:58:12.467 +01:00] [INF] [89] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.112" request

Log File 2:
Code:
[2024-01-06 17:04:03.330 +01:00] [INF] [93] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "user". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-01-06 17:04:03.331 +01:00] [INF] [93] 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/38e4bd14-5631-3e6c-c9a2-1fcc16c65575/master.m3u8?MediaSourceId=a37bfa576a87a0fc5f6d747665edbc5d&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=5616000&AudioBitrate=384000&api_key=<token>&TranscodingMaxAudioChannels=2&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&TranscodeReasons=ContainerNotSupported,%20VideoCodecNotSupported,%20AudioCodecNotSupported"
[2024-01-06 17:04:03.334 +01:00] [INF] [93] Emby.Server.Implementations.LiveTv.LiveTvManager: Opening channel stream from "Emby", external channel Id: "m3u_755dcc4cc5950ad58fdddd90075fe514823eec969624a48a1775e7a16001b1fa"
[2024-01-06 17:04:03.334 +01:00] [INF] [93] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Streaming Channel "m3u_755dcc4cc5950ad58fdddd90075fe514823eec969624a48a1775e7a16001b1fa"
[2024-01-06 17:04:03.335 +01:00] [INF] [93] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Live stream "a37bfa576a87a0fc5f6d747665edbc5d" consumer count is now 2
[2024-01-06 17:04:03.336 +01:00] [INF] [93] Emby.Server.Implementations.Library.MediaSourceManager: Waiting 3000ms before probing the live stream
[2024-01-06 17:04:06.340 +01:00] [INF] [93] 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"

FFMpeg Transcode Log File 1:
Code:
/videos/b84371dc-c6ef-bba6-8f65-84fcf7b80750/live.m3u8

{"Protocol":1,"Id":"dac939948293581c73ff515414be15d4","Path":"http://livevideo.infomaniak.com/streaming/livecast/naxoo/playlist.m3u8","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"hls","Size":140,"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":[{"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":1,"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},{"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":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":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,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/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 -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -autorotate 0 -i "http://livevideo.infomaniak.com/streaming/livecast/naxoo/playlist.m3u8" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 h264_qsv -preset 7 -look_ahead 0 -b:v 5808000 -maxrate 5808000 -bufsize 11616000 -profile:v:0 main -level 42 -g:v:0 75 -keyint_min:v:0 75 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv" -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/7debc9f4bd80f4508837582f94584b9e/" -hls_segment_filename "/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e%d.ts" -hls_playlist_type event -hls_list_size 0 -y "/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e.m3u8"


ffmpeg version 5.1.4-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec    59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter    8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample  4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[hls @ 0x55e138cea2c0] Skip ('#EXT-X-VERSION:3')
[hls @ 0x55e138cea2c0] Opening 'https://edge15.vedge.infomaniak.com/livecast/naxoo/chunklist_w579274508.m3u8' for reading
[hls @ 0x55e138cea2c0] Skip ('#EXT-X-VERSION:3')
[hls @ 0x55e138cea2c0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0x55e138cea2c0] Opening 'https://edge15.vedge.infomaniak.com/livecast/naxoo/media_w579274508_908299.ts' for reading
[hls @ 0x55e138cea2c0] Opening 'https://edge15.vedge.infomaniak.com/livecast/naxoo/media_w579274508_908300.ts' for reading
Input #0, hls, from 'http://livevideo.infomaniak.com/streaming/livecast/naxoo/playlist.m3u8':
  Duration: N/A, start: 23101.116556, bitrate: N/A
  Program 0
    Metadata:
      variant_bitrate : 8780226
  Stream #0:0: Data: timed_id3 (ID3  / 0x20334449)
    Metadata:
      variant_bitrate : 8780226
  Stream #0:1: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuvj420p(pc, bt709), 1920x1080, 25 fps, 25 tbr, 90k tbn
    Metadata:
      variant_bitrate : 8780226
  Stream #0:2: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 8780226
Stream mapping:
  Stream #0:1 -> #0:0 (h264 (native) -> h264 (h264_qsv))
  Stream #0:2 -> #0:1 (copy)
Press [q] to stop, [?] for help
Output #0, hls, to '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e.m3u8':
  Metadata:
    encoder        : Lavf59.27.100
  Stream #0:0: Video: h264, qsv(pc, bt709, progressive), 1920x1080, q=2-31, 5808 kb/s, 25 fps, 90k tbn
    Metadata:
      encoder        : Lavc59.37.100 h264_qsv
    Side data:
      cpb: bitrate max/min/avg: 5808000/0/5808000 buffer size: 11616000 vbv_delay: N/A
  Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
frame=    1 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed=  0x   
frame=  51 fps=0.0 q=22.0 size=N/A time=00:00:02.00 bitrate=N/A speed=3.72x   
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e0.ts' for writing
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e.m3u8.tmp' for writing
frame=  106 fps=101 q=21.0 size=N/A time=00:00:04.18 bitrate=N/A speed=3.99x   
[https @ 0x55e139013fc0] Opening 'https://edge15.vedge.infomaniak.com/livecast/naxoo/media_w579274508_908301.ts' for reading
frame=  146 fps= 74 q=22.0 size=N/A time=00:00:05.78 bitrate=N/A speed=2.94x   
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e1.ts' for writing
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e.m3u8.tmp' for writing
frame=  200 fps= 81 q=23.0 size=N/A time=00:00:07.95 bitrate=N/A speed=3.23x   
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e2.ts' for writing
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e.m3u8.tmp' for writing
frame=  256 fps= 86 q=21.0 size=N/A time=00:00:10.17 bitrate=N/A speed=3.43x   
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e3.ts' for writing
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e.m3u8.tmp' for writing
frame=  312 fps= 90 q=22.0 size=N/A time=00:00:12.41 bitrate=N/A speed=3.58x   
frame=  368 fps= 93 q=21.0 size=N/A time=00:00:14.67 bitrate=N/A speed= 3.7x   
[https @ 0x55e138d6d940] Opening 'https://edge15.vedge.infomaniak.com/livecast/naxoo/chunklist_w579274508.m3u8' for reading
[hls @ 0x55e138cea2c0] Skip ('#EXT-X-VERSION:3')
[hls @ 0x55e138cea2c0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[https @ 0x55e139013fc0] Opening 'https://edge15.vedge.infomaniak.com/livecast/naxoo/media_w579274508_908302.ts' for reading
[https @ 0x55e139328f00] Opening 'https://edge15.vedge.infomaniak.com/livecast/naxoo/media_w579274508_908303.ts' for reading
frame=  370 fps= 73 q=22.0 size=N/A time=00:00:14.76 bitrate=N/A speed=2.91x   
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e4.ts' for writing
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e.m3u8.tmp' for writing
frame=  429 fps= 77 q=26.0 size=N/A time=00:00:17.08 bitrate=N/A speed=3.07x   
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e5.ts' for writing
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e.m3u8.tmp' for writing
frame=  482 fps= 79 q=23.0 size=N/A time=00:00:19.22 bitrate=N/A speed=3.16x   
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e6.ts' for writing
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e.m3u8.tmp' for writing
frame=  538 fps= 82 q=18.0 size=N/A time=00:00:21.44 bitrate=N/A speed=3.26x   
frame=  594 fps= 84 q=23.0 size=N/A time=00:00:23.70 bitrate=N/A speed=3.35x   
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e7.ts' for writing
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e.m3u8.tmp' for writing
[https @ 0x55e138d6d940] Opening 'https://edge15.vedge.infomaniak.com/livecast/naxoo/chunklist_w579274508.m3u8' for reading
...
[hls @ 0x55e138cea2c0] Skip ('#EXT-X-VERSION:3')
[hls @ 0x55e138cea2c0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[https @ 0x55e138d6d940] Opening 'https://edge15.vedge.infomaniak.com/livecast/naxoo/chunklist_w579274508.m3u8' for reading
[hls @ 0x55e138cea2c0] Skip ('#EXT-X-VERSION:3')
[hls @ 0x55e138cea2c0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[https @ 0x55e139c02080] Opening 'https://edge15.vedge.infomaniak.com/livecast/naxoo/media_w579274508_908367.ts' for reading
frame= 8485 fps= 26 q=24.0 size=N/A time=00:05:39.37 bitrate=N/A speed=1.04x   
frame= 8542 fps= 26 q=26.0 size=N/A time=00:05:41.65 bitrate=N/A speed=1.04x   
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e113.ts' for writing
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e.m3u8.tmp' for writing
frame= 8598 fps= 26 q=25.0 size=N/A time=00:05:43.89 bitrate=N/A speed=1.05x   

[q] command received. Exiting.

[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e114.ts' for writing
[hls @ 0x55e139026dc0] Opening '/config/data/transcodes/7debc9f4bd80f4508837582f94584b9e.m3u8.tmp' for writing
frame= 8614 fps= 26 q=25.0 Lsize=N/A time=00:05:44.51 bitrate=N/A speed=1.05x   
video:244809kB audio:13578kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown



RE: Live TV: Some m3u files play, others don't - TheDreadPirate - 2024-01-06

How long are you waiting before giving up? My fairly fast Jellyfin server sometimes takes 15-20 seconds to start a live IPTV channel.

Remember, when you are running it through Jellyfin there is, essentially, an extra hop that you don't have when using VLC.


RE: Live TV: Some m3u files play, others don't - ggallet - 2024-01-07

(2024-01-06, 09:33 PM)TheDreadPirate Wrote: How long are you waiting before giving up?  My fairly fast Jellyfin server sometimes takes 15-20 seconds to start a live IPTV channel.

Remember, when you are running it through Jellyfin there is, essentially, an extra hop that you don't have when using VLC.

Long enough I think... I let it run in the background while doing other stuff no luck...

On file 1 the stream appears after 5 - 10s max, file 2 must have been running for at least 5 minutes

What is that extra hop you mention?

As always, thanks a lot for the help


RE: Live TV: Some m3u files play, others don't - TheDreadPirate - 2024-01-07

When I say "extra hop" I mean that when you are playing is VLC the stream is going directly to your PC with no middle man. When watched through Jellyfin it will always hop through Jellyfin before playing on your client.

5 minutes is definitely too long. Can you find the ffmpeg log associated with that?


RE: Live TV: Some m3u files play, others don't - ggallet - 2024-01-08

Thanks again for the explanation. It makes sense.

I actually asked a colleague who's got a very similar setup and he had a stroke of genius saying it's most likely the network mode of the container that needs to be host and not the default bridge... something to do with multicast and rtp protocol support (I do not have the full explanation but will look it up.... eventually).

So below is my docker compose for the jellyfin container that ended up enabling the streaming of the channels listed here (Swiss providers).

Thanks for the help, and my apologies if that bit of the network_mode was obvious and that I missed it when reading the doc.

Code:
version: "3.8"
services:
  jellyfin:
    image: lscr.io/linuxserver/jellyfin:latest
    network_mode: host
    container_name: jellyfin
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Zurich
    volumes:
      - jellyfin:/config
      - /mnt/Videos/TV:/data/tv
      - /mnt/Videos/Movies:/data/movies
    ports:
      - 8096:8096
    restart: unless-stopped
    devices:
      - "/dev/dri:/dev/dri"

volumes:
  jellyfin:
    external: true