[MEncoder-users] Rotating and scaling video at the same time
Guillaume POIRIER
poirierg at gmail.com
Mon Jun 12 23:05:42 CEST 2006
Hi,
On 6/12/06, Serhiy Tkachenko <altserg at yahoo.com> wrote:
> 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 ?
Please try with different scalers (see -sws option in the manpage) to
see if you can get rid of these stripes.
Guillaume
--
"Success consists of going from failure to failure without loss of enthusiasm."
-- Winston Churchill
More information about the MEncoder-users
mailing list