FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
SilenceDetectContext Struct Reference

Data Fields

const AVClassclass
 
double noise
 noise amplitude ratio
 
double duration
 minimum duration of silence until notification
 
int64_t nb_null_samples
 current number of continuous zero samples
 
int64_t start
 if silence is detected, this value contains the time of the first zero sample
 
int last_sample_rate
 last sample rate to check for sample rate changes
 
void(* silencedetect )(struct SilenceDetectContext *s, AVFrame *insamples, int nb_samples, int64_t nb_samples_notify, AVRational time_base)
 

Detailed Description

Definition at line 35 of file af_silencedetect.c.

Field Documentation

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(), and update().

int64_t SilenceDetectContext::nb_null_samples

current number of continuous zero samples

Definition at line 39 of file af_silencedetect.c.

Referenced by filter_frame(), and update().

int64_t SilenceDetectContext::start

if silence is detected, this value contains the time of the first zero sample

Definition at line 40 of file af_silencedetect.c.

Referenced by update().

int SilenceDetectContext::last_sample_rate

last sample rate to check for sample rate changes

Definition at line 41 of file af_silencedetect.c.

Referenced by filter_frame().

void(* SilenceDetectContext::silencedetect)(struct SilenceDetectContext *s, AVFrame *insamples, int nb_samples, int64_t nb_samples_notify, AVRational time_base)

Definition at line 43 of file af_silencedetect.c.

Referenced by config_input(), and filter_frame().


The documentation for this struct was generated from the following file: