<div dir="ltr">Hi, <div><br></div><div>To get your file properly closed you will need to send an EOS event through your filesink branch. If you simply set the valve drop property to true, you should stop receiving new frames but that won't be enough to properly close the saved video.</div><div><br></div><div>Refer to <a href="http://gstreamer-devel.966125.n4.nabble.com/Save-an-MPEG2-compressed-file-from-live-stream-td4669846.html">this discussion</a> and <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-dynamic-pipelines.html#section-dynamic-changing">this example</a> for additional insight. </div><div><br></div><div>Cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-04 17:31 GMT+01:00 Forzaferrarileo <span dir="ltr"><<a href="mailto:leonardo.ferroro@gmail.com" target="_blank">leonardo.ferroro@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi , I'm using valve to start and stop a recording with a tee branch , but<br>
the problem is when i set valve's "drop" property to true , the video<br>
recording won't stop.<br>
<br>
My pipeline is something like this :<br>
<br>
                  ^-> queue ->valve->h264parse->mp4mux->filesink<br>
                  |<br>
src->caps->tee-> queue->h264parse->rtph264pay->updsink<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Dinamically-start-and-stop-recording-using-valve-tp4670091.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Dinamically-start-and-stop-recording-using-valve-tp4670091.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>