question: filter that affects its sink every N minutes

Roman Divacky roman_divacky at tempest.sk
Tue May 24 07:35:51 PDT 2011


Hi there,

I am trying to develop a filter that will be chained like this:


	source -> my_filter -> sink


Suppose the sink in question is filesink, I need the my_filter to change 
the name
of the the output file every 5 minutes. I think the my_filter will have 
close the connection
to the sink and reopen a new one with the changed name. Am I correct? If 
so - how to do that?
Or is there an easier way?

Specifically I am trying to record video in 1 minute chunks and the name 
of the resulting files
will contain timestamp of the beginning of the recording.

Thank you for your help!

roman


More information about the gstreamer-devel mailing list