5,343
edits
Line 133: | Line 133: | ||
}} | }} | ||
===Rotation=== | |||
To rotate 180 degrees | |||
<syntaxhighlight lang="bash"> | |||
ffmpeg -i input.mp4 -vf "transpose=1,transpose=1" output.mp4 | |||
</syntaxhighlight> | |||
* 0 – Rotate by 90 degrees counter-clockwise and flip vertically. This is the default. | |||
* 1 – Rotate by 90 degrees clockwise. | |||
* 2 – Rotate by 90 degrees counter-clockwise. | |||
* 3 – Rotate by 90 degrees clockwise and flip vertically. | |||
==C API== | ==C API== |