Streaming images using appsrc

Arjen Veenhuizen arjen at moonlightmedia.nl
Fri Feb 23 16:59:28 UTC 2018


Couple of pointers:
1. you don't need to explicitly free the buffers when using Python.
2. Set the caps on your appsrc element: "image/jpeg,framerate=30/1"
3. Set 'format' = 'bytes' property and 'do-timestamp' = 'true' on appsrc
4. emit("push-sample", sample) is the way to go
5. add a queue between appsrc and decodebin.




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list