[gstreamer-bugs] [Bug 556648] New: [decodebin] jpegdec fails to decode ljpeg

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Oct 16 15:00:27 PDT 2008


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=556648

  GStreamer | gst-plugins-base | Ver: HEAD CVS
           Summary: [decodebin] jpegdec fails to decode ljpeg
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: julien.isorce at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,

Using playbin or decodebin on an avi file (for example) containing encoded
video with ljpeg, the playbin prefers jpegdec than ffdec_mjpeg and it fails.

I do not know if jpegdec can or cannot decode ljpeg in abosulte way but:

gst-launch-0.10 videotestsrc ! ffenc_ljpeg ! jpegdec ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/jpegdec0: Failed to decode JPEG image
Additional debug info:
E:\devel-cvs\src\gst-plugins-good\ext\jpeg\gstjpegdec.c(1043): ??? ():
/pipeline0/jpegdec0:
Error #60: Unsupported JPEG process: SOF type 0x%02x
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

whereas this one works:
gst-launch-0.10 videotestsrc ! ffenc_ljpeg ! ffdec_mjpeg ! fakesink

Anyway, if jpegdec never decodes ljpeg it should have something in the caps to
make the link impossible because the media type is "image/jpeg" for both of
them.

For now I do not know if it's but or something else so some clarifications
about that from experts would be apreciated.

(more infos, the 2 followings pipelines work:
gst-launch-0.10 videotestsrc ! ffenc_mjpeg ! jpegdec ! fakesink and
gst-launch-0.10 videotestsrc ! jpegenc ! ffdec_mjpeg ! fakesink )

Sincerely

Julien


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




More information about the Gstreamer-bugs mailing list