Starting element playback at a particular time

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Starting element playback at a particular time

Dave Mateer
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?

A "read the manual" response is fine, but please provide the page of the manual to read. I couldn't find what I was looking for, but I might not know the media terms to describe this behavior.

Thanks!

Dave
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: Starting element playback at a particular time

Dave Mateer
<bump />

I still haven't been able to find out how to do this. Can someone point me in the right direction?

Dave

-----Original Message-----
From: gstreamer-devel-bounces+dave_mateer=[hidden email] [mailto:gstreamer-devel-bounces+dave_mateer=[hidden email]] On Behalf Of Dave Mateer
Sent: Monday, June 11, 2012 4:28 PM
To: [hidden email]
Subject: Starting element playback at a particular time

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?

A "read the manual" response is fine, but please provide the page of the manual to read. I couldn't find what I was looking for, but I might not know the media terms to describe this behavior.

Thanks!

Dave
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Starting element playback at a particular time

Josh Doe
> -----Original Message-----
> From: gstreamer-devel-bounces+dave_mateer=[hidden email] [mailto:gstreamer-devel-bounces+dave_mateer=[hidden email]] 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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Starting element playback at a particular time

Stefan Sauer
In reply to this post by Dave Mateer
On 06/11/2012 10:27 PM, Dave Mateer wrote:
> How does one add an element into a pipeline to start playback only at a particular point in time?
what defines that time you want to star from. If it is the application,
you can do that by seeking (see gst_element_seek() in the api docs (run
devhelp to see them)).

Stefan

>
> 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?
>
> A "read the manual" response is fine, but please provide the page of the manual to read. I couldn't find what I was looking for, but I might not know the media terms to describe this behavior.
>
> Thanks!
>
> Dave
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel