How to synchronize buffer timestamp across two gstreamer pipeline(appsink,appsrc, rtspserver)
Sebastian Dröge
sebastian at centricular.com
Tue Jun 21 06:30:56 UTC 2016
On Sa, 2016-06-18 at 11:27 -0400, Nicolas Dufresne wrote:
>
> You don't, you can use push_sample(), so the segment is passed. And
> then, on the first buffer, you can compute the running time of this
> buffer (gst_segment_to_running_time()), and set the appsrc pad offset
> to -running_time_first_pts. Careful, that if you add audio, you
> should use the same offset for all stream, otherwise you will break
> a/v sync.
push_sample() does not pass on the segment in appsrc. It only handles
the contained buffer and caps currently, no other information from the
sample.
--
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/20160621/2ed29184/attachment.sig>
More information about the gstreamer-devel
mailing list