[Bug 668253] New: jpegenc creates broken files with rgb sink caps

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jan 19 02:07:38 PST 2012


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

           Summary: jpegenc creates broken files with rgb sink caps
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: hannesb at gmx.de
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


gst-launch -v videotestsrc num-buffers=1 ! video/x-raw-rgb ! jpegenc ! filesink
location=/tmp/RGB.jpg

creates a file that apparently has no valid JFIF tag, it cannot be read with
some programs/libs (e.g. OpenCV ) or behaves strangely(F-Spot rotate changes
colors).

file /tmp/RGB.jpg returns:
JPEG image data

No problems, if jpeg is created with:
gst-launch -v videotestsrc num-buffers=1 ! video/x-raw-yuv ! jpegenc ! filesink
location=/tmp/YUV.jpg

file /tmp/YUV.jpg returns:
JPEG image data, JFIF standard 1.01

Tested with 0.10.35 as well as todays` git.

Maybe caused by an external lib? The problem occurs both on Suse 11.4 and on U.
11.10

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