appsink in gstreamer1.0 python

Olivier Crête olivier.crete at collabora.com
Wed Feb 26 01:52:07 PST 2014


On Mon, 2014-02-24 at 23:10 -0800, troywang wrote:
> thank you very ,but how to do for the 'extract()' parameters in python,there
> is no pointer in python

You also can't use gst_buffer_extract() from Python, that's why we added
extract_dup(), you can it as buffer.extract_dup(offset, size), if you
want the entire buffer, do buffer.extract_dup(0, buffer.get_size())

-- 
Olivier Crête
olivier.crete at collabora.com



More information about the gstreamer-devel mailing list