Set duration to zero

lestoilfante lestoilfante at gmail.com
Tue Jun 4 06:20:04 PDT 2013


Hello Jeff,
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


On Mon, May 27, 2013 at 5:55 PM, jlancaster <jeff_lancaster at msn.com> wrote:

> Is there a way to set the duration of a running pipeline to zero?
>
> I am pulling video from a live source in a contiguous manner and writing 1
> minute mp4 files segments to the hard drive on the sink-side of my
> pipeline.
> However, the duration in each succeeding file written contains the
> accumulated duration value from the source-side of my pipeline. I need each
> recorded segment to be about a 1 minute value, as it should be.
>
> I assume that I can reset the duration value to zero when I start each new
> segment?
>
>
>
> -----
> Jeff Lancaster
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Set-duration-to-zero-tp4660100.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130604/15d0a483/attachment.html>


More information about the gstreamer-devel mailing list