-
Notifications
You must be signed in to change notification settings - Fork 16
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
How to insert a new subtitle that begin at the actual timestamp of mpv? #26
Comments
Looks like that's a missing feature.
You can copy the start and stop time from mpv to the current subtitle with C-c [
and C-c ], so M-i C-c [ should do what you want. But having a dedicated
keybinding for this would be nice.
|
Yes, it would be nice. EDIT: perhaps something to do with #1 (see section "3. Insert subtitle with player's timestamp") |
M-i inserts the subtitle between the current and the next subtitle.
subed tries to be smart and seeks the mpv playback position to the timestamp of
the subtitle on point.
As a result, inserting a new subtitle (which also moves point to it) makes mpv
seek to that new subtitle.
You can toggle the auto-seek behaviour with C-c , or maybe C-c . which does the
opposite (moving point to current playback position). I have a very hard to time
distinguish between those two for some reason.
C-h m should get you a list of all keybindings.
|
Thanks! I was a little bit confused with all the options. Conclusion :
The end of the subtitle could then be before the start (because of the timestamp previously given by M-i) but my main problem is solved. I leave the bug opened because I think the procedure could be more simple ;-) |
The subed-split-subtitle command at https://github.com/rndusr/subed/pull/25 may be useful for this scenario, if you start with a subtitle that spans the whole video. |
I don't know if I understand badly how to use
subed
or if it is a missing feature.For example, I open a .srt file and load the video.
There are some subtitles for the first minute of the video.
I press M-SPC to play the video for 2 minutes.
Then I pause the video and I want to insert a subtitle that starts at 2 minutes (the actual timestamp of
mpv
).Is it possible to do this?
Each time I use M-i,
subed
add a new subtitle that starts at the end of the last subtitle (plus a given length) and backward the video accordingly.The text was updated successfully, but these errors were encountered: