-
Notifications
You must be signed in to change notification settings - Fork 103
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
Current subtitle is not displayed after seeking #491
Comments
@umlx5h When the subtitles are embedded (even if there are TEXT and not BITMAP) the will not be displayed because the demuxer will seek to the video keyframe while the subtitles are probably a bit before that. So the problem is that with the current design it will not find the nearest subtitle frame. This also related with bad interleaved muxing files. Similarly for MaxSubsFrames... the external SRT files will be more accurate as the will be seek differently to the exact video frame timstamp. |
I see, so you are saying that the current design is difficult to deal with? |
Yes, sorry for not clarifying that. This is related to this #465. (Pre-caching subtitle packets independently from other streams) |
I see. Thank you for the explanation. |
I checked again and found the same problem with VLC, I've fixed issue description. There was no problem with mpv at all. For example, large jumps using the seek bar do not cause the problem. It seems that the subtitle information is not cached but the problem does not occur in some way.
So it may be slightly unrelated to #465. |
Thank you for supporting bitmap subtitles!
I noticed a inconsistent behaviour with internal bitmap subtitles in DVD format compared to SRT subtitles (not bluray).
With bitmap subtitles turned on, if there is already a subtitle playing after you seek, it will not be displayed.
If playback continues after seeking, the next subtitle will be displayed.
there's no problem for SRT subtitles,
(the bitmap sub is converted to SRT using Subtitle Edit.)
I think it's because the timestamp has exceeded the start of the subtitle when seeking, but I don't have a problem with external subtitles, so could you solve this?
The same video file was checked in mpv and
VLCwith no problems.Also, this might be better to make another Issue, but if we increase the
MaxSubsFrames
in Config such as 1 to 5, the subtitles will not be displayed as much as we have increased them after seek.This was also not a problem with SRT.
The text was updated successfully, but these errors were encountered: