appsink in gstreamer1.0 python
Tim Müller
tim at centricular.com
Mon Feb 24 01:56:25 PST 2014
On Sun, 2014-02-23 at 17:37 -0800, troywang wrote:
Hi,
> thanks,but when I use "sample.extract()" or "sample.extract_dup()",It
> returns :AttributeError: 'Sample' object has no attribute
> 'extract_dup'.......... Please help me.
You need to run those on the *buffer*, not the sample. You can get the
buffer with:
buffer = sample.get_buffer()
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list