[FFmpeg-user] Flipping Iphone videos

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Nov 16 09:23:36 CET 2012

Kai Hendry <hendry <at> iki.fi> writes:

> On 16 November 2012 01:41, Carl Eugen Hoyos wrote:
> > You originally reported different problems, one of them -
> > that I was not aware of and that was not reported before -
> > was that if you explicitly rotate iPhone videos using -vf
> > transpose Safari (and I assumed QuickTime) show the resulting
> > video incorrectly (rotated).
> Sorry, I did try my best to explain the problem and call 
> it "flipped" and include a log.

(I don't think you included a log, but)
You explained your problem very well, as said 
you described (among other things that are known) 
something that I believe was not known so I 
consider it a very useful mail.

> > I only commented on this issue (I wanted to spare you my 
> > comment <<What is "inactive" about trac tickets?>>), I even
> > tried to fix it (which turned out to be non-trivial), and I
> > finally provided the solution (not found by me).
> https://ffmpeg.org/trac/ffmpeg/ticket/515 was last touched 
> 5 months ago, hence I called it inactive.

> I don't understand the solution since now everything is wrongly
> rotated and yes, ideally I didn't have to manually rotate my iphone
> videos. :)

Your original report was:
(The following was the only part of your original 
message I ever commented on.)
Ok, I'll flip it then, which I did in:
However that version appears upside down for Safari users. Not winning.
We (Clément) pointed out that if you add "-metadata:s:v rotate=0" 
to the command line Safari will (or should?) not add an 
additional rotation anymore. ("Winning.")

> > Because ticket #515 was not fixed yet, feel free to add
> > yourself to CC or send a patch.
> I don't have the skills to send a patch. I'll add links to 
> my mov and HTML5 video that exhibits the problem.

The ticket is now set to "open" and "reproduced" meaning 
no additional information is needed.
(And given that it is now very difficult for nearly all 
computer users to test with Safari, I believe QuickTime 
is more suited as a problem description.)

Carl Eugen

More information about the ffmpeg-user mailing list