[FFmpeg-user] Rotate video with ffmpeg library in iPhone application

Andrew Wason rectalogic at rectalogic.com
Tue Sep 27 18:03:33 CEST 2011

On Tue, Sep 27, 2011 at 7:41 AM, Gagandeep Bawa
<gagandeep.bawa at ironroad.com> wrote:
> Is it possible to adjust the orientation of a video
> programmatically with the ffmeg library using objective-c?

You could use libavfilter. e.g. the corresponding ffmpeg command lines would be:

-vf transpose=1 (rotate 90)
-vf transpose=2 (rotate 270)
-vf vflip,hflip (rotate 180)


More information about the ffmpeg-user mailing list