[gst-devel] how to restart a pipeline

Pavel Zeldin pzeldin at gmail.com
Wed Oct 8 22:04:42 CEST 2008


I need advice on how to restart a pipeline cleanly. The pipeline
handles recording from several live sources. The recording goes to a
file (may be several files)  and/or network.
>From time to time I want to close the current file(s) and begin a new
one. File should not be closed while there is outstanding data in the
pipeline.
To ensure this the application sends EOS to the pipeline. When EOS is
seen on the bus the application stops the pipeline.
But in order to restart it all dynamic pads must be created and linked
again, and caps negotiation repeated. This takes long time.
Is there a simpler (i.e. faster)  way?

-Pavel.




More information about the gstreamer-devel mailing list