GStreamer multi pipeline time sync

Peter Biro pettair at gmail.com
Wed Dec 2 20:27:10 UTC 2020


Hi Tim.

Thanks for the examples!

I think I tried something similar before but as I remember when I set the state on the filesink (to be able to change the location) to GST_STATE_NULL it was propagated trough the pipeline and it caused glitches in the streaming. 

As I see you do kind of the same here with the 'autovideosink' and I guess you are not experience such thing since you block the pad on 'vrecq' to block? 

Bests,
Peter

> On 2020. Dec 2., at 0:30, Tim Müller <tim at centricular.com> wrote:
> 
> Hi Peter,
> 
> I have an example for save-to-file-with-backlog here:
> 
> https://people.freedesktop.org/~tpm/code/test-backlog-recording-h264.c
> 
> or (rtp variant):
> 
> https://people.freedesktop.org/~tpm/code/test-backlog-recording-h264-rtp.c
> 
> for what it's worth.
> 
> And audiomixer element can produce silence samples if it operates in
> live mode, which will happen if the upstream source is a live/capture
> source or you force it into live mode with a dummy audiotestsrc is-
> live=true branch.
> 
>  Alternatively  .. ! interaudiosink   interaudiosrc ! ...
> 
> Cheers
> Tim
> 
> -- 
> Tim Müller, Centricular Ltd - http://www.centricular.com
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list