Jellyfin Forum
Live TV - 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: Live TV (/t-live-tv)



Live TV - okamiryoko - 2023-10-24

Hello I'm trying to add live tv to my Jellyfin instance. Previously I tried using some of the international m3u files which would sometimes work, but not always, but then I decided to try adding Portugal public channels. The m3u files and programming I'm using are from this github repo: https://github.com/LITUATUI/M3UPT
Although I can see the programming correctly of what is playing, when I try to play it, it doesn't work.

The error I see is:

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

even if I retry it still doesn't work.

Can someone please help me?

My setup is:
Jellyfin version: 10.8.11
Installed using windows installer
x64 Architecture
Trying it through the Jellyfin Media Player windows application

These are some of the logs I found related to it.

Code:
[2023-10-24 19:57:09.263 +01:00] [INF] [31] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "Ari". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-10-24 19:57:09.265 +01:00] [INF] [31] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Jellyfin Media Player", Path="https://video-auth7.iol.pt/live_cnn/live_cnn/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9MTAvMjQvMjAyMyAxOjc6MzEgUE0maGFzaF92YWx1ZT15TjdwbmxyeGhpMnVmSmp6UVRKb3lRPT0mdmFsaWRtaW51dGVzPTE0NDAmaWQ9YmQ5NmQzMmQtMmQzZC00MjBhLThjM2EtODZmMTllOTQzYmQ4/", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/860c20ea-9b4d-131c-72c5-8a6aa43dc621/stream?MediaSourceId=6a4775e9e21f59ab2fe67a7aaae7a661&Static=true&AudioStreamIndex=-1&api_key=<token>"
[2023-10-24 19:57:09.268 +01:00] [INF] [31] Emby.Server.Implementations.LiveTv.LiveTvManager: Opening channel stream from "Emby", external channel Id: "m3u_45d8a400bf9ab5e30d7ce4aa47fb77792b3b411d4f36938f9e7580ea24efee3b"
[2023-10-24 19:57:09.269 +01:00] [INF] [31] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Streaming Channel "m3u_45d8a400bf9ab5e30d7ce4aa47fb77792b3b411d4f36938f9e7580ea24efee3b"
[2023-10-24 19:57:09.270 +01:00] [INF] [31] Emby.Server.Implementations.LiveTv.TunerHosts.M3UTunerHost: Opening "SharedHttpStream" Live stream from "https://video-auth7.iol.pt/live_cnn/live_cnn/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9MTAvMjQvMjAyMyAxOjc6MzEgUE0maGFzaF92YWx1ZT15TjdwbmxyeGhpMnVmSmp6UVRKb3lRPT0mdmFsaWRtaW51dGVzPTE0NDAmaWQ9YmQ5NmQzMmQtMmQzZC00MjBhLThjM2EtODZmMTllOTQzYmQ4/"
[2023-10-24 19:57:09.633 +01:00] [INF] [41] Emby.Server.Implementations.LiveTv.TunerHosts.M3UTunerHost: Live stream opened after 362.7245ms
[2023-10-24 19:57:09.633 +01:00] [INF] [41] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Returning mediasource streamId "6a4775e9e21f59ab2fe67a7aaae7a661", mediaSource.Id "6a4775e9e21f59ab2fe67a7aaae7a661", mediaSource.LiveStreamId null
[2023-10-24 19:57:09.643 +01:00] [INF] [31] Emby.Server.Implementations.Library.MediaSourceManager: Live tv media info probe took "0.0080944" seconds
[2023-10-24 19:57:09.644 +01:00] [INF] [31] Emby.Server.Implementations.Library.MediaSourceManager: Live stream opened: MediaSourceInfo { Protocol: Http, Id: "6a4775e9e21f59ab2fe67a7aaae7a661", Path: "https://video-auth7.iol.pt/live_cnn/live_cnn/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9MTAvMjQvMjAyMyAxOjc6MzEgUE0maGFzaF92YWx1ZT15TjdwbmxyeGhpMnVmSmp6UVRKb3lRPT0mdmFsaWRtaW51dGVzPTE0NDAmaWQ9YmQ5NmQzMmQtMmQzZC00MjBhLThjM2EtODZmMTllOTQzYmQ4/", EncoderPath: null, EncoderProtocol: null, Type: Default, Container: "hls", Size: 1334, 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_6a4775e9e21f59ab2fe67a7aaae7a661", BufferMs: null, RequiresLooping: False, SupportsProbing: True, VideoType: null, IsoType: null, Video3DFormat: null, MediaStreams: [MediaStream { Codec: "h264", CodecTag: null, Language: null, ColorRange: "tv", 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: "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, Height: 720, Width: 1280, AverageFrameRate: 25, RealFrameRate: 25, Profile: "High", Type: Video, AspectRatio: "16:9", Index: -1, Score: null, IsExternal: False, DeliveryMethod: null, DeliveryUrl: null, IsExternalUrl: null, IsTextSubtitleStream: False, SupportsExternalStream: False, Path: null, PixelFormat: "yuv420p", Level: 31, 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: 44100, 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: 8192000, 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: "tv", 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: "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, Height: 720, Width: 1280, AverageFrameRate: 25, RealFrameRate: 25, Profile: "High", Type: Video, AspectRatio: "16:9", Index: -1, Score: null, IsExternal: False, DeliveryMethod: null, DeliveryUrl: null, IsExternalUrl: null, IsTextSubtitleStream: False, SupportsExternalStream: False, Path: null, PixelFormat: "yuv420p", Level: 31, IsAnamorphic: False } }
[2023-10-24 19:57:09.708 +01:00] [INF] [31] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "Ari". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-10-24 19:57:09.709 +01:00] [INF] [31] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Jellyfin Media Player", Path="https://video-auth7.iol.pt/live_cnn/live_cnn/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9MTAvMjQvMjAyMyAxOjc6MzEgUE0maGFzaF92YWx1ZT15TjdwbmxyeGhpMnVmSmp6UVRKb3lRPT0mdmFsaWRtaW51dGVzPTE0NDAmaWQ9YmQ5NmQzMmQtMmQzZC00MjBhLThjM2EtODZmMTllOTQzYmQ4/", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/860c20ea-9b4d-131c-72c5-8a6aa43dc621/stream.hls?MediaSourceId=6a4775e9e21f59ab2fe67a7aaae7a661&Static=true&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=-1&api_key=<token>&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_6a4775e9e21f59ab2fe67a7aaae7a661"
[2023-10-24 19:57:09.711 +01:00] [WRN] [31] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.102:8096/Items/860c20ea9b4d131c72c58a6aa43dc621/PlaybackInfo?UserId=41d5f9d210db4e489ea5cebbc16abdb0&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000" to "192.168.1.102" in 0:00:00.5441773 with Status Code 200
[2023-10-24 19:57:09.735 +01:00] [ERR] [31] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: "Could not find file 'C:\ProgramData\Jellyfin\Server\transcodes\c1a28b2c52c04ce5bfa81a7e19e2afad.ts'". URL "GET" "/videos/860c20ea-9b4d-131c-72c5-8a6aa43dc621/stream.hls".
[2023-10-24 20:00:03.536 +01:00] [INF] [32] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Media Player" "1.9.1" playing "CNN Portugal". Stopped at "0" ms
[2023-10-24 20:00:03.543 +01:00] [INF] [32] Emby.Server.Implementations.Library.MediaSourceManager: Live stream "6a4775e9e21f59ab2fe67a7aaae7a661" consumer count is now 0
[2023-10-24 20:00:03.545 +01:00] [INF] [32] Emby.Server.Implementations.Library.MediaSourceManager: Closing live stream "a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_6a4775e9e21f59ab2fe67a7aaae7a661"
[2023-10-24 20:00:03.545 +01:00] [INF] [32] Emby.Server.Implementations.LiveTv.TunerHosts.M3UTunerHost: Closing "SharedHttpStream"
[2023-10-24 20:00:03.547 +01:00] [INF] [32] Emby.Server.Implementations.Library.MediaSourceManager: Live stream "a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_6a4775e9e21f59ab2fe67a7aaae7a661" closed successfully



RE: Live TV - Deleted User - 2023-10-24

simple enough, the random streams you found on github do not appear to be working streams

Code:
mpv https://streaming-live-app.rtp.pt/liverepeater/smil:rtp1HD.smil/playlist.m3u8
[ffmpeg] https: Stream ends prematurely at 0, should be 18446744073709551615
[ffmpeg] https: Will reconnect at 0 in 0 second(s), error=Input/output error.
[ffmpeg] https: Stream ends prematurely at 0, should be 18446744073709551615
[ffmpeg] https: Will reconnect at 0 in 1 second(s), error=Input/output error.
[ffmpeg] https: Stream ends prematurely at 0, should be 18446744073709551615
[ffmpeg] https: Will reconnect at 0 in 3 second(s), error=Input/output error.
[ffmpeg] https: Stream ends prematurely at 0, should be 18446744073709551615
[ffmpeg] https: Will reconnect at 0 in 7 second(s), error=Input/output error.



RE: Live TV - okamiryoko - 2023-10-24

I find it a bit weird that they all dont work, when its such an updated repo.

Anyway I found this one that works in VLC, but not in Jellyfin:

#EXTINF:-1 group-title="TV" tvg-id="sichd.tv.vodafone.pt" tvg-logo="https://raw.githubusercontent.com/LITUATUI/M3UPT/main/logos/SIC.png",SIC
#KODIPROP:inputstream=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=hls
https://d1zx6l1dn8vaj5.cloudfront.net/out/v1/b89cc37caa6d418eb423cf092a2ef970/index.m3u8


RE: Live TV - Deleted User - 2023-10-24

got a log for that one?