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 char * | get_metadata_val (AVFrame *insamples, const char *key) |
static av_always_inline void | update (SilenceDetectContext *s, AVFrame *insamples, int is_silence, 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) |
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 48 of file af_silencedetect.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_AUDIO_PARAM |
Definition at line 49 of file af_silencedetect.c.
Definition at line 96 of file af_silencedetect.c.
AVFILTER_DEFINE_CLASS | ( | silencedetect | ) |
|
static |
Definition at line 60 of file af_silencedetect.c.
Referenced by update().
|
static |
Definition at line 66 of file af_silencedetect.c.
Referenced by adpcm_decode_frame().
|
static |
Definition at line 115 of file af_silencedetect.c.
|
static |
Definition at line 136 of file af_silencedetect.c.
|
static |
Definition at line 156 of file af_silencedetect.c.
|
static |
Definition at line 50 of file af_silencedetect.c.
|
static |
Definition at line 189 of file af_silencedetect.c.
|
static |
Definition at line 199 of file af_silencedetect.c.
AVFilter ff_af_silencedetect |
Definition at line 207 of file af_silencedetect.c.