Forum Archive Home -> Linux -> Force mencoder to use mod 16 resolution
| Force mencoder to use mod 16 resolution | ||
| sumpm1 posted 2008 Aug 25 04:43 | ||
| 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 | ||
| disturbed1 posted 2008 Sep 13 17:00 | ||
| I digging up some late replies today :D
From man mencoder
SO.... If you wanted to auto size to 512x$MOD16, try -vf scale=512:-11 |
Login/Register to our forum to be able to post here.
