[FFmpeg-user] iPhone Matrix Rotation Info

Gagan gagandeep.bawa at ironroad.com
Tue Sep 27 15:22:38 CEST 2011

Hi Norbert,

Can you provide some sample code for this fix. 
As i tried the patch given by dave (see below) but doesn't work.
I am using 0.8.4 version libraries of FFMPEG.
In IPhone portrait video rotate to 90 degree after FFMPEG encoding. Need help.

//av_dict_set(&st->metadata, "rotate", "180", 0);
av_metadata_set2(&st->metadata, "rotate", "180", 0);

More information about the ffmpeg-user mailing list