Jellyfin Forum
Jellyfin on Chromecast keeps stopping mid-episode - 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: Jellyfin on Chromecast keeps stopping mid-episode (/t-jellyfin-on-chromecast-keeps-stopping-mid-episode)



Jellyfin on Chromecast keeps stopping mid-episode - ram - 2024-09-10

This has been a big pain for me, but I keep having an issue where reliably, during playback, the Chromecast pauses playback to buffer endlessly. For the particular file I'm examining the problem with, playback's freezing at 00:05:13, which, visually, appears to be the last frame of the transcoded segment. This, however, has been a problem with different video files from different media sources.

To attempt to resolve the issue, I:
- End the Chromecast Session
- Reset episode progress
- Shut down Jellyfin
- Allow ffmpeg to finish its transcoding session
- Delete the transcoding session
- Start Jellyfin
- Start the Chromecast Session
- Begin playback from the episode
- Wait for 00:05:13 to appear again

The logs for my Jellyfin: https://pastebin.com/aJmG5Rdi
The logs for the FFmpeg.DirectStream: https://pastebin.com/xMbUvKwW
These logs are from after the previous procedure was followed, and logs were cleared / reset.

Thanks for any help!!


RE: Jellyfin on Chromecast keeps stopping mid-episode - TheDreadPirate - 2024-09-10

Your server and ffmpeg logs look fine.

What model Chromecast is this?


RE: Jellyfin on Chromecast keeps stopping mid-episode - ram - 2024-09-11

(2024-09-10, 03:02 PM)TheDreadPirate Wrote: Your server and ffmpeg logs look fine.

What model Chromecast is this?

It's a Chromecast Ultra (two different ones, even)


RE: Jellyfin on Chromecast keeps stopping mid-episode - TheDreadPirate - 2024-09-11

For all the videos you are having issues with, does it always fail at 5:13 into the video?


RE: Jellyfin on Chromecast keeps stopping mid-episode - ram - 2024-09-12

(2024-09-11, 03:29 PM)TheDreadPirate Wrote: For all the videos you are having issues with, does it always fail at 5:13 into the video?

No it's at different points in the videos and often multiple times throughout the playback


RE: Jellyfin on Chromecast keeps stopping mid-episode - TheDreadPirate - 2024-09-12

Can you try remuxing one of these files and try the new file? This does not require re-encoding.

Open a command prompt and run this command.

Code:
ffmpeg -fflags +genpts+igndts -i "E:\Live Action Shows\Doctor Who (2005) [tvdbid-78804]\Season 10\Doctor.Who.2005.S10E01.The.Pilot.720p.BluRay.DD.5.1.x264-DON.mkv" -codec copy -avoid_negative_ts make_zero -max_muxing_queue_size 2048 -max_interleave_delta 0 "E:\newFile.mkv"