|
FFmpeg
|
Audio silence detector. More...
#include <float.h>#include "libavutil/opt.h"#include "libavutil/timestamp.h"#include "audio.h"#include "formats.h"#include "avfilter.h"#include "internal.h"Go to the source code of this file.
Data Structures | |
| struct | SilenceDetectContext |
Macros | |
| #define | OFFSET(x) offsetof(SilenceDetectContext, x) |
| #define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_AUDIO_PARAM |
| #define | SILENCE_DETECT(name, type) |
Functions | |
| AVFILTER_DEFINE_CLASS (silencedetect) | |
| static void | set_meta (AVFrame *insamples, int channel, const char *key, char *value) |
| static av_always_inline void | update (SilenceDetectContext *s, AVFrame *insamples, int is_silence, int current_sample, int64_t nb_samples_notify, AVRational time_base) |
| static int | config_input (AVFilterLink *inlink) |
| static int | filter_frame (AVFilterLink *inlink, AVFrame *insamples) |
| static int | query_formats (AVFilterContext *ctx) |
| static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
| static const AVOption | silencedetect_options [] |
| static const AVFilterPad | silencedetect_inputs [] |
| static const AVFilterPad | silencedetect_outputs [] |
| AVFilter | ff_af_silencedetect |
Audio silence detector.
Definition in file af_silencedetect.c.
| #define OFFSET | ( | x | ) | offsetof(SilenceDetectContext, x) |
Definition at line 53 of file af_silencedetect.c.
| #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_AUDIO_PARAM |
Definition at line 54 of file af_silencedetect.c.
Definition at line 118 of file af_silencedetect.c.
| AVFILTER_DEFINE_CLASS | ( | silencedetect | ) |
Definition at line 66 of file af_silencedetect.c.
Referenced by update().
|
static |
Definition at line 76 of file af_silencedetect.c.
Referenced by adpcm_decode_frame(), estimate_pitch(), and uninit().
|
static |
Definition at line 137 of file af_silencedetect.c.
|
static |
Definition at line 170 of file af_silencedetect.c.
|
static |
Definition at line 196 of file af_silencedetect.c.
|
static |
Definition at line 229 of file af_silencedetect.c.
|
static |
Definition at line 55 of file af_silencedetect.c.
|
static |
Definition at line 241 of file af_silencedetect.c.
|
static |
Definition at line 251 of file af_silencedetect.c.
| AVFilter ff_af_silencedetect |
Definition at line 259 of file af_silencedetect.c.
1.8.6