Jellyfin Forum
Browser playback is a stuttery mess - 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: Browser playback is a stuttery mess (/t-browser-playback-is-a-stuttery-mess)

Pages: 1 2 3


RE: Browser playback is a stuttery mess - TheDreadPirate - 2024-01-05

If multiple clients are stuttering with direct play this leads me to believe that the issue might be due to poorly authored MKVs, if your files are MKVs. MKVs have a strict time code implementation. A poorly remuxed MKV can cause the issue you are describing.

The solution to this is to use ffmpeg to re-containerize all the streams.

Code:
ffmpeg -i yourcurrentMKV.mkv -map 0:v -map 0:a -map 0:c -map_chapters 0 -c:v copy -c:a copy -c:s copy newMKV.mkv

This will re-containerize the MKV without reencoding anything. Should be very quick.


RE: Browser playback is a stuttery mess - Brumes - 2024-01-05

(2024-01-05, 09:04 AM)TheDreadPirate Wrote: Are all of your files MKVs?

Seems to all be MP4's as far as I can see

(2024-01-05, 04:05 PM)tmsrxzar Wrote: "Sticking to JMP would mean no possibility for playback on a phone as both availably apps had the same issue as chrome. "

what "phone" is this and why are you using a browser on a phone for playback instead of an app?
browser clients are at the mercy of the browser coding and actual clients can do a better job; on ALL platforms

As I said before in the thread its a oneplus 7, and as I said in the message you quoted and also earlier in the thread *both* the apps *and* chrome on the phone suffer from the same stuttering


RE: Browser playback is a stuttery mess - TheDreadPirate - 2024-01-05

I'd still give my ffmpeg command a try. Swap mkv with mp4. Or maybe convert to mkv? The only thing that makes sense is that there is something off about your files since transcoding fixes it.


RE: Browser playback is a stuttery mess - Brumes - 2024-01-06

(2024-01-05, 07:33 PM)TheDreadPirate Wrote: I'd still give my ffmpeg command a try.  Swap mkv with mp4.  Or maybe convert to mkv?  The only thing that makes sense is that there is something off about your files since transcoding fixes it.

The command didn't work with the error: 
Code:
Invalid stream specifier: c. Last message repeated 3 times Stream map '0:c' matches no streams.
until I removed the " map '0:c' " after that it ran.
Converting to MP4 did not change anything.
Converting to MKV did cause it to transcode and playback normally.

Also i would like to add that the file plays back fine in VLC or JMP, its only when playing them in chrome or the mobile apps that the issue occurs.


RE: Browser playback is a stuttery mess - TheDreadPirate - 2024-01-06

Oh. My bad, typo. -map 0:c should be -map 0:s

Code:
ffmpeg -i yourcurrentMKV.mkv -map 0:v -map 0:a -map 0:s -map_chapters 0 -c:v copy -c:a copy -c:s copy newMKV.mkv