Make delay one stream, not all

Sebastian Dröge sebastian at centricular.com
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 · http://www.centricular.com
-------------- 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: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160428/3ed03703/attachment.sig>


More information about the gstreamer-devel mailing list