[MPlayer-users] MP4 recorded in portrait with Android phone -> OK with VLC but landscape with MPlayer/HTML5

Philip Rhoades phil at pricom.com.au
Wed May 1 02:37:51 CEST 2013


On 2013-05-01 08:03, Reimar Döffinger wrote:
> On Wed, May 01, 2013 at 07:44:08AM +1000, Philip Rhoades wrote:
> >Ensure the video is actually recorded the right way round instead of
> >just having a matrix in some file format header describe the
> >orientation.
> I did record it in the desired orientation (portrait).
> "recorded" was a bad word choice.
> "Encoded" is the better term.
> If some players display it differently that means
> they display it as it was encoded, without rotating
> it as a post-processing step.

Right - that makes sense.

> The same issue exists with JPEG btw. Firefox at least
> ignores the EXIF rotation as well, so phone camera images
> are often the wrong way around.

Yep, noticed that too - I had put off getting a smart phone as long as 
possible but am not discovering these things . .

> However this is much less of an issue, since for JPEG
> the rotating is possible to do losslessly, for video
> it's unfortunately necessary to re-encode in order to completely
> avoid the issue.

Why should there be any loss from re-encoding? - I would have thought 
that a rotation (as long as it doesn't include a size reduction or 
conversion to a poorer format) should be able to be lossless . .

Thanks for the info!


Philip Rhoades

GPO Box 3411
Sydney NSW	2001
E-mail:  phil at pricom.com.au

More information about the MPlayer-users mailing list