How to trigger action on certain position in a stream?
Tim-Philipp Müller
t.i.m at zen.co.uk
Sun Jul 28 13:59:17 PDT 2013
On Sat, 2013-07-27 at 21:47 +0200, marcin at saepia.net wrote:
Hi,
> what is the best way to trigger action on certain position in a
> stream?
>
> For example I am playing a file via filesrc ! decodebin ! ... , and I
> would like to trigger something when it passes 123 ms.
>
>
> Is there any other way than just setting timeout that queries current
> stream position every let's say 10 ms? Kind of event that I can listen
> to?
There are multiple options. Could you describe in more detail what
you're trying to do? And provide us with the bigger picture?
Cheers
-Tim
More information about the gstreamer-devel
mailing list