[MEncoder-users] Rotating and scaling video at the same time

Serhiy Tkachenko altserg at yahoo.com
Mon Jun 12 22:57:27 CEST 2006


Hi all,

I'm executing following command line:
mencoder.exe dmd-serenity-cd1.avi -o gg.avi -endpos 30
-oac lavc -ovc lavc -vf scale=320:200,rotate=1
-noaspect

(Do not care about aspect ratio now and I need the
video to be rotated 90 deg clockwize)

Resulting video file is not playable in mplayer (I see
some stripes, and a green bar at the bottom). However,
if I use -vf rotate=1 (actually, any value) the video
is played but it's rotated back (I don't need this, I
need to play it rotated)

Command like:
mencoder.exe dmd-serenity-cd1.avi -o gg.avi -endpos 30
-oac lavc -ovc lavc -vf rotate=1,scale=200:320
-noaspect

produces the same results

But when I use 
mencoder.exe dmd-serenity-cd1.avi -o gg.avi -endpos 30
-oac lavc -ovc lavc -vf rotate=1,scale=320:200
-noaspect

The video is rotated and scaled correctly (only aspect
ratio is totally screwed up)
It seems that for the scale filter, width should be
greated then height. Is it right?
How do I scale the movie and rotate it in one pass ?

Sincerely,

Serg


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the MEncoder-users mailing list