Save data from element into a variable

sudarshan bisht bisht.sudarshan at gmail.com
Wed Mar 30 21:19:44 PDT 2011


You can use appsink. For more information go through the following link;
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsink.html

On Thu, Mar 31, 2011 at 4:31 AM, Glenn Pierce <glennpierce at gmail.com> wrote:

> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110331/6d71ea04/attachment.html>


More information about the gstreamer-devel mailing list