[gstreamer-bugs] [Bug 568555] New: Interlaced MJPEG files not handled correctly by jpegdec

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jan 21 06:53:49 PST 2009


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:
  http://bugzilla.gnome.org/show_bug.cgi?id=568555

  GStreamer | gst-plugins-good | Ver: git
           Summary: Interlaced MJPEG files not handled correctly by jpegdec
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: thaytan at mad.scientist.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


For example: http://gstreamer.freedesktop.org/media/incoming/douche.MJPEG-A.mov

With this kind of file, each packet from qtdemux contains 2 sequential jpeg
images, one per field.

jpegdec detects that it is running in 'packetised' mode, and only decodes the
first jpeg image in each packet, resulting in half-height output of online the
first field. It needs to allocate a buffer twice the height and then decode
each field into that buffer.

I'm not sure what happens with the sub-sampled chroma planes in this case. I
guess each field contains a subsampled version of that field only.

ffdec_mjpeg correctly decodes both jpeg images in the packet, and outputs a
Y42B frame.


-- 
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=568555.




More information about the Gstreamer-bugs mailing list