5,337
edits
Line 139: | Line 139: | ||
ffmpeg -i input.mp4 -vf "transpose=1,transpose=1" output.mp4 | ffmpeg -i input.mp4 -vf "transpose=1,transpose=1" output.mp4 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* 0 – Rotate by 90 degrees counter-clockwise and flip vertically | * 0 – Rotate by 90 degrees counter-clockwise and flip vertically. | ||
* 1 – Rotate by 90 degrees clockwise. | * 1 – Rotate by 90 degrees clockwise. | ||
* 2 – Rotate by 90 degrees counter-clockwise. | * 2 – Rotate by 90 degrees counter-clockwise. |