Letterboxing in VirtualDubMod

User avatar
Kionon
I ♥ the 80's
Joined: Fri Mar 02, 2001 10:13 pm
Status: Ayukawa MODoka.
Location: I wonder if you know how they live in Tokyo... DRIFT, DRIFT, DRIFT
Contact:
Org Profile

Post by Kionon » Thu Dec 20, 2007 4:49 am

What is better about vdubmod is that you can change the letterboxing color. I am working on a video where the letterboxing is pink. If avs can do that, I haven't learned how.
ImageImage
That YouTube Thing.

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Post by Qyot27 » Thu Dec 20, 2007 5:06 am

Kionon wrote:What is better about vdubmod is that you can change the letterboxing color. I am working on a video where the letterboxing is pink. If avs can do that, I haven't learned how.
AddBorders can do it, by specifying a hex value or by referring to a color preset.

For instance,

Code: Select all

[source loader]
AddBorders(0,64,0,64, color=color_turquoise)
Adds turquoise borders.

http://avisynth.org/mediawiki/AddBorders
http://avisynth.org/mediawiki/Colors
http://avisynth.org/mediawiki/Color_presets

User avatar
guy07
Joined: Mon Sep 08, 2003 1:28 pm
Status: Back in beard.
Location: T.O.
Org Profile

Post by guy07 » Thu Dec 20, 2007 2:54 pm

I should prob point out that most people prefer videos WITHOUT letterboxes ...so how you resize the video WITHOUT letter boxing with V-dub is what you should be teaching him. And me. :D

User avatar
Phantasmagoriat
Joined: Mon Feb 06, 2006 11:26 pm
Status: ☁SteamPunked≈☂
Contact:
Org Profile

Post by Phantasmagoriat » Thu Dec 20, 2007 3:26 pm

guy07 wrote:I should prob point out that most people prefer videos WITHOUT letterboxes ...so how you resize the video WITHOUT letter boxing with V-dub is what you should be teaching him. And me. :D
Good point, I prefer it that way as well since it totally saves your filesize... and actually fits on my widescreen display. I never tried using vdub, but with avisynth through vdub:

Code: Select all

crop(0,60,0,-60)  #crop(from left, from top, -ve from right, -ve from bottom)
or 
lanczosresize(640,352)   #(width, height)  scenes will be squished thought
PLAY FREEDOOM!! | Phan Picks! | THE424SHOW | YouTube | "Painkiller" | Vanilla MIDI's
"Effort to Understand; Effort to be Understood; to See through Different Eyes."

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Post by Qyot27 » Thu Dec 20, 2007 7:13 pm

guy07 wrote:I should prob point out that most people prefer videos WITHOUT letterboxes ...so how you resize the video WITHOUT letter boxing with V-dub is what you should be teaching him. And me. :D
Yeah, except this concerns mixing 4:3 and 16:9 footage, and unless you want to lose visual information (by cropping the top and bottom off the 4:3 areas or cropping the sides from the 16:9 clips), letterboxing the 16:9 sections is the only way to do it. At least correctly.

In other words, the available solutions are:
  • Crop the top and bottom from the 4:3 to match the 16:9 segments
  • Crop the right and left from the 16:9 to match the 4:3 segments (may involve upscaling or downscaling if the height of the 16:9 clips isn't already the same as the 4:3)
  • Letterbox the 16:9 footage so it matches the 4:3, and neither loses information
All you have to do to resize in VDub without letterboxing is just not check 'Expand frame and letterbox image'. But unless you're cropping using the method I already pointed out above, then it's going to distort the picture.

Locked

Return to “Video & Audio Help”