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

Gagandeep gagandeep.bawa at ironroad.com
Wed Sep 28 04:13:01 CEST 2011

Hi Andrew,

I know this from command line. I want to do it through code using library and need sample code for this. 

Sent from my iPhone4

On 27-Sep-2011, at 9:33 PM, Andrew Wason <rectalogic at rectalogic.com> wrote:

> 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)
> Andrew
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

More information about the ffmpeg-user mailing list