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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 20 14:27:42 PST 2012


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

--- Comment #3 from Hannes Bistry <hannesb at gmx.de> 2012-01-20 22:27:40 UTC ---
Thanks for the comments, maybe indeed its not a bug but a feature. Gimp handles
it correctly. In vi, the RGB file has an "Adope" tag.(?)
Anyway, no other jpeg "source" known to me creates or saves files that behave
this way, so IMHO it would be better to modify it or at least make this
configurable.

I made a test with an unbiased device, a LG BluRay with USB:
YUV.jpg -> perfect
RGB.jpg -> colors mixed up, like F-Spot after rotation, white -> pink,
black->green, blue->red, light green->blue



I experienced another strange thing:
videotestsrc has different color balances on rgb and yuv:

Outputs look different (bottom left):
gst-launch -v videotestsrc ! video/x-raw-yuv ! ffmpegcolorspace ! ximagesink
videotestsrc ! ximagesink

Outputs look exactly the same:
gst-launch -v videotestsrc ! video/x-raw-rgb ! tee name=t1 ! ffmpegcolorspace !
ximagesink async=0 t1. ! ffmpegcolorspace ! video/x-raw-yuv ! ffmpegcolorspace
! ximagesink async=0

Create another trivial bug for this?

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