appsrc fed data python
Sebastian Dröge
sebastian at centricular.com
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 self.data as the GStreamer buffer data. I usually do that as:
>
> src.emit('push-buffer', gst.Buffer(str(bytearray(self.data))))
Note that this is for the old GStreamer 0.10. In 1.x it would look a bit
different.
--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
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: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140223/8c07df80/attachment.pgp>
More information about the gstreamer-devel
mailing list