gstreamer/gst/cutter
Tim-Philipp Müller 05eaedc496 Use GST_DEBUG_CATEGORY_STATIC where possible (#342503) plus two minor macro fixes.
Original commit message from CVS:
* ext/annodex/gstcmmldec.c:
* ext/annodex/gstcmmlenc.c:
* ext/annodex/gstcmmlparser.c:
* ext/dv/gstdvdec.c:
* ext/dv/gstdvdemux.c:
* ext/gdk_pixbuf/pixbufscale.c:
* ext/jpeg/gstjpegenc.c:
* ext/jpeg/gstsmokedec.c:
* ext/jpeg/gstsmokeenc.c:
* ext/libpng/gstpngdec.c:
* ext/libpng/gstpngenc.c:
* ext/speex/gstspeexenc.c:
* gst/alpha/gstalphacolor.c:
* gst/cutter/gstcutter.c:
* gst/debug/gstnavigationtest.c:
* gst/icydemux/gsticydemux.c:
* gst/level/gstlevel.c:
* gst/multipart/multipart.c:
* gst/rtp/gstrtpamrpay.c:
* gst/rtp/gstrtpdepay.c:
* gst/rtp/gstrtpilbcpay.c:
* gst/rtp/gstrtpmp4gpay.c:
* gst/rtp/gstrtpmp4vpay.c:
* gst/rtsp/gstrtpdec.c:
* gst/rtsp/gstrtspsrc.c:
* gst/udp/gstdynudpsink.c:
* gst/udp/gstmultiudpsink.c:
* gst/udp/gstudpsrc.c:
* gst/videobox/gstvideobox.c:
* gst/videofilter/gstvideoflip.c:
Use GST_DEBUG_CATEGORY_STATIC where possible (#342503)
plus two minor macro fixes.
2006-06-22 19:31:04 +00:00
..
cutter.vcproj more working plugins 2004-07-27 21:41:30 +00:00
filter.func Initial revision 2001-12-22 23:27:31 +00:00
gstcutter.c Use GST_DEBUG_CATEGORY_STATIC where possible (#342503) plus two minor macro fixes. 2006-06-22 19:31:04 +00:00
gstcutter.h Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass 2006-06-01 21:07:26 +00:00
Makefile.am port cutter 2005-11-21 19:50:25 +00:00
README Initial revision 2001-12-22 23:27:31 +00:00

cutter plugin by thomas <thomas@apestaart.org>

SYNOPSIS

This plugin emits signals when RMS level of audio signal crosses a
threshold for a given amount of time.  

As soon as the buffer's RMS is greater than the threshold value, the plugin fires a CUT_START signal.

When the buffer's RMS level drops below the threshold value for a consecutive run length longer than the given runlength, it sends a CUT_STOP signal.

When a pre-recording buffer is used, the plugin will delay throughput of data when it's in "silent" mode for a maximum length equal to the pre-recording buffer length.  As soon as the input level crosses the threshold level, this pre-recorded buffer is flushed to the src pad (so you can actually record the audio just before the threshold crossing) after sending the signal.

ARGUMENTS

GstCutter::threshold
	level (between 0 and 1) of threshold
GstCutter::threshold_dB
	level of threshold in dB (between -inf and 0)
GstCutter::runlength
	minimum length (in seconds) before plugin sends cut_stop signal
GstCutter::prelength
        length of pre-recording buffer
        
SIGNALS

	CUT_START
	gets sent when the level of the signal goes above threshold level
	CUT_STOP
	gets sent when the level of the signal has been below the
	threshold level for a number of consecutive iterations of which
	the cumulative length is more than the runlength

LIMITATIONS

	* RMS value is calculated over the whole data buffer, so
	  the time resolution is limited to the buffer length
	* RMS value is calculated over all of the channels combined