Hi. I am using mencoder in linux to batch encode a bunch of videos to a lower resolution with the command line. I am using the command -vf scale -zoom -xy 512 (for example) to set the width of every encoded video to 512 (which is a multiple of 16 or mod 16). This command will automatically determine the correct vertical resolution for the video, but will not result in a mod 16 resolution. So far, these commands have been very handy so that I don't have to set the values for EVERY video, and the batch does the work for me. But I want the output to have a mod 16 vertical resolution. Is there any command that I can use in mencoder that will FORCE a mod 16 resolution?
Thanks
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 2 of 2
Thread
-
Cheers
-
I digging up some late replies today
From man mencoder
Code:scale[=w:h[:ilaced[:chr_drop[:par[:par2[:presize[:noup[:arnd]]]]]]]] Scales the image with the software scaler (slow) and performs a YUV<->RGB colorspace conversion (also see -sws). <w>,<h> scaled width/height (default: original width/height) NOTE: If -zoom is used, and underlying filters (including libvo) are incapable of scal- ing, it defaults to d_width/d_height! 0: scaled d_width/d_height -1: original width/height -2: Calculate w/h using the other dimension and the prescaled aspect ratio. -3: Calculate w/h using the other dimension and the original aspect ratio. -(n+8): Like -n above, but rounding the dimension to the closest multiple of 16. --------------------------snipped for length------------------- read it yourself :D
If you wanted to auto size to 512x$MOD16, try
-vf scale=512:-11Linux _is_ user-friendly. It is not ignorant-friendly and idiot-friendly.
Similar Threads
-
AutoGk -- how to "force" fixed resolution ?
By ralf07 in forum Video ConversionReplies: 6Last Post: 10th Sep 2011, 16:21 -
Auto adjusting screen resolution to video resolution
By Computer Nerd Kev in forum Software PlayingReplies: 11Last Post: 11th Jul 2011, 06:36 -
How to change video resolution exactly in Virtual Dub Mod 16:9 to 4:3
By afcoff in forum Video ConversionReplies: 1Last Post: 12th Jan 2009, 11:49 -
viewing a QVGA/VGA resolution video with NTSC DV resolution (with a TV)
By Lightbreaker in forum EditingReplies: 1Last Post: 6th Jan 2009, 01:57 -
Force custom resolution for TV out in CLONE mode for DV Capture ?
By TheParadoX in forum CapturingReplies: 4Last Post: 6th Oct 2008, 19:00