Hi,everyone.
Recently,I want to use the gstreamer's appsrc element to send an images
to the gstreamer's pipeline as live video stream. I want to emit
"push-buffer" every time each frame is generated.I tried the two mode(push
mode and pull mode),but all failed because under all of them, the frequency
that the "push-buffer" signal function was called was much slower than the
speed of the frame coming.
Then,I tried another method:Calling the "push-buffer" function manually
every time each frame is generated. In this way,I can achieve my
purpose:Emiting "push-buffer" every time each frame is generated. But there
is one bug:The memory occupation was increasing gradually until it
overflowed.
I am trying to debug but failed. I want you to help me find the problem
or some solutions which can achieve my purpose.Thank you!
My key code part is showing as the following:
appsrc.cpp
<
http://gstreamer-devel.966125.n4.nabble.com/file/t378717/appsrc.cpp>
--
Sent from:
http://gstreamer-devel.966125.n4.nabble.com/_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel