Pals,
A small problem blockes me these days.
I want to find out an element which works like filesink but need to change file location (file name) frequently.
I tried filesink firstly, but it can only setlocation before the specified file opened and can not setlocation to it after it got EOS.
Thanks a lot for your helps.
BRS
Edward
------------------------------------------------------------------------- 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi
> I want to find out an element which works like filesink but need to change > file location (file name) frequently. I tried filesink firstly, but it can only setlocation before the specified > file opened and can not setlocation to it after it got EOS. AFAIK, this is a known limitation. The only workaround i could found sofar is blocking the pads of the filesink, switching it to a fakesink, creating a new filesink with new location and linking it back. However, this worked only on simple pipelines (videotestsrc, single video pipeline), not complex ones (muxed ones). I'd be glad to know more as well. What's the proper way to emit an arbitrary EOS signal ? FLo ------------------------------------------------------------------------- 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On 2/29/08, Florent <[hidden email]> wrote:
Hi What my solution is:
gst_element_set_state (gstFileSink, GST_STATE_NULL); pFileSinkPad = gst_element_get_pad (gstFileSink, "sink"); } Here I cast the filesink to basesink to access its member. Really, it is very bad solution I think. ------------------------------------------------------------------------- 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |