Rotating videos with FFmpeg

user-pic
Vote 0 Votes

ffmpeg -i input.mp4 -vf "transpose=1" output.mp4

transpose=
0 = 90 degrees counterclockwise and vertical flip (default)
1 = 90 degrees clockwise
2 = 90 degrees counterclockwise
3 = 90 degrees clockwise and vertical flip

一般都用 1 或 2, 0 跟 3 是加上鏡射反轉

ref. FFmpeg transpose

Leave a comment

About this Entry

This page contains a single entry by Pank published on March 2, 2014 12:35 AM.

NTP Amplification/Reflection attacks was the previous entry in this blog.

Google Cloud Compute Engine is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives