Listening on EOS events for GstBin

enienws engin.firat at adonissyazilim.com
Thu Nov 6 06:32:50 PST 2014


Hello Tim,

I have inspected on your code before. Your example is not working for me.
Because after the application pushes an EOS event in "push_eos_thread"
thread to muxer element, this EOS event cannot be caught within the "bus_cb"
function. However I have used some techniques from this code.

Below you can find an example output of your program:

Setting filesink location to '/tmp/test-000.mp4'
pad vrecq:src blocked!
timeout, unblocking pad to start recording
Drop one buffer with ts 0:00:00.000000000
Buffer with ts 0:00:02.100000000 (keyframe=0)
Dropping buffer, wait for a keyframe.
.
. (Just deleted for simplicity)
.
Dropping buffer, wait for a keyframe.
Buffer with ts 0:00:04.000000000 (keyframe=0)
Dropping buffer, wait for a keyframe.
Buffer with ts 0:00:04.033333333 (keyframe=0)
Dropping buffer, wait for a keyframe.
Buffer with ts 0:00:04.066666666 (keyframe=1)
Letting buffer through and removing drop probe
stop recording
pushing EOS event on pad mux:video_0

After "pushing EOS event on pad mux:video_0" line program hangs and bus_cb
function is never called in any context.

Regards.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Listening-on-EOS-events-for-GstBin-tp4669126p4669414.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list