[gstreamer-bugs] [Bug 635734] New: jpegdec: infinite loop when playing back motion jpeg stream

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Nov 24 15:29:48 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=635734
  GStreamer | gst-plugins-good | git

           Summary: jpegdec: infinite loop when playing back motion jpeg
                    stream
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: dhoyt at llnl.gov
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


When playing back a simple multipart motion jpeg stream coming from a publicly
available camera, after a time my cpu usage spikes and it enters what seems
like an infinite loop in gst_jpeg_dec_parse_image_data().

I captured a suspect stream (using souphttpsrc and filesink) and removed most
of the frames (to decrease file size). The loop happens when the second frame
in the file is decoded (just search for the second "--myboundary" marker to see
where it begins). Removing the 2nd and 3rd frames allows the file to play
normally.

I'm using the following pipeline to play it back:

gst-launch filesrc location=test.mjpg ! multipartdemux ! jpegdec !
ffmpegcolorspace ! videorate ! video/x-raw-yuv,framerate=1/1 ! autovideosink

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list