How to rotate video with ffmpeg

http://duxyng.wordpress.com/2013/04/07/rotateflip-video-with-ffmpeg/

http://erikwramner.wordpress.com/2013/05/28/rotate-video-with-ffmpeg/

http://phayz.wordpress.com/2011/10/28/howto-rotate-a-video-using-ffmpeg/

To rotate 90 degrees clockwise and convert to mp4 (HTML5 compatible), I use:

$ ffmpeg -i 20130914_180610.mp4 -vf transpose=1 -vcodec libx264 -r 30 -strict experimental 20130914_180610-3.mp4

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s