Jellyfin Forum
Seeking jumpts to wrong time, causes long buffering - 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: Seeking jumpts to wrong time, causes long buffering (/t-seeking-jumpts-to-wrong-time-causes-long-buffering)



Seeking jumpts to wrong time, causes long buffering - Delivator - 2024-12-18

Hey,

I have an issue where playback buffers super long whenever I seek or resume playback that is not starting at the beginning. Playing from start is no issue at all and starts fast.
It's set up to only transcode audio and so it should be fairly fast. I checked logs too and they don't indicate any issue (2-3x transcoding speed).

Starting from the beginning it takes about a second to start. I then tried pressing the "next chapter" button which should jump to 10:00. It then takes about 4 minutes and 30 seconds to load and starts playback at 19:56?? No idea what's going on there.
And then jumping to 5:00 it takes about 2 minutes and then resumes playback at 10:15?

Hope someone can help me with this.


RE: Seeking jumpts to wrong time, causes long buffering - TheDreadPirate - 2024-12-18

What kind of video is it? What container? TS? MKV or MP4?


RE: Seeking jumpts to wrong time, causes long buffering - Delivator - 2024-12-19

Episode of a TV Show, MKV container, H264 video, DTS-HD Master Audio / 5.1 / 48 kHz / 2476 kbps / 24-bit.
Log: https://pastebin.com/raw/gwdvqX1L


RE: Seeking jumpts to wrong time, causes long buffering - TheDreadPirate - 2024-12-19

The issue is likely that the container was poorly muxed. You can try remuxing the video to attempt to repair the container. No encoding required.

Open a command prompt and type this command.

Code:
ffmpeg -fflags +genpts+igndts -i "Z:\Media\Shows\Mr. Robot\Season 03\Mr_ Robot_S03E01_eps3_0_power-saver-mode_h.mkv" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled Z:\newFile.mkv