mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
0debb1e9fc
Original commit message from CVS: * ext\jpeg\smokecodec.c: use of GST_DEBUG instead of DEBUG(a...) for WIN32 * ext\speex\gstspeexenc.c: (gst_speexenc_set_header_on_caps): move first instruction after all variables declarations * gst\alpha\gstalpha.c: * gst\effectv\gstshagadelic.c: * gst\smpte\paint.c: * gst\videofilter\gstvideobalance.c: define M_PI if it's not defined (it's not defined on WIN32) * gst\cutter\gstcutter.c: (gst_cutter_chain): * gst\id3demux\id3v2frames.c: (parse_relative_volume_adjustment_two): * gst\level\gstlevel.c: (gst_level_set_property), (gst_level_transform_ip): * gst\matroska\matroska-demux.c: (gst_matroska_demux_parse_info), (gst_matroska_demux_video_caps): * gst\matroska\matroska-mux.c: (gst_matroska_mux_start), (gst_matroska_mux_finish): * gst\wavparse\gstwavparse.c: (gst_wavparse_stream_data): use gst_guint64_to_gdouble for conversions * gst\goom\filters.c: (setPixelRGB_): fix a debug which was using undefined variable * gst\level\gstlevel.c: (gst_level_set_caps), (gst_level_transform_ip): * gst\matroska\ebml-read.c: (gst_ebml_read_sint): replace LL suffix with L suffix (LL isn't supported by MSVC6.0) * win32/vs6: add vs6 projects files for most of plugins-good |
||
---|---|---|
.. | ||
cutter.vcproj | ||
filter.func | ||
gstcutter.c | ||
gstcutter.h | ||
Makefile.am | ||
README |
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