PDA

View Full Version : 16:9 adding borders and subtitles after that.


Potter
17th October 2002, 21:13
Hi

That worked, thanks.

Now to a new problem. After adding the subtitles in VirtualDub I get a new avi file which I encode to a VCD using DVD2SVCD. The format is usually 16:9 so I choose the "add borders" selection. The subtitles are thereby nearer the centre of the screen.

The thing is that I would like the subtitles to be at the bottom which means that I have to add the subtitles after adding the borders. Is there an easy way to do this perhaps with VirtualDub???

/Potter

Schultz
18th October 2002, 03:20
Hum can i ask you one thing why are you encoding in Virtualdub to an Avi and then to vcd in dvd2svcd? just a little curious.. If you source is a dvd then dvd2svcd can handle it.. but onto your other questions.

You should be able to posistion the text with the textsub plugin. If not try and load it in SubResync and convert it to a ssa format which you can then specify where you want them located. I don't have it on this computer (at work) so i can't tell you specifics on how exactly to get what you want done, done.

Potter
18th October 2002, 09:14
Hi

The source is a 16:9 format avi, not DVD, so that's why I use VirtualDub.

The subtitles are already positioned at the bottom of the 16:9 movie and then I add the borders in DVD2SVCD (well with the settings I use it's AVI2VCD) when I convert it to VCD format.

After the borders are added the subtitles are, of course, no longer at the bottom of the screen.

That's why I need to add border before or during I add the subtitles, so the subtitles will be at the bottom of the 4:3 movie.

I know that it's possible to add the subtitles in DVD2SVCD with a script (and that will place the subtitles in the bottom of the 4:3 movie), but that's too difficult for a beginner like me.

It would be much easier if I could just add the borders in VirtualDub while I also add the subtitles.

/Potter

Schultz
18th October 2002, 10:06
Well actually the script isn't that hard for avi2svcd just click the edit avisynth script after the dvd2avi process or try before the Video Encoding since dvd2avi probably don't run when using avi file source.
And then when the window pops up just put this at the top with the rest of the LoadPlugin commands if there are any.

LoadPlugin("C:\Program Files\Gabest\VobSub\textsub.vdf")

and then after the Resize and Addborders do this command..

TextSub("Path\to\Subtitles.sub")

and that will insert the subs into the video during the avi2svcd process because if you encode into VDub (Unless lossless codec) and then reencode again you lose some quality from both encodes..

ukendt
18th October 2002, 10:14
U have an avi file with burned-in subs ?
And U want to convert this avi file into a VCD ?
Is that rite ?
And U want the subs in the bottom ?
In this case U must add a black border on the top of the picture
Something like :
LoadPlugin("*YOUR PATH*\mpeg2dec.dll")
mpeg2source("")
AddBorders(16,put borderlines here,16,0)
#ResampleAudio(44100) # CCE 2.5 'crashfix' for Athlons

Be aware ! This script is for SVCD with avisynth and TMPG/CCE
U must make ur own for VCD and , again this script id for DVD2avi d2v files
Otherwise U must explain exactly what U mean

Potter
17th January 2003, 18:22
Hi

I'm using the textsub script to add subtitles to my VCDs by choosing "edit as part of videoencoding" in DVD2SVCD.

LoadPlugin("C:\PROGRA~1\Gabest\VobSub\textsub.vdf")
TextSub("c:\name_of_sub_file.sub")


Is there any way I can change the size of the subtitles???