<div dir="ltr">Hello Jeff,<div style>I think your situation is close to mine except I used ogg container, in my case I used send_event(gst.event_new_new_segment(False, 1.0,gst.FORMAT_TIME, position, -1, 0)) on live pipeline's last element src pad where position= pipeline.query_position</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 27, 2013 at 5:55 PM, jlancaster <span dir="ltr"><<a href="mailto:jeff_lancaster@msn.com" target="_blank">jeff_lancaster@msn.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there a way to set the duration of a running pipeline to zero?<br>
<br>
I am pulling video from a live source in a contiguous manner and writing 1<br>
minute mp4 files segments to the hard drive on the sink-side of my pipeline.<br>
However, the duration in each succeeding file written contains the<br>
accumulated duration value from the source-side of my pipeline. I need each<br>
recorded segment to be about a 1 minute value, as it should be.<br>
<br>
I assume that I can reset the duration value to zero when I start each new<br>
segment?<br>
<br>
<br>
<br>
-----<br>
Jeff Lancaster<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Set-duration-to-zero-tp4660100.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Set-duration-to-zero-tp4660100.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>