Save data from element into a variable

Glenn Pierce glennpierce at gmail.com
Wed Mar 30 16:01:44 PDT 2011


Hi i've just started  using the Python gstreamer bindings and have a
question

Say I have a pipeline like this

pipeline = gst.parse_launch('gconfaudiosrc ! audioconvert ! audioresample !
fakesink')

Does anyone know how I could save the the output of the audio conversion
into a python variable or array
(instead of just sending to the fakesink element. Is that possible ?

Ultimately I want to post that data to a web service for processing and want
to avoid a temporary file.

Thanks  Glenn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110331/06e19fb1/attachment.html>


More information about the gstreamer-devel mailing list