Log in

View Full Version : if I want to add a subtitle to an encode using megui...


jarthel
30th June 2009, 03:41
what format should I use for the subtitle?

thank you :)

johnmckee
1st July 2009, 04:59
I use subripper in OCR mode to create a .srt file. Then use the textsub("path\filename.srt") in your avisynth script to add in the subs. Be sure to preview your product before closing subripper as you may need to alter the timing to get the subs in sync. Just use the preview window in megui to check for async and adjust as necessary. (Note: this is for hard coding your subs)

makikes
22nd August 2009, 08:48
You can also use ASS/SSA subtitles if you want. They're more flexible and allow you to tweak more parameters.

MatLz
22nd August 2009, 11:18
If your need is just one subtitle, you can create a text file with notepad and edit it as:

1
00:02:48,720 --> 00:02:54,360
Your text

(Time are example of course, adjust it to your need)
Then, rename .txt in .srt, then call this subfile with this line at the end of your script:
Textsub("YOUR PATH\yoursub.srt")
Or with the option in the avs script creator in Megui. But make sure you have vsfilter.dll in your Avisynth plugins directory.