Skip to content. | Skip to navigation

Personal tools
Log in
Sections
You are here: Home Rotate an upside down video with the aid of ffmpeg

Rotate an upside down video with the aid of ffmpeg

published Mar 27, 2017 02:35   by admin ( last modified Aug 20, 2017 01:02 )

Tested by me:

ffmpeg -i in.mov -vf "transpose=2,transpose=2"  -c:a copy -t 10 out.mov

See: rotation - Rotating videos with FFmpeg - Stack Overflow

If only rotating metadata:

ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate=90 output.mp4
Add comment

You can add a comment by filling out the form below. Plain text formatting. You can use the Markdown syntax for links and images. Comments are moderated.

Question: What is 10 + 3 ?
Your answer: