GStreamer multi pipeline time sync

gotsring gotsring at live.com
Tue Dec 1 04:06:22 UTC 2020


Can you describe what you are trying to achieve? It sounds like you want to
grab video and audio (e.g. webcam and mic), combine/mux those streams, then
be able to view the stream it and optionally record it. Something like:

View/Record pipeline (gst-launch-1.0)
videotestsrc ! timeoverlay ! tee name=videotee ! queue ! autovideosink \
audiotestsrc wave=8 ! tee name=audiotee ! queue ! autoaudiosink \
videotee. ! queue ! x264enc ! matroskamux name=muxer ! filesink
location=save_location.mkv async=false \
audiotee. ! queue ! muxer.


Playback (just to test)
gst-play-1.0 save_location.mkv

This should probably not be used exactly, but that's the gist. You can just
google how to mux streams using GStreamer. I also think that queue has a
property that allows you to effectively add a delay to a stream
(min-threshold-time), is this what you wanted?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list