[MPlayer-cvslog] CVS: main/libmpcodecs vf_scale.c,1.62,1.63

Oded Shimon ods15 at ods15.dyndns.org
Sun Feb 19 13:24:08 CET 2006


On Sun, Feb 19, 2006 at 12:59:00PM +0100, Diego Biurrun wrote:
> On Sat, Feb 18, 2006 at 10:12:58PM +0100, Michael Niedermayer CVS wrote:
> > 
> > Modified Files:
> > 	vf_scale.c 
> > Log Message:
> > no upscale flag so automatic downscaling is possible in mencoder
> 
> Hmm, could you elaborate a bit more?  Right now I would document it like
> this, but that's very terse and hardly descriptive:
> 
>   <noup>
>     Toggle automatic upscaling.
>       0: off (default)
>       1: on

_disallow_ upscaling

If the new res is larger than the old res in one of the dimentions, that 
dimention is brought back to the original value.
When it is 0, off, it doesn't check anything and upscaling is allowed.

> What is the suboption useful for?

I'm not really sure. The idea is when encoding you never ever want to 
upscale, so you can put some fixed -vf scale=whatever:noup=1  in your 
mencoder command line and not worry about upscaling, but i actually don't 
see this as useful because you have to hand craft your scale for each 
encode anytway, can't just automate it always.

- ods15




More information about the MPlayer-cvslog mailing list