I have a 480x480 mpeg-2 file that has 'letterbox' black bars such that the actual video only takes up 480x352 of the entire 480x480 (so 64 lines above and 64 lines below are wasted with black). I always encode to XviD 480x480 using virtual dub mod. I'd like to know if there's a way I can encode the video to 480x352, and then insert 64 lines above and 64 lines below of pure black so the total res will be 480x480. I think if I do it this way, I would be saving bits for the actual video instead of wasting them on the black in the original file. So... how do i do it![]()
+ Reply to Thread
Results 1 to 4 of 4
-
http://encoding.n3.net <-- for all your DVD and CD backup needs!
-
Just encode to 480x352 without adding any black bars,any reason you want to add them to xvid which doesnt need black borders?
I think,therefore i am a hamster. -
I want the letterbox feel to the picture; it will be watched on a TV.
http://encoding.n3.net <-- for all your DVD and CD backup needs! -
Nevermind, I figured it out:
1. resize filter to 480x352
2. crop with Y1 offset = 64 and a Y2 offset = 64
3. expand frame and letterbox image back to 480x480 using pure black as color
Doing it this way:
-saves valuable bitrate by not encoding the black lines making up the letterbox of the original source (XviD and DivX are notorious for not getting black right; often introduces visual artifacts to the black which looks like crap, and wastes bits that would otherwise go to your video stream)
-preserves the 480x480 resolution
-gives a nice sharp letterboxhttp://encoding.n3.net <-- for all your DVD and CD backup needs!
Similar Threads
-
need to correct Aspect Ratio by padding/adding black bars - author AVCHD
By texas1 in forum Authoring (Blu-ray)Replies: 3Last Post: 24th Nov 2011, 11:44 -
Adding black bars
By ebay in forum Video ConversionReplies: 4Last Post: 7th Aug 2010, 04:37 -
Black Bars
By cinnamonhearts2 in forum Newbie / General discussionsReplies: 15Last Post: 30th Jul 2009, 12:44 -
black bars or not?
By Cowabunga in forum Video ConversionReplies: 6Last Post: 16th Apr 2009, 12:56 -
Autodesk Cleaner: adding letterbox black bars ("widescreen matte"
By sybariten in forum Video ConversionReplies: 2Last Post: 13th Mar 2008, 07:57