[FFmpeg-devel] [PATCH] Extract rotation in MOV metadata

Gagan gagandeep.bawa at ironroad.com
Tue Sep 27 15:13:31 CEST 2011


I tried with this patch but it doesn't seems to be work. 

I recorded video in portrait mode in IPhone.

 But after encoding output video is 90 degree rotated.

 I am using 0.8.4 version libraries of FFMPEG.

 I just add this line and comment existing one (see below) but it doesn't work.

It seems that it does not remember metadata information. Please help.

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




More information about the ffmpeg-devel mailing list