[gst-devel] How to let cheese switch between video mode and photo mode without interupting video

Jaap A. Haitsma jaap at haitsma.org
Mon Nov 19 21:05:21 CET 2007

On Nov 19, 2007 8:56 PM, Stefan Kost <ensonic at hora-obscura.de> wrote:
> Hi,
> Jaap A. Haitsma schrieb:
> > Hi,
> >
> > I guess some of you are familiar with the cheese webcam program [1]
> > Cheese used to have two pipelines (one for taking a picture and one
> > for recording a video). We refactored that code and made one pipeline
> > to which we connect a photo_bin or video encoding bin to the pipeline
> > depending on if we are in video or photo mode.
> >
> > In order to do that we need to stop and start the pipeline. Therefore
> > the video is interupted
> >
> > So what we would like is have 2 pipelines running.
> What about running one pipeline with a switch element. I haven't used it yet
> myself. If that does not work using a tee and pad blocking could also work.
Thanks, I was looking for such a switch element. Probably because the
name is so logical I overlooked it :-(

I'll give it a try


More information about the gstreamer-devel mailing list