New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shift+Forward/Backwards not working properly with MKV built in subtitles #4882
Comments
For audio/video playback and subtitle rendering support IINA is using a library from the mpv project. It is The key ⇧→ is bound to the
This is a known
That was 2013. I think Try using the |
See also #4172 |
Thanks for mentioning #4172. I had totally forgotten about that issue. |
Tried that and it helped - were able to go through the whole file without "precaching". But that's not really handy :) Will try the #4172 thing. |
I believe the #4172 thing is the cache settings discussed in issue #4881. By reading ahead and caching |
Yes correct, your demux cache size would need to be large enough such that we can demux-ahead the next sub packet. Since subs are non-eager streams, they are usually demuxed along with video. So this means that you need to set demux cache to basically If you are not concerned with memory usage, setting demux cache max bytes to a large value like 300MB and then setting |
System and IINA version:
Expected behavior:
Shift+Forward/Backwards to skip to the next/previous subtitle.
Actual behavior:
The feature works 100% properly if the subtitles are stored as an external file.
If the subtitle is a part of the MKV - it works only if the subtitle has been "cached" already. Nothing will happen if you hit Shift+Forward while the next subtitle is 10 seconds away.
Use case example: you're watching something with an opening and you want to skip it. You know that the opening itself has no subtitles and you want to skip to the first dialog. Hitting Shift+Forward will work only if the subtitles are stored in a separate file.
It will also work if you run through the episode and "cache" all the lines - then the feature would work.
Steps to reproduce:
Open any MKV with built in subtitles. Hold (or press repeatedly) Shift+Forward. You will get stuck when there will be like 5+ gap between subtitles.
But you'll be able to go through the whole episode if the subtitles are external (like .srt file)
How often does this happen?
100% of the time.
Thank you for your work!
The text was updated successfully, but these errors were encountered: