[MPlayer-users] Problem with 'scale' negative options.

D Richard Felker III dalias at aerifal.cx
Mon Oct 25 15:30:42 CEST 2004


On Sun, Oct 24, 2004 at 10:56:45PM -0700, RC wrote:
> On Sun, 24 Oct 2004 12:09:05 -0400
> D Richard Felker III <dalias at aerifal.cx> wrote:
> 
> > i'm very confused how these would be useful. 
> 
> Well, to be specific, I am re-encoding interlaced 720x480 material. 
> Unfortunately, it needs to be playable by programs and hardware that
> don't understand aspect, so I have to scale it.  
> 
> If I do scale=-1:-2, it will scale up the height to 540, which will
> competely ruin the interlacing.  So, I wanted to use scale=-2:-1 to
> keep the height the same, and scale only the width.  
> 
> Since that does't work, I've been using scale=-2:480, which works, but
> different material has different heights, so I have to manually change

huh? all interlaced material has height or either 480 or 576,
depending on if it's ntsc or pal... assuming you only have one or the
other it'd be really easy to hard-code 480 or 576 in your script, or
enter it manually knowing which type of source you have.

rich




More information about the MPlayer-users mailing list