PDA

View Full Version : How to add black lines at the top and bottom of a movie?


OSPrivate
1st July 2005, 16:00
Hello all
My question is how do I resize the movie but without changing the movie ratio.

For most of my movies I add permanent subtitles. The subtitles are placed at the bottom of the movie. If I have movie 640X270, then when I'll play it I'll see two black lines at the top and the bottom. I want to let the VirtualDUB program to know, that I'll have 640x480 screen, so the subtitles can be placed below the actual movie, and again the movie itself shouldn't be 640x480 because everything will appear distorted.

Is there an option to do so with one of the filters?
Thanks in advance
OS

unskinnyboy
1st July 2005, 16:27
Have a look at the AviSynth filter AddBorders() (http://www.avisynth.org/AddBorders).

OSPrivate
1st July 2005, 17:31
Is there a direct VirtualDUB option or need I start learning how to use AviSynth :confused:

unskinnyboy
1st July 2005, 18:20
Err..OK..Personally I am more of an AviSynth man than a VirtualDub man. But here are the instructions anyways:

Press Ctrl+F in VirtualDubMOD.

Press 'Add'.

Select 'resize', press 'OK'.

Check 'Expand Frame and Letterbox Image'.

Enter values like below:
http://img266.imageshack.us/img266/2133/clipboard012dt.jpg

Hit 'Show Preview'.

Now you have a 640x272 (I hope you meant 272 and not 270) picture letterboxed into 640x480. Proceed when satisfied.

OSPrivate
1st July 2005, 18:21
In VirtualDUB there is resize filter.
I needed to keep the size the same as the original video and then
check "extend frame and letterbox image" box
in this section I can write the needed resolution and the program will add the needed borders.

Still I have to add the subtitles in two phases.
a) resize the movie and add the borders
b) add the subtitles

Unless I do that in two phases the subtitles are placed too high in the movie.

Hope that this will help someone in the future
OS

OSPrivate
1st July 2005, 18:22
:D
:goodpost:

OSPrivate
1st July 2005, 18:23
Is there a recomended "filter mode"?