PDA

View Full Version : Format of textsub


Miks
7th November 2002, 18:55
Dear all,

Can anyone give me an example of how to use the following plugin?

TextSub("path\filename.ext"[, charset[, fps]])
I need to specify the framerate 23.976

I have tried many combinations, but it keeps giving me an error

Thanks in advance:

Michael Mondrup

LoadPlugin("C:\Programmer\Gabest\VobSub\textsub.vdf")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
AVISource("C:\VCD\col.avi")
ConvertToYUY2()
BicubicResize(480,344,0.33,0.33)
AddBorders(0,68,0,68)
TextSub("C:\VCD\1033076213-12-Collateral Damage (2002).srt"[, [,23.976]])

Zarxrax
7th November 2002, 23:58
You can just do:
TextSub("path\filename.ext")

You dont really need the other stuff unless you explicitly need to change the fps, which I dont know why you would. There are seperate programs out there like Subadjust that can change the rate of the file if you need for it to.

Schultz
8th November 2002, 00:02
The brackets mean the setting is optional i belive you can do this..
TextSub("C:\VCD\1033076213-12-Collateral Damage (2002).srt",,23.976)
Since you don't want to set the default char set just leave it blank and then specify the framerate..

Edit: I just read that you are using a srt file. You don't need to specify a framerate with Srt files since they are time based not framerate based.. If your subs are off you can use SubResync to adjust the times of the subs to make them back in sync.