[gst-devel] Multiple pipelines sharing audio source
tim.crews at gecoinc.com
Wed Nov 5 18:02:08 CET 2008
I am developing a digital video recorder application that supports the
simultaneous recording of two video streams. The catch is, both video
streams share a single audio source.
I have researched on-line quite a bit, and I haven't been able to find a
way to do this. I know about the "tee" element, but as I understand it,
this is used for splitting a source between multiple elements in the
So my question is: Is there a way to share a single alsasrc audio source
between two independent GStreamer pipelines?
I could be wrong, but I think that I must have two independent GStreamer
pipelines to support two recording video streams. Each video stream is
independently started/stopped/paused. Each video stream is recorded to
a separate video file. Every time a video stream is stopped and
restarted, I am required to start recording to a new output filename.
All of these constraints have lead me to an architecture of two
independent recording pipelines. If there is a way to accomplish these
requirements with a single pipeline, that would also solve my problem,
since I could internally "tee" my audio source within that single pipeline.
Thank you in advance for any advice you can provide.
More information about the gstreamer-devel