Aleksoid1978 / MPC-BE

MPC-BE – универсальный проигрыватель аудио и видеофайлов для операционной системы Windows.
GNU General Public License v3.0
1.88k stars 83 forks source link

Subs fail to appear if using "Subtitle Delay" of more than a few seconds #465

Closed zimzam55 closed 1 month ago

zimzam55 commented 1 month ago

"Subtitle Delay" seems broken. It does not just time shift subtitles but seems to reduce the time they are shown on screen too. If I shift more than -4000 ms it starts dropping subtitles and -5000 or more, NO subtitles show on the screen.

To recreate: Set 'Subtitle Delay' to (-10000 ms) (10 seconds) and you will see that subtitles are not off by 10 seconds, but they fail to appear at all.

I installed XySubFilter and it did not change the issue.

Aleksoid1978 commented 1 month ago

Yes, it's not supported work with "many" seconds delay.

zimzam55 commented 1 month ago

Thank you for the fast reply. Is there hope that it can be fixed? It is the only thing that forces me to use other players for some programs.

Aleksoid1978 commented 1 month ago

There are difficulties there, so there are no plans yet.

v0lt commented 1 month ago

Are the subtitles inside the media file or as an external file?

If the subtitle file is external, it should work at large time offsets.

If the subtitle file is inside a media file and you need such a large time offset, then you have a corrupted media file (the file was made incorrectly).

v0lt commented 1 month ago

You can increase the possible time offset by increasing the splitter buffer (memory consumption will also increase and there may be delays in navigation). Vew > Options > Internal filters > Buffer length.

zimzam55 commented 1 month ago

They are internal subs, I just tried with an external .srt and you are correct, it worked. Is there a way to extract the internal subs to a .srt, maybe that is a work around. I believe these subs were typed in real time in a live broadcast, causing the delay. Even -3 seconds causes issues though. I'll also try your fix now

zimzam55 commented 1 month ago

Increasing the buffer did the trick, thank you! I changed it from 3 to 15 but will experiment. Also sometimes I can only find the wrong sub for a file and have to do a 10s delay so it would be great to be fixed in the future. Thanks again

v0lt commented 1 month ago

If the subtitle file is inside a media file and you need such a large time offset, then you have a corrupted media file. We have no intention of fixing the playback of broken media files. Use special tools to fix files.