[FFmpeg-user] Rotate 180 degrees

Cecil Westerhof Cecil at decebal.nl
Mon May 19 20:34:08 CEST 2014

When making a video with my android, the video is rotate 180 degrees.
At the moment I convert it to a video with the correct orientation
    ffmpeg \
      -y \
      -i input.mp4 \
      -metadata:s:v rotate="0" -vf "hflip,vflip" \
      -c:v libx264 \
      -crf 18 \
      -acodec copy \

The result looks reasonable. But is there a better way to do this? A
video of 13 minutes takes about as long to be converted. So if there
would be a more efficient way …

Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

More information about the ffmpeg-user mailing list