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

Nicolas Dufresne nicolas at ndufresne.ca
Thu Jul 25 21:13:59 UTC 2019


Le jeudi 25 juillet 2019 à 00:02 -0500, IgalKroyter a écrit :
> Nicholas, thanks for the reply.
> 
> 1) I have modified the latency of the pipeline with
> gst_pipeline_set_latency() and I read it with gst_pipeline_get_latency().
> both values are equal. But if I query the
> pipeline(gst_query_new_latency..gst_element_query) I get: live:0,
> min_latency:0 and max_latency: -1. by the way I query this from within a pad
> callback every time it is invoked (just for the test). Is it normal?

I'm not sure if that mechanism will impact the queried latency, also
you pipeline need to be running.

> 
> 2) Does it matter when I set the starttime or basetime before or after
> PLAYING?

It has to happen in NULL state, anything else feels racy to me.

>  
> 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/20190725/c4d5f323/attachment-0001.sig>


More information about the gstreamer-devel mailing list