Starting element playback at a particular time

Josh Doe josh at joshdoe.com
Wed Jun 13 06:41:53 PDT 2012


> -----Original Message-----
> From: gstreamer-devel-bounces+dave_mateer=ntm.org at lists.freedesktop.org [mailto:gstreamer-devel-bounces+dave_mateer=ntm.org at lists.freedesktop.org] On Behalf Of Dave Mateer
> Sent: Monday, June 11, 2012 4:28 PM
>
> How does one add an element into a pipeline to start playback only at a particular point in time?
>
> That is, suppose you have a video source and two audio sources. But the second audio source should start playback 1 minute into the video, perhaps even overlapping with the first audio source. How do I add the second audio source to my pipeline and set it to start 1 minute into the pipeline playback?

You need an element that at the least adjusts buffer timestamps,
segment events, and seeks. I've never used GNonLin, but that should be
able to able to handle your case and more, I believe using GnlSource.

http://gnonlin.sourceforge.net/api/GnlSource.html
http://wiki.pitivi.org/wiki/GNonLin#Time_Shifting
http://lists.freedesktop.org/archives/gstreamer-devel/2010-October/028709.html

-Josh


More information about the gstreamer-devel mailing list