FFmpeg
Data Fields
WhisperContext Struct Reference

Data Fields

const AVClassclass
 
char *  model_path
 
char *  language
 
bool  use_gpu
 
int  gpu_device
 
char *  vad_model_path
 
 
 
 
 
char *  destination
 
char *  format
 
struct whisper_context *  ctx_wsp
 
struct whisper_vad_context *  ctx_vad
 
struct whisper_vad_params  vad_params
 
 
 
 
 
 
int  eof
 
 
 
int  index
 

Detailed Description

Definition at line 41 of file af_whisper.c.

Field Documentation

class

const AVClass* WhisperContext::class

Definition at line 42 of file af_whisper.c.

model_path

char* WhisperContext::model_path

Definition at line 43 of file af_whisper.c.

Referenced by init().

language

char* WhisperContext::language

Definition at line 44 of file af_whisper.c.

Referenced by init(), and run_transcription().

use_gpu

bool WhisperContext::use_gpu

Definition at line 45 of file af_whisper.c.

Referenced by init().

gpu_device

int WhisperContext::gpu_device

Definition at line 46 of file af_whisper.c.

Referenced by init().

vad_model_path

char* WhisperContext::vad_model_path

Definition at line 47 of file af_whisper.c.

Referenced by init().

vad_threshold

float WhisperContext::vad_threshold

Definition at line 48 of file af_whisper.c.

Referenced by init().

vad_min_speech_duration

int64_t WhisperContext::vad_min_speech_duration

Definition at line 49 of file af_whisper.c.

Referenced by filter_frame(), and init().

vad_min_silence_duration

int64_t WhisperContext::vad_min_silence_duration

Definition at line 50 of file af_whisper.c.

Referenced by filter_frame(), and init().

queue

int64_t WhisperContext::queue

Definition at line 52 of file af_whisper.c.

Referenced by init().

destination

char* WhisperContext::destination

Definition at line 53 of file af_whisper.c.

Referenced by init().

format

char* WhisperContext::format

Definition at line 54 of file af_whisper.c.

Referenced by run_transcription().

ctx_wsp

struct whisper_context* WhisperContext::ctx_wsp

Definition at line 56 of file af_whisper.c.

Referenced by init(), run_transcription(), and uninit().

ctx_vad

struct whisper_vad_context* WhisperContext::ctx_vad

Definition at line 57 of file af_whisper.c.

Referenced by filter_frame(), init(), and uninit().

vad_params

struct whisper_vad_params WhisperContext::vad_params

Definition at line 58 of file af_whisper.c.

Referenced by filter_frame(), and init().

audio_buffer

float* WhisperContext::audio_buffer

Definition at line 60 of file af_whisper.c.

Referenced by filter_frame(), init(), run_transcription(), and uninit().

audio_buffer_queue_size

int WhisperContext::audio_buffer_queue_size

Definition at line 61 of file af_whisper.c.

Referenced by filter_frame(), and init().

audio_buffer_fill_size

int WhisperContext::audio_buffer_fill_size

Definition at line 62 of file af_whisper.c.

Referenced by filter_frame(), push_last_frame(), run_transcription(), and uninit().

audio_buffer_vad_size

int WhisperContext::audio_buffer_vad_size

Definition at line 63 of file af_whisper.c.

Referenced by filter_frame(), and run_transcription().

audio_buffer_start_ms

int64_t WhisperContext::audio_buffer_start_ms

Definition at line 64 of file af_whisper.c.

Referenced by filter_frame(), and run_transcription().

eof

int WhisperContext::eof

Definition at line 66 of file af_whisper.c.

Referenced by activate().

next_pts

int64_t WhisperContext::next_pts

Definition at line 67 of file af_whisper.c.

Referenced by activate(), filter_frame(), init(), and push_last_frame().

avio_context

AVIOContext* WhisperContext::avio_context

Definition at line 69 of file af_whisper.c.

Referenced by init(), run_transcription(), and uninit().

index

int WhisperContext::index

Definition at line 70 of file af_whisper.c.

Referenced by run_transcription().


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

Generated on Tue Nov 18 2025 19:24:29 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /