GNOME Bugzilla – Bug 540941
v4l2: RGB32 should be mapped to xRGB instead of RGBx
Last modified: 2014-04-30 19:37:20 UTC
Using the dvi2usb solo (from epiphan; http://www.epiphan.com/products/product.php?pid=88) and this gst-launch: gst-launch v4lsrc device=/dev/video1 ! videoscale ! ffmpegcolorspace ! ximagesink ... the blue color is replaced with the red, and vice versa. So some bitmask somewhere isn't doing what it should. Using mplayer (mplayer -vo x11 -tv driver=v4l:outfmt=rgb24:device=/dev/video1 tv://) this problem doesn't exist.
For v4l related issues, please add the output from v4l-info. Ideally try narrowing it does (by e.g. omitting videoscale, using xvimagesink or outputting to png images).
Please reopen with the needed info if you still like to get it fixed.
After *three years* you ask for additional information? Why do you even run an open bug tracker?
Sorry 'bout that. We try to do our best, but sometimes bugs are just missed - we've got quite a few to deal with. Next time, maybe ping after a while :)
(In reply to comment #3) > After *three years* you ask for additional information? > > Why do you even run an open bug tracker? Please stay calm. Why should I not ask for details, it could have been that you could tell that nowadays it works and that would have been good to know.
You are right, sorry about my outburst there. I have grown older and more patient in the six years that have passed since the filing of this report. Unfortunately, the project that I was working on at the time is since long closed and I no longer have access to the hardware in question. You can close this bug.
Ah, interesting, I didn't know this big existed: I'll merge this soon: http://cgit.collabora.com/git/user/nicolas/gst-plugins-good.git/commit/?h=v4l2-converter&id=cf1c99a3af3c1fab67ac380a07b0c793d462064c
commit 7ff514fec689b79c0520aa1b2aaa376b49a7b007 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com> Date: Fri Mar 7 17:31:29 2014 -0500 v4l2: Correctly map RGB32 format In v4l2 specification, RGB32 has the alpha, or pading, first, not last. See http://linuxtv.org/downloads/v4l-dvb-apis/packed-rgb.html . https://bugzilla.gnome.org/show_bug.cgi?id=540941