appsrc fed data python

troywang troywang123 at gmail.com
Fri Feb 21 01:03:45 PST 2014


hi all:
I wanna using python gstreamer to do something。I use appsrc。  

appsrc.connect('need-data',need_data)


def need_data(self,src, need_bytes):
        self.data = self.stream_queue.dequeue()
        src.emit('push-buffer', self.data)


I wanna insert self.data into appsrc,But it told me needing Gst.buffer
data,what should I do? 	



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/appsrc-fed-data-python-tp4665423.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list