Rotate a video with ffmpeg

published Mar 20, 2016 01:40   by admin ( last modified Mar 20, 2016 01:46 )

Tested (with .mv4 files). Works. 90 rotates the video 90 degrees clockwise.

 

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


Read more: Link - Can I set rotation field for a video stream with FFmpeg? - Stack Overflow