[MEncoder-users] Scale overriding original aspect ratio

André Rodrigues jacrodrigues at gmail.com
Tue Mar 11 12:45:07 CET 2014


It works! Thank you very much!

Regards,

André


2014-03-10 12:32 GMT+00:00 Ian Collier <ian.collier at cs.ox.ac.uk>:

> On Sun, Mar 09, 2014 at 08:10:40PM +0000, you wrote:
> > Basically, every time I scale a movie for an old living room DVD player
> > that accepts USB pens using this command line, I have to calculate the
> > height manually.
> >
> > mencoder "original_video.mp4" -o NUL -ovc xvid -xvidencopts pass=1 -vf
> > scale=640:267,expand=640:480 -nosound
> > mencoder "original_video.mp4" -o "converted_video.avi" -ovc xvid
> > -xvidencopts pass=2:bitrate=3000 -vf scale=640:267,expand=640:480 -oac
> > mp3lame
> >
> > In this case I have to calculate the 267 value from the original width
> and
> > height of the video. I tried using 0, -1, -2 and -3 instead, but nothing
> > works, because no aspect ratio is declared in the original video.
>
> Does this work?  -vf dsize=-1:-1,scale=640:-2,expand=640:480
>
> imc
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>


More information about the MEncoder-users mailing list