How to synchronize buffer timestamp across two gstreamer pipeline(appsink,appsrc, rtspserver)

Nicolas Dufresne nicolas at ndufresne.ca
Wed Jul 24 20:39:04 UTC 2019


Le mercredi 24 juillet 2019 à 09:31 -0500, IgalKroyter a écrit :
> Hi,
> 
> although it is an old post I have the following questions:
> I have 3 pipelines which have to be synchronized.
> I have applied the above mentioned queries and saw that all pipelines share
> different value.
> The questions that I have are how do I modify the values taken from the main
> pipeline to the other two pipelines and when (before or after setting
> PLAYING)
> 1) min Latency,max latency, live (how and when)

You can only modify the min latency, see gst_pipeline_set_latency()

> 2) basetime and starttime (when)

You will always set starttime to -1 (GST_CLOCK_TIME_NONE) (which will
tell the pipeline to not update these) and set the basetime to that
same everywhere using gst_element_set_base_time() on you pipeline
object.

> 
> Regards. 
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190724/9ec2be54/attachment.sig>


More information about the gstreamer-devel mailing list