Rotate videos

I needed to rotate some Razr M videos.  Here's the command:

avconv -i INPUT.mp4 -map 0 -c:v libx264 -c:a copy -vf "transpose=1" -s svga OUTPUT.mp4

The transpose options are and the scale options are

To flip an upside-down video, use -vf "vflip, hflip"

To clip, use -ss <start-time> -t <duration>  in hh:mm:ss format (or just an integer for seconds) – make sure to list this before the -i argument


Jonh Emily said...

I also met this situation. Luckily, I find a way from easily rotate MP4 files

Step by step guide from

It can rotate video 90 degrees, 180 degrees etc.

It also helps me to rotate other type of video like MOV, WMV, AVI, MXF, AVCHD etc.

Hope it also helps for you.

Post a Comment

Keep it clean and professional...