[gstreamer-bugs] [Bug 614466] videomixer makes some formats grayscale

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 19 00:06:22 PDT 2010


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

--- Comment #3 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2010-04-19 07:06:20 UTC ---
Created an attachment (id=159050)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=159050)
example image

gst-launch-0.10 videotestsrc num-buffers=1 ! video/x-raw-yuv,format
=\(fourcc\)I420 ! videomixer ! tee name=t ! queue ! xvimagesink t. ! queue !
ffmpegcolorspace ! pngenc ! filesink location=test.png

These are the caps that the plugins negotiate to:
caps = video/x-raw-yuv, format=(fourcc)I420, color-matrix=(string)sdtv,
chroma-site=(string)mpeg2, width=(int)320, height=(int)240,
framerate=(fraction)30/1

$ file test.png 
test.png: PNG image, 320 x 240, 8-bit/color RGB, non-interlaced

Also the output is in color, there are just no colors left. If I do

gst-launch-0.10 -v videotestsrc -v num-buffers=1 ! videomixer ! tee name=t !
queue ! ffmpegcolorspace ! xvimagesink t. ! queue ! ffmpegcolorspace ! pngenc !
filesink location=test.png

the caps are almost the same:
caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240,
framerate=(fraction)30/1, color-matrix=(string)sdtv

but there is not chroma-site=(string)mpeg2 parameter. The image is then in
color.

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