-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Hi subed people,
this is similar to Issue 15, but different enough to deserve a new thread...
So, question: I am learning subed now. I have subtitles for parts of some videos in an improvised format - in which each line is just a timestamp followed by text, like this: "14:01 So I took a look at the man page for xpdf" - and I would like to use subed to convert that to the SRT format. I can try to write a Lua script to do that conversion for me, but is there a more subed-ish way to do that? Here is a VERY rough idea to start with: we would use a keyboard macro that supposes that we are in a two-window setting with .srt at the left and the improvised subtitles at the right; each time that we run the keyboard macro it would run `subed-insert-subtitle' in the .srt window, copy one line from the right window to the left window, and it would somehow use my timestamp - the "14:01" in the sample line above - to set up the start and the stop time of the subtitle...
My problem is with the step "and it would somehow use my timestamp" above, of course. Besides that I was mind-blown by how easy it was to set up subed here... really, really, really good job, Random User, Sacha, and others! =)
Btw, here is an example of these improvised subtitles: http://angg.twu.net/emacsconf2019.html