March 2014 Archives

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

About this Archive

This page is an archive of entries from March 2014 listed from newest to oldest.

February 2014 is the previous archive.

April 2014 is the next archive.

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

Monthly Archives