[gst-devel] Dynamically changing filesink location fails

Stefan Kost ensonic at hora-obscura.de
Tue Jan 15 22:10:36 CET 2008


Hi,

Maher Omar schrieb:
> Hi everyone,
> 
> I've got a pipeline which looks like :
> source -> decoder -> encoder -> muxer -> filesink
> 
> Is there a way to change the filesink location on the fly without
> restarting the pipeline, so that you can create multiple named files ?
> 
> I have tried:
> * to block the muxer src pad, stop the filesink to change the location,
> then start the filesink again, and unblock the muxer pad, but the
> recording fails for the second file
> * to create a new filesink with the new location
> 
> But I couldn't manage to make these work ... No matter what
> codecs/containers/sources being used.
> 
> Any suggestion is welcome

use multifilesink :)

Stefan

> 
> Maher
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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