Or request RGB from the capture source.<br><br><div class="gmail_quote">On Mon, Dec 17, 2012 at 3:53 PM, Michael Smith <span dir="ltr"><<a href="mailto:mlrsmith@gmail.com" target="_blank">mlrsmith@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Dec 17, 2012 at 11:52 AM, Peter Rennert <<a href="mailto:p.rennert@cs.ucl.ac.uk">p.rennert@cs.ucl.ac.uk</a>> wrote:<br>

> I am using gstreamer 0.10 with python bindings.<br>
><br>
> I want to convert a gst buffer into a numpy array. Online I found only<br>
> examples [1] for audio and they are using<br>
<br>
You didn't describe what format of raw video you're using - it's<br>
probably, based on the 1.5 bytes per pixel figure you quoted, some<br>
sort of 4:2:0 YUV format.<br>
<br>
If you're expecting/wanting RGB data, you'll need to use capfilter and<br>
a colourspace converter to get that.<br>
<br>
Mike<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>