GstBuffer to numpy conversion
ccrisler at mutualink.net
Tue Dec 18 06:21:42 PST 2012
Or request RGB from the capture source.
On Mon, Dec 17, 2012 at 3:53 PM, Michael Smith <mlrsmith at gmail.com> wrote:
> On Mon, Dec 17, 2012 at 11:52 AM, Peter Rennert <p.rennert at cs.ucl.ac.uk>
> > I am using gstreamer 0.10 with python bindings.
> > I want to convert a gst buffer into a numpy array. Online I found only
> > examples  for audio and they are using
> You didn't describe what format of raw video you're using - it's
> probably, based on the 1.5 bytes per pixel figure you quoted, some
> sort of 4:2:0 YUV format.
> If you're expecting/wanting RGB data, you'll need to use capfilter and
> a colourspace converter to get that.
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel