[gst-devel] How to seamlessly switch between two sinks / output pipelines?
Stefan Kost
ensonic at hora-obscura.de
Wed Oct 24 21:50:13 CEST 2007
Hi,
Jaap Haitsma schrieb:
> Hi,
>
> What I like to do is the following
>
> I'm recording audio and video from a src and displaying it in a
> window. I'd like to route that stream seamlessly to one pipeline that
> can make a photo or to a pipeline that can make a video recording, by
> controlling some kind of switch.
>
> What I currently do is if I'm in photo mode and want to switch is stop
> the pipeline, change the pipeline to video mode by removing and adding
> the appropriate GstElements and restart the pipeline. Stopping,
> changing the pipeline and starting however interrupts the video
> display.
>
> So the question is can I change from photo mode to video mode, without
> stopping the complete pipeline?
>
You could also put identity into your video pipeline and connect to hand-off
signal. when the capture-button is pressed you set a flag, store the buffer from
handoff and reset the flag.
Stefan
>
> Thanks
>
> Jaap
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list