Gstreamer periodically EOS
Wes Miller
wmiller at sdr.com
Mon Jun 17 13:13:27 PDT 2013
Have you considered msleep() or usleep(), standard C functions? Or select()
or poll()?
You might want to do somehting like:
x = 0
do forever
start pipeline for file x
msleep avi_length_in_msecs
start pipeline for file x+1
// your choice - add a tiny msleep here
send eos to pipeline x
x++
msleep avi_length_in_msecs
end
This will give you separate segments with a configurable overlap in them.
YOu may have to let pipeline x close completely before starting pipeline 2
if the source is uncooperative. In that case, just use the one pipeline
over and over changing its output filename.
Wes
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-periodically-EOS-tp4660587p4660594.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list