[gstreamer-bugs] [Bug 323332] mpeg2dec sets wrong aspect ratio for 16:9 dvds

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Dec 8 03:33:54 PST 2005


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=323332
 GStreamer | gst-plugins-ugly | Ver: HEAD CVS





------- Additional Comments From Jan Schmidt  2005-12-08 11:33 -------
This is a bug in libmpeg2. Because this is video from a pan-and-scan DVD, it has
a 720x480 video, with an intended 16:9 display ratio, and also in the MPEG data
(in the sequence_display_extension) is information telling the decoder to crop
to 540x480 pixels.

720x480->16:9 display implies (16*480)/(9*720) = 1.185  pixel-aspect-ratio (or
32/27) as we want. libmpeg2 is computing the pixel-aspect-ratio from the CROPPED
window, however (which it should not). A 540x480 window stretched to 16:9
implies (16*480)/(9*540) = 128/81 pixel-aspect-ratio.

We could work around this in mpeg2dec by checking whether the picture-size
matches the display-size, but the correct fix should be done in libmpeg2

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list