Make delay one stream, not all

Sebastian Dröge sebastian at
Thu Apr 28 06:23:00 UTC 2016

On Mi, 2016-04-27 at 18:24 -0700, Johan Basore wrote:
> Hello everyone,
> I am building a player with gstreamer. I can't find out a way to implement
> this.
> I have two streams from a filsrc, video stream and audio stream. audio must
> be played 3 seconds later than video stream. I am using c api.
> How can I do this?

There's the ts-offset property on all sinks, that can be used for this
in many cases. For the more general case, see gst_pad_set_offset()
which would already work before sinks.

Sebastian Dröge, Centricular Ltd ·
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the gstreamer-devel mailing list