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