Please help with this color space problem <

Nicolas Dufresne nicolas.dufresne at collabora.com
Thu Jan 14 05:11:24 PST 2016


Can you explain how is those two pipelines linked together ? In what I
read, you have /dev/video2 use as sink and src at the same time, are
you using some loopback driver ? If so, are you sure this isn't a
problem with format reporting from this driver ?

Nicolas

p.s. out of tree v4l2loopback driver is racy

Le mercredi 13 janvier 2016 à 12:58 -0800, chmario a écrit :
> I have the following pipe built in C++
> 
> gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw ! queue ! 
> videoconvert ! identity ! video/x-raw,format=RGB !  videoconvert !
> autovideosink
> 
> I am processing the image on the handoff signal of  the identity
> element , I
> need it to be in RGB format that is why I have <<video/x-
> raw,format=RGB ! 
> videoconvert >>
> 
> If a use a normal web cam everything works fine but if I  use the
> feed from
> this pipe 
> gst-launch-1.0 -v filesrc location=test.avi ! decodebin
> !  videoconvert !
> videorate !  video/x-raw,format=YUY2,framerate=25/2 !   v4l2sink
> device=/dev/video2 
> 
> The image displayed in the autovideosink in is the wrong color. 
> 
> I dont want to change the second pipe just the the first.
> 
> Can some one point me in the write direction ? 
> 
> 
> 
> 
> 
> -----
> MChC
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble
> .com/Please-help-with-this-color-space-problem-tp4675257.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160114/97713807/attachment.sig>


More information about the gstreamer-devel mailing list