mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
[Issue]: Playback error when transcoding Live TV channel #5870
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#5870
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @VitoFe on GitHub (May 27, 2024).
Please describe your bug
Jellyfin Version: 10.9.3
When Transcoding this live tv channel ( https://live03-col.msf.cdn.mediaset.net/live/ch-c5/c5-clr.isml/manifest.mpd ), which is one of the main national italian tv channels, I get Playback Error (This client isn't compatible with the media and the server isn't sending a compatible media format.). In the logs I can see "Invalid data found when processing input" which is strange since VLC can play the stream fine.
When Direct Playing it, it seems to initially work (using jellyfin media player on arch linux), but after a while it fails, looping audio while showing the correct video.
Reproduction Steps
Try to force transcoding for this live tv source https://live03-col.msf.cdn.mediaset.net/live/ch-c5/c5-clr.isml/manifest.mpd , can't play due to source error.
Try to direct play this live tv source https://live03-col.msf.cdn.mediaset.net/live/ch-c5/c5-clr.isml/manifest.mpd , will play for a while (about 2 minutes) and then it will start messing up / looping audio.
Unfortunately the stream may be geoblocked, so in order to reproduce I think you should be using a VPN through an Italian IP.
Previously running Jellyfin 10.8.13, the same issue was present.
Jellyfin Version
10.9.0
if other:
10.9.3
Environment
Jellyfin logs
FFmpeg logs
Please attach any browser or client logs here
hls.js response error code: 500 main.jellyfin.bundle.js:2:98044
playbackmanager playback error type: mediadecodeerror main.jellyfin.bundle.js:2:158651
Please attach any screenshots here
No response
Code of Conduct
@jellyfin-bot commented on GitHub (May 27, 2024):
Hi, it seems like your issue report has the following item(s) that need to be addressed:
This is an automated message, currently under testing. Please file an issue here if you encounter any problems.
@VitoFe commented on GitHub (May 27, 2024):
These are the jellyfin logs when direct playing that stream:
Using an alternative HLS stream link for the same source ( https://live02-seg.msf.cdn.mediaset.net/live/ch-c5/c5-clr.isml/index.m3u8 ), transcoding still errors but in a different way, while direct play seems to be working.
@VitoFe commented on GitHub (Jun 19, 2024):
I updated Jellyfin to 10.9.6.
Direct play now works fine, but errors still occur when enabling Force Transcode for Live TV and connecting to a stream:
On Jellyfin Media Player I get "Playback failed with error "no audio or video data played". Retry with transcode? (Note this may hang the player.)", and when hitting Retry, "PlaybackError.mediadecodeerror".
On Firefox Browser I get "Playback failed due to a fatal player error.", showing "HLS Error: Type: networkError Details: levelLoadError Fatal: false" in console
On the Android Client only a couple of channels work (Transcode), most just hang and spam the ffmpeg log with " Invalid timestamps"
Looks like the Live tv transcoding still broken on 10.9.6. Unfortunately I have to force transcoding due to the necessity to proxy the streams to one family member who is in another country, who cannot direct stream the geoblocked channels.
@VitoFe commented on GitHub (Jun 25, 2024):
Updated to 10.9.7
Still same issue, same errors occur. Nothing changed (Direct Play works, Transcoding does not work).
This is the media info shown when direct streaming:
Original Media Info
Container: hls
Size: 2 KiB
Bitrate : 2.1 Mbps
Video codec: H264 High
Video bitrate: 2.0 Mbps
Video range type: SDR
Audio codec: AAC HE-AAC
Audio bitrate: 96 kbps
Audio channels: 2
Audio sample rate: 48000 Hz
@gnattu commented on GitHub (Jun 25, 2024):
Try remove the tuner and add it back again
@VitoFe commented on GitHub (Jun 25, 2024):
I removed the tuner and added it back again, no changes. Still getting "PlaybackError.mediadecodeerror" on JMP and "Playback failed due to a fatal player error" on web browser
The same errors occur also on a bunch of other streams I have which should not be geoblocked, so it would be easier for you to replicate on these:
https://ilglobotv-live.global.ssl.fastly.net/RAIItaliaZA/Live.m3u8
https://raw.githubusercontent.com/Alstruit/adaptive-streams/alstruit-10_23_us/streams/us/CNNUSA.us.m3u8
@VitoFe commented on GitHub (Jun 25, 2024):
These are the Jellyfin Media Player logs when trying to stream with Force Transcode turned on:
@jellyfin-bot commented on GitHub (Dec 27, 2024):
This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.
If you have any questions you can use one of several ways to contact us.
@jellyfin-bot commented on GitHub (Jan 18, 2025):
This issue was closed due to inactivity.