Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player Crash on M3U8 LiveTV #4178

Open
BotBlake opened this issue Nov 6, 2024 · 2 comments
Open

Player Crash on M3U8 LiveTV #4178

BotBlake opened this issue Nov 6, 2024 · 2 comments
Labels
bug Something isn't working playback Issue related to media playback

Comments

@BotBlake
Copy link

BotBlake commented Nov 6, 2024

Describe the bug

  1. Add an m3u List with m3u8 Stream URLs to Jellyfin
    -> You will note they all work just fine on Jellyfin Web

However on Jellyfin Android TV, they will not play.

Instead the following happens:

  1. Screen turns black (as if playback would start now)
  2. Screen switches back to the Channel Menu
  3. Error Message: "Live TV stream error. Try again..."
    Image
  4. Error Message: "Player Error. Retrying..."
    Image

I do not have an up-to-date TVGuide. I have full permissions for LiveTV.
I tested with both forced transcoding and without.
For testing, I also gave the User Admin permissions.

All that didnt help: Android TV wasnt abled to play back the Live TV Stream.

Since I have found a m3u8 Stream is fully public and free to watch, I see no Reaason not to share it in here.
This is one of the Streams I am having that issue with too: (Live Stream off a random Airport I have once been to)

https://stream-5gw.1000eyes.de/cupertino/dusfcae.stream/chunklist_w1244453062.m3u8

I dont have proof, but I am pretty sure I have seen this working on an earlier Android TV/ Jellyfin Server Version.
Something 10.9.x.

Note: This issue is also happening on the current Stable build on Google Play, and therefore cannot be related to the latest beta changes.

Logs

Jellyfin Server Logs of the Event: (repeat multiple times)

[23:23:48] [INF] [79] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for BotBlake. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[23:23:49] [INF] [79] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Android TV 0.18.0-beta.2 playing DUS Terminal. Stopped at 0 ms
[23:23:49] [INF] [79] Emby.Server.Implementations.Library.MediaSourceManager: Live stream c8d2ea5a0d5897955a5d2c78ec38df79 consumer count is now 6
[23:23:49] [INF] [79] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for BotBlake. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[23:23:49] [INF] [79] Jellyfin.LiveTv.LiveTvMediaSourceProvider: Opening channel stream from Emby, external channel Id: m3u_ffd4e4cd47793f70b637eae18363b5b2c8d2ea5a0d5897955a5d2c78ec38df79
[23:23:49] [INF] [79] Jellyfin.LiveTv.DefaultLiveTvService: Streaming Channel m3u_ffd4e4cd47793f70b637eae18363b5b2c8d2ea5a0d5897955a5d2c78ec38df79
[23:23:49] [INF] [79] Jellyfin.LiveTv.DefaultLiveTvService: Live stream c8d2ea5a0d5897955a5d2c78ec38df79 consumer count is now 7
[23:23:49] [INF] [81] Emby.Server.Implementations.Library.MediaSourceManager: Live tv media info probe took 0.000265 seconds
[23:23:49] [INF] [81] Emby.Server.Implementations.Library.MediaSourceManager: Live stream opened: {"Protocol": "Http", "Id": "c8d2ea5a0d5897955a5d2c78ec38df79", "Path": "https://stream-5gw.1000eyes.de/cupertino/dusfcae.stream/chunklist_w1244453062.m3u8", "EncoderPath": null, "EncoderProtocol": null, "Type": "Default", "Container": "hls", "Size": 202, "Name": null, "IsRemote": true, "ETag": null, "RunTimeTicks": null, "ReadAtNativeFramerate": false, "IgnoreDts": false, "IgnoreIndex": false, "GenPtsInput": false, "SupportsTranscoding": true, "SupportsDirectStream": false, "SupportsDirectPlay": true, "IsInfiniteStream": true, "UseMostCompatibleTranscodingProfile": true, "RequiresOpening": true, "OpenToken": null, "RequiresClosing": true, "LiveStreamId": "e2329f4997b378e64ccf8fa396deb76e_af999c25a00715699361240d4c6c7a53_c8d2ea5a0d5897955a5d2c78ec38df79", "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, "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": "480p H264 SDR", "NalLengthSize": "0", "IsInterlaced": false, "IsAVC": null, "ChannelLayout": null, "BitRate": 2000000, "BitDepth": 8, "RefFrames": 1, "PacketLength": null, "Channels": null, "SampleRate": null, "IsDefault": false, "IsForced": false, "IsHearingImpaired": false, "Height": 450, "Width": 800, "AverageFrameRate": null, "RealFrameRate": 29.97003, "ReferenceFrameRate": 29.97003, "Profile": "Main", "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": "yuvj420p", "Level": 31, "IsAnamorphic": false, "$type": "MediaStream"}], "MediaAttachments": [], "Formats": [], "Bitrate": 2000000, "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": "pc", "ColorSpace": "bt709", "ColorTransfer": "bt709", "ColorPrimaries": "bt709", "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": "480p H264 SDR", "NalLengthSize": "0", "IsInterlaced": false, "IsAVC": null, "ChannelLayout": null, "BitRate": 2000000, "BitDepth": 8, "RefFrames": 1, "PacketLength": null, "Channels": null, "SampleRate": null, "IsDefault": false, "IsForced": false, "IsHearingImpaired": false, "Height": 450, "Width": 800, "AverageFrameRate": null, "RealFrameRate": 29.97003, "ReferenceFrameRate": 29.97003, "Profile": "Main", "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": "yuvj420p", "Level": 31, "IsAnamorphic": false, "$type": "MediaStream"}, "$type": "MediaSourceInfo"}
[23:23:49] [INF] [81] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for BotBlake. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[23:23:49] [INF] [79] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Android TV 0.18.0-beta.2 playing DUS Terminal. Stopped at 0 ms
[23:23:49] [INF] [79] Emby.Server.Implementations.Library.MediaSourceManager: Live stream c8d2ea5a0d5897955a5d2c78ec38df79 consumer count is now 6

FFmpeg logs

No response

Media info of the file

No response

Application version

0.18.0-beta.2

Device information

Chromecast with Google TV HD

Android version

12

Jellyfin server version

10.10.1

@BotBlake BotBlake added bug Something isn't working playback Issue related to media playback labels Nov 6, 2024
@Hello-World-Traveler
Copy link

Have you checked the settings for transcoding live tv?

@BotBlake
Copy link
Author

BotBlake commented Nov 7, 2024

Have you checked the settings for transcoding live tv?

Yes, thats what I meant by I have full permissions for LiveTV. and I tested with both forced transcoding and without.
Sorry for inaccurate wording here.

Additionaly, you can see in the attached Logfile:
User policy for BotBlake. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

ffmpeg logs dont exist for this event (even when transcoding is forced), so I wasnt abled to attach any transcoding log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working playback Issue related to media playback
Projects
None yet
Development

No branches or pull requests

2 participants