This is something I wrote to preserve timed text (srt) or Advanced Substation Alpha (ass) subtitles in videos being edited with VideoRedo. It is used as follows:
That's all there is to it. Please note that the default behavior of the program is to delete your project files after it uses them. You can disable this behavior with the -kp (keep projects) option.
Best of luck! I can't promise any support, but you can reply here with any feedback.
- Install ffmpeg, if you don't already have it. I would suggest adding the path to the binaries into your path, but it isn't required.
- Modify the attached bat file with your choice of directores and options.
- Use VideoReDo to make cuts in your videos. I recommend you don't do anything other than make cuts. DO NOT SAVE YOUR VIDEOS - save project files instead, put them in the directory you specified in the bat file.
- Open a command window and type the command "subtitler" to start the bat file. The subtitler will open each of your projects in turn, save the video using the profile you selected, retrieve the first English subtitles it finds on the original video, modifies their timing in accordance with your cuts, and (depending on the options you choose) either embeds the updated subtitles into the output video or leaves them in a .srt file with the video.
That's all there is to it. Please note that the default behavior of the program is to delete your project files after it uses them. You can disable this behavior with the -kp (keep projects) option.
Best of luck! I can't promise any support, but you can reply here with any feedback.
Attachments
-
9.9 KB Views: 21
Last edited: