FFmpeg
4.0
|
Data Fields | |
const AVClass * | class |
double | noise |
noise amplitude ratio More... | |
double | duration |
minimum duration of silence until notification More... | |
int | mono |
mono mode : check each channel separately (default = check when ALL channels are silent) More... | |
int | channels |
number of channels More... | |
int | independant_channels |
number of entries in following arrays (always 1 in mono mode) More... | |
int64_t * | nb_null_samples |
(array) current number of continuous zero samples More... | |
int64_t * | start |
(array) if silence is detected, this value contains the time of the first zero sample (default/unset = INT64_MIN) More... | |
int64_t | frame_end |
pts of the end of the current frame (used to compute duration of silence at EOS) More... | |
int | last_sample_rate |
last sample rate to check for sample rate changes More... | |
AVRational | time_base |
time_base More... | |
void(* | silencedetect )(struct SilenceDetectContext *s, AVFrame *insamples, int nb_samples, int64_t nb_samples_notify, AVRational time_base) |
Definition at line 35 of file af_silencedetect.c.
const AVClass* SilenceDetectContext::class |
Definition at line 36 of file af_silencedetect.c.
double SilenceDetectContext::noise |
noise amplitude ratio
Definition at line 37 of file af_silencedetect.c.
Referenced by config_input().
double SilenceDetectContext::duration |
minimum duration of silence until notification
Definition at line 38 of file af_silencedetect.c.
Referenced by filter_frame().
int SilenceDetectContext::mono |
mono mode : check each channel separately (default = check when ALL channels are silent)
Definition at line 39 of file af_silencedetect.c.
Referenced by config_input(), filter_frame(), and update().
int SilenceDetectContext::channels |
number of channels
Definition at line 40 of file af_silencedetect.c.
Referenced by config_input(), and update().
int SilenceDetectContext::independant_channels |
number of entries in following arrays (always 1 in mono mode)
Definition at line 41 of file af_silencedetect.c.
Referenced by config_input(), filter_frame(), uninit(), and update().
int64_t* SilenceDetectContext::nb_null_samples |
(array) current number of continuous zero samples
Definition at line 42 of file af_silencedetect.c.
Referenced by config_input(), filter_frame(), uninit(), and update().
int64_t* SilenceDetectContext::start |
(array) if silence is detected, this value contains the time of the first zero sample (default/unset = INT64_MIN)
Definition at line 43 of file af_silencedetect.c.
Referenced by config_input(), uninit(), and update().
int64_t SilenceDetectContext::frame_end |
pts of the end of the current frame (used to compute duration of silence at EOS)
Definition at line 44 of file af_silencedetect.c.
Referenced by filter_frame(), and update().
int SilenceDetectContext::last_sample_rate |
last sample rate to check for sample rate changes
Definition at line 45 of file af_silencedetect.c.
Referenced by filter_frame().
AVRational SilenceDetectContext::time_base |
time_base
Definition at line 46 of file af_silencedetect.c.
Referenced by filter_frame(), and uninit().
void(* SilenceDetectContext::silencedetect) (struct SilenceDetectContext *s, AVFrame *insamples, int nb_samples, int64_t nb_samples_notify, AVRational time_base) |
Definition at line 48 of file af_silencedetect.c.
Referenced by config_input(), and filter_frame().