[gstreamer-bugs] [Bug 431017] mp4 movies with incorrect aspect ratio

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Apr 27 08:20:11 PDT 2007

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:

  GStreamer | don't know | Ver: HEAD CVS

Wim Taymans changed:

           What    |Removed                     |Added
                 CC|                            |wim at fluendo.com

------- Comment #1 from Wim Taymans  2007-04-27 15:20 UTC -------
The aspect ratio encoded in the video is 16:9, the demuxer says 1:1. The
algorithm for choosing the most likely correct aspect ratio is taking the non
1:1 aspect ration and in case of doubt, use the decoder aspect ratio.

This does not work for this movie, which is actualy to be displayed in 1:1. not
sure how to fix this. 

QuickTime specifies that all movies are to be displayed as 1:1 unless otherwise
specified with an pasp atom. 

Maybe this algorithm might work better:

 - demuxers that force or know about an aspect ratio specify it on their caps,
   decoder prefers demuxer aspect ratio over its own.

 - demuxers that have no clue about aspect ratio, don't specify anything and
   the decoder select one.

See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=431017.

More information about the Gstreamer-bugs mailing list