appsrc fed data python

Sebastian Dröge sebastian at
Sun Feb 23 01:26:30 PST 2014

On Sa, 2014-02-22 at 13:34 -0600, Michael Gruner wrote:
> Hi Troywang
> I don't know if you are using the same GStreamer python binding as I am, but you need to set as the GStreamer buffer data. I usually do that as:
> src.emit('push-buffer', gst.Buffer(str(bytearray(

Note that this is for the old GStreamer 0.10. In 1.x it would look a bit

Sebastian Dröge, Centricular Ltd -
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the gstreamer-devel mailing list