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

Nicolas Dufresne nicolas at ndufresne.ca
Fri Jul 26 03:16:32 UTC 2019


Le jeu. 25 juill. 2019 19 h 10, pisymbol . <pisymbol at gmail.com> a écrit :

>
>
> On Wed, Jul 24, 2019 at 4:39 PM Nicolas Dufresne <nicolas at ndufresne.ca>
> wrote:
>
>> > 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.
>>
>
> You do this before set the pipeline tate to playing? And then all streams
> will use the same wall clock, is that right?
>
> I have a similar issue where I have two pipelines (left and right camera)
> and I would like both of them to be aligned to the same clock.
>

We'll, don't forget to enforce a specific clock with use_clock, otherwise
it may pick an element provided clock and that won't work.


> -aps
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190725/edb94581/attachment-0001.html>


More information about the gstreamer-devel mailing list