[gstreamer-bugs] [Bug 627413] jifmux causes broken jpeg images at least with some rgb pixel format

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 20 00:54:54 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=627413
  GStreamer | gst-plugins-bad | unspecified

--- Comment #5 from Filippo Argiolas <fargiolas at gnome.org> 2010-08-20 07:54:51 UTC ---
I have very little knowledge of jpeg so forgive me if I'm saying something
silly.

It seems that jpegenc gives RGB data to libjpeg without any conversion and just
sets the colorspace to RGB.
After some googling, as far as I can tell, it seems JFIF mandates image data to
be YCbCr (CCIR 601).
So jifmux just adds its headers around the rgb compressed data and when you
give the file to a decoder it expects it to be YCbCr and gives those wrong
colors.

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