FFmpegKit iOS / macOS / tvOS API  4.4
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
fftools_ffmpeg.h File Reference

Go to the source code of this file.

Data Structures

struct  HWAccel
 
struct  HWDevice
 
struct  StreamMap
 
struct  AudioChannelMap
 
struct  OptionsContext
 
struct  InputFilter
 
struct  OutputFilter
 
struct  FilterGraph
 
struct  InputStream
 
struct  InputStream::sub2video
 
struct  InputFile
 
struct  OutputStream
 
struct  OutputFile
 

Macros

#define VSYNC_AUTO   -1
 
#define VSYNC_PASSTHROUGH   0
 
#define VSYNC_CFR   1
 
#define VSYNC_VFR   2
 
#define VSYNC_VSCFR   0xfe
 
#define VSYNC_DROP   0xff
 
#define MAX_STREAMS   1024 /* arbitrary sanity check value */
 
#define DECODING_FOR_OST   1
 
#define DECODING_FOR_FILTER   2
 
#define ABORT_ON_FLAG_EMPTY_OUTPUT   (1 << 0)
 
#define ABORT_ON_FLAG_EMPTY_OUTPUT_STREAM   (1 << 1)
 

Typedefs

typedef struct HWAccel HWAccel
 
typedef struct HWDevice HWDevice
 
typedef struct StreamMap StreamMap
 
typedef struct OptionsContext OptionsContext
 
typedef struct InputFilter InputFilter
 
typedef struct OutputFilter OutputFilter
 
typedef struct FilterGraph FilterGraph
 
typedef struct InputStream InputStream
 
typedef struct InputFile InputFile
 
typedef struct OutputStream OutputStream
 
typedef struct OutputFile OutputFile
 

Enumerations

enum  HWAccelID {
  HWACCEL_NONE = 0 , HWACCEL_AUTO , HWACCEL_GENERIC , HWACCEL_VIDEOTOOLBOX ,
  HWACCEL_QSV
}
 
enum  forced_keyframes_const {
  FKF_N , FKF_N_FORCED , FKF_PREV_FORCED_N , FKF_PREV_FORCED_T ,
  FKF_T , FKF_NB
}
 
enum  OSTFinished { ENCODER_FINISHED = 1 , MUXER_FINISHED = 2 }
 

Functions

void term_init (void)
 
void term_exit (void)
 
void reset_options (OptionsContext *o, int is_input)
 
void show_usage (void)
 
void opt_output_file (void *optctx, const char *filename)
 
void remove_avoptions (AVDictionary **a, AVDictionary *b)
 
void assert_avoptions (AVDictionary *m)
 
int guess_input_channel_layout (InputStream *ist)
 
enum AVPixelFormat choose_pixel_fmt (AVStream *st, AVCodecContext *avctx, const AVCodec *codec, enum AVPixelFormat target)
 
void choose_sample_fmt (AVStream *st, const AVCodec *codec)
 
int configure_filtergraph (FilterGraph *fg)
 
int configure_output_filter (FilterGraph *fg, OutputFilter *ofilter, AVFilterInOut *out)
 
void check_filter_outputs (void)
 
int ist_in_filtergraph (FilterGraph *fg, InputStream *ist)
 
int filtergraph_is_simple (FilterGraph *fg)
 
int init_simple_filtergraph (InputStream *ist, OutputStream *ost)
 
int init_complex_filtergraph (FilterGraph *fg)
 
void sub2video_update (InputStream *ist, int64_t heartbeat_pts, AVSubtitle *sub)
 
int ifilter_parameters_from_frame (InputFilter *ifilter, const AVFrame *frame)
 
int ffmpeg_parse_options (int argc, char **argv)
 
int videotoolbox_init (AVCodecContext *s)
 
int qsv_init (AVCodecContext *s)
 
HWDevicehw_device_get_by_name (const char *name)
 
int hw_device_init_from_string (const char *arg, HWDevice **dev)
 
void hw_device_free_all (void)
 
int hw_device_setup_for_decode (InputStream *ist)
 
int hw_device_setup_for_encode (OutputStream *ost)
 
int hw_device_setup_for_filter (FilterGraph *fg)
 
int hwaccel_decode_init (AVCodecContext *avctx)
 
void set_report_callback (void(*callback)(int, float, float, int64_t, int, double, double))
 
void cancel_operation (long id)
 
int opt_map (void *optctx, const char *opt, const char *arg)
 
int opt_map_channel (void *optctx, const char *opt, const char *arg)
 
int opt_recording_timestamp (void *optctx, const char *opt, const char *arg)
 
int opt_data_frames (void *optctx, const char *opt, const char *arg)
 
int opt_progress (void *optctx, const char *opt, const char *arg)
 
int opt_target (void *optctx, const char *opt, const char *arg)
 
int opt_vsync (void *optctx, const char *opt, const char *arg)
 
int opt_abort_on (void *optctx, const char *opt, const char *arg)
 
int opt_stats_period (void *optctx, const char *opt, const char *arg)
 
int opt_qscale (void *optctx, const char *opt, const char *arg)
 
int opt_profile (void *optctx, const char *opt, const char *arg)
 
int opt_filter_complex (void *optctx, const char *opt, const char *arg)
 
int opt_filter_complex_script (void *optctx, const char *opt, const char *arg)
 
int opt_attach (void *optctx, const char *opt, const char *arg)
 
int opt_video_frames (void *optctx, const char *opt, const char *arg)
 
int opt_video_codec (void *optctx, const char *opt, const char *arg)
 
int opt_sameq (void *optctx, const char *opt, const char *arg)
 
int opt_timecode (void *optctx, const char *opt, const char *arg)
 
int opt_vstats_file (void *optctx, const char *opt, const char *arg)
 
int opt_vstats (void *optctx, const char *opt, const char *arg)
 
int opt_old2new (void *optctx, const char *opt, const char *arg)
 
int opt_streamid (void *optctx, const char *opt, const char *arg)
 
int opt_bitrate (void *optctx, const char *opt, const char *arg)
 
int show_hwaccels (void *optctx, const char *opt, const char *arg)
 
int opt_video_filters (void *optctx, const char *opt, const char *arg)
 
int opt_audio_frames (void *optctx, const char *opt, const char *arg)
 
int opt_audio_qscale (void *optctx, const char *opt, const char *arg)
 
int opt_audio_codec (void *optctx, const char *opt, const char *arg)
 
int opt_channel_layout (void *optctx, const char *opt, const char *arg)
 
int opt_preset (void *optctx, const char *opt, const char *arg)
 
int opt_audio_filters (void *optctx, const char *opt, const char *arg)
 
int opt_subtitle_codec (void *optctx, const char *opt, const char *arg)
 
int opt_video_channel (void *optctx, const char *opt, const char *arg)
 
int opt_video_standard (void *optctx, const char *opt, const char *arg)
 
int opt_sdp_file (void *optctx, const char *opt, const char *arg)
 
int opt_data_codec (void *optctx, const char *opt, const char *arg)
 
int opt_init_hw_device (void *optctx, const char *opt, const char *arg)
 
int opt_filter_hw_device (void *optctx, const char *opt, const char *arg)
 
void add_input_streams (OptionsContext *o, AVFormatContext *ic)
 
void assert_file_overwrite (const char *filename)
 
void dump_attachment (AVStream *st, const char *filename)
 
uint8_t * get_line (AVIOContext *s)
 
void uninit_options (OptionsContext *o)
 
void init_options (OptionsContext *o)
 
AVDictionary * strip_specifiers (AVDictionary *dict)
 
void parse_meta_type (char *arg, char *type, int *index, const char **stream_spec)
 
int fftools_copy_metadata (char *outspec, char *inspec, AVFormatContext *oc, AVFormatContext *ic, OptionsContext *o)
 
AVCodec * find_codec_or_die (const char *name, enum AVMediaType type, int encoder)
 
AVCodec * choose_decoder (OptionsContext *o, AVFormatContext *s, AVStream *st)
 
int open_input_file (OptionsContext *o, const char *filename)
 
int get_preset_file_2 (const char *preset_name, const char *codec_name, AVIOContext **s)
 
int choose_encoder (OptionsContext *o, AVFormatContext *s, OutputStream *ost)
 
OutputStreamnew_output_stream (OptionsContext *o, AVFormatContext *oc, enum AVMediaType type, int source_index)
 
void parse_matrix_coeffs (uint16_t *dest, const char *str)
 
uint8_t * fftools_read_file (const char *filename)
 
char * get_ost_filters (OptionsContext *o, AVFormatContext *oc, OutputStream *ost)
 
void check_streamcopy_filters (OptionsContext *o, AVFormatContext *oc, const OutputStream *ost, enum AVMediaType type)
 
OutputStreamnew_video_stream (OptionsContext *o, AVFormatContext *oc, int source_index)
 
OutputStreamnew_audio_stream (OptionsContext *o, AVFormatContext *oc, int source_index)
 
OutputStreamnew_data_stream (OptionsContext *o, AVFormatContext *oc, int source_index)
 
OutputStreamnew_unknown_stream (OptionsContext *o, AVFormatContext *oc, int source_index)
 
OutputStreamnew_attachment_stream (OptionsContext *o, AVFormatContext *oc, int source_index)
 
OutputStreamnew_subtitle_stream (OptionsContext *o, AVFormatContext *oc, int source_index)
 
int copy_chapters (InputFile *ifile, OutputFile *ofile, int copy_metadata)
 
void init_output_filter (OutputFilter *ofilter, OptionsContext *o, AVFormatContext *oc)
 
int init_complex_filters (void)
 
int open_output_file (OptionsContext *o, const char *filename)
 
int opt_default_new (OptionsContext *o, const char *opt, const char *arg)
 
int open_files (OptionGroupList *l, const char *inout, int(*open_file)(OptionsContext *, const char *))
 

Variables

const char *const forced_keyframes_const_names []
 
__thread InputStream ** input_streams
 
__thread int nb_input_streams
 
__thread InputFile ** input_files
 
__thread int nb_input_files
 
__thread OutputStream ** output_streams
 
__thread int nb_output_streams
 
__thread OutputFile ** output_files
 
__thread int nb_output_files
 
__thread FilterGraph ** filtergraphs
 
__thread int nb_filtergraphs
 
__thread char * vstats_filename
 
__thread char * sdp_filename
 
__thread float audio_drift_threshold
 
__thread float dts_delta_threshold
 
__thread float dts_error_threshold
 
__thread int audio_volume
 
__thread int audio_sync_method
 
__thread int video_sync_method
 
__thread float frame_drop_threshold
 
__thread int do_benchmark
 
__thread int do_benchmark_all
 
__thread int do_deinterlace
 
__thread int do_hex_dump
 
__thread int do_pkt_dump
 
__thread int copy_ts
 
__thread int start_at_zero
 
__thread int copy_tb
 
__thread int debug_ts
 
__thread int exit_on_error
 
__thread int abort_on_flags
 
__thread int print_stats
 
__thread int64_t stats_period
 
__thread int qp_hist
 
__thread int stdin_interaction
 
__thread int frame_bits_per_raw_sample
 
__thread AVIOContext * progress_avio
 
__thread float max_error_rate
 
__thread char * videotoolbox_pixfmt
 
__thread int filter_nbthreads
 
__thread int filter_complex_nbthreads
 
__thread int vstats_version
 
__thread int auto_conversion_filters
 
__thread const AVIOInterruptCB int_cb
 
const HWAccel hwaccels []
 
__thread HWDevicefilter_hw_device
 

Macro Definition Documentation

◆ ABORT_ON_FLAG_EMPTY_OUTPUT

#define ABORT_ON_FLAG_EMPTY_OUTPUT   (1 << 0)

Definition at line 462 of file fftools_ffmpeg.h.

◆ ABORT_ON_FLAG_EMPTY_OUTPUT_STREAM

#define ABORT_ON_FLAG_EMPTY_OUTPUT_STREAM   (1 << 1)

Definition at line 463 of file fftools_ffmpeg.h.

◆ DECODING_FOR_FILTER

#define DECODING_FOR_FILTER   2

Definition at line 330 of file fftools_ffmpeg.h.

◆ DECODING_FOR_OST

#define DECODING_FOR_OST   1

Definition at line 329 of file fftools_ffmpeg.h.

◆ MAX_STREAMS

#define MAX_STREAMS   1024 /* arbitrary sanity check value */

Definition at line 79 of file fftools_ffmpeg.h.

◆ VSYNC_AUTO

#define VSYNC_AUTO   -1

Definition at line 72 of file fftools_ffmpeg.h.

◆ VSYNC_CFR

#define VSYNC_CFR   1

Definition at line 74 of file fftools_ffmpeg.h.

◆ VSYNC_DROP

#define VSYNC_DROP   0xff

Definition at line 77 of file fftools_ffmpeg.h.

◆ VSYNC_PASSTHROUGH

#define VSYNC_PASSTHROUGH   0

Definition at line 73 of file fftools_ffmpeg.h.

◆ VSYNC_VFR

#define VSYNC_VFR   2

Definition at line 75 of file fftools_ffmpeg.h.

◆ VSYNC_VSCFR

#define VSYNC_VSCFR   0xfe

Definition at line 76 of file fftools_ffmpeg.h.

Typedef Documentation

◆ FilterGraph

typedef struct FilterGraph FilterGraph

◆ HWAccel

typedef struct HWAccel HWAccel

◆ HWDevice

typedef struct HWDevice HWDevice

◆ InputFile

typedef struct InputFile InputFile

◆ InputFilter

typedef struct InputFilter InputFilter

◆ InputStream

typedef struct InputStream InputStream

◆ OptionsContext

◆ OutputFile

typedef struct OutputFile OutputFile

◆ OutputFilter

typedef struct OutputFilter OutputFilter

◆ OutputStream

typedef struct OutputStream OutputStream

◆ StreamMap

typedef struct StreamMap StreamMap

Enumeration Type Documentation

◆ forced_keyframes_const

Enumerator
FKF_N 
FKF_N_FORCED 
FKF_PREV_FORCED_N 
FKF_PREV_FORCED_T 
FKF_T 
FKF_NB 

Definition at line 453 of file fftools_ffmpeg.h.

◆ HWAccelID

enum HWAccelID
Enumerator
HWACCEL_NONE 
HWACCEL_AUTO 
HWACCEL_GENERIC 
HWACCEL_VIDEOTOOLBOX 
HWACCEL_QSV 

Definition at line 81 of file fftools_ffmpeg.h.

◆ OSTFinished

Enumerator
ENCODER_FINISHED 
MUXER_FINISHED 

Definition at line 467 of file fftools_ffmpeg.h.

Function Documentation

◆ add_input_streams()

void add_input_streams ( OptionsContext o,
AVFormatContext *  ic 
)

Definition at line 801 of file fftools_ffmpeg_opt.c.

◆ assert_avoptions()

void assert_avoptions ( AVDictionary *  m)

Definition at line 789 of file fftools_ffmpeg.c.

◆ assert_file_overwrite()

void assert_file_overwrite ( const char *  filename)

Definition at line 1009 of file fftools_ffmpeg_opt.c.

◆ cancel_operation()

void cancel_operation ( long  id)

Definition at line 5151 of file fftools_ffmpeg.c.

◆ check_filter_outputs()

void check_filter_outputs ( void  )

Definition at line 692 of file fftools_ffmpeg_filter.c.

◆ check_streamcopy_filters()

void check_streamcopy_filters ( OptionsContext o,
AVFormatContext *  oc,
const OutputStream ost,
enum AVMediaType  type 
)

Definition at line 1690 of file fftools_ffmpeg_opt.c.

◆ choose_decoder()

AVCodec* choose_decoder ( OptionsContext o,
AVFormatContext *  s,
AVStream *  st 
)

Definition at line 786 of file fftools_ffmpeg_opt.c.

◆ choose_encoder()

int choose_encoder ( OptionsContext o,
AVFormatContext *  s,
OutputStream ost 
)

Definition at line 1403 of file fftools_ffmpeg_opt.c.

◆ choose_pixel_fmt()

enum AVPixelFormat choose_pixel_fmt ( AVStream *  st,
AVCodecContext *  avctx,
const AVCodec *  codec,
enum AVPixelFormat  target 
)

Definition at line 50 of file fftools_ffmpeg_filter.c.

◆ choose_sample_fmt()

void choose_sample_fmt ( AVStream *  st,
const AVCodec *  codec 
)

Definition at line 101 of file fftools_ffmpeg_filter.c.

◆ configure_filtergraph()

int configure_filtergraph ( FilterGraph fg)

Definition at line 1012 of file fftools_ffmpeg_filter.c.

◆ configure_output_filter()

int configure_output_filter ( FilterGraph fg,
OutputFilter ofilter,
AVFilterInOut *  out 
)

Definition at line 678 of file fftools_ffmpeg_filter.c.

◆ copy_chapters()

int copy_chapters ( InputFile ifile,
OutputFile ofile,
int  copy_metadata 
)

Definition at line 2072 of file fftools_ffmpeg_opt.c.

◆ dump_attachment()

void dump_attachment ( AVStream *  st,
const char *  filename 
)

Definition at line 1052 of file fftools_ffmpeg_opt.c.

◆ ffmpeg_parse_options()

int ffmpeg_parse_options ( int  argc,
char **  argv 
)

◆ fftools_copy_metadata()

int fftools_copy_metadata ( char *  outspec,
char *  inspec,
AVFormatContext *  oc,
AVFormatContext *  ic,
OptionsContext o 
)

Definition at line 652 of file fftools_ffmpeg_opt.c.

◆ fftools_read_file()

uint8_t* fftools_read_file ( const char *  filename)

Definition at line 1642 of file fftools_ffmpeg_opt.c.

◆ filtergraph_is_simple()

int filtergraph_is_simple ( FilterGraph fg)

Definition at line 1209 of file fftools_ffmpeg_filter.c.

◆ find_codec_or_die()

AVCodec* find_codec_or_die ( const char *  name,
enum AVMediaType  type,
int  encoder 
)

Definition at line 757 of file fftools_ffmpeg_opt.c.

◆ get_line()

uint8_t* get_line ( AVIOContext *  s)

Definition at line 1358 of file fftools_ffmpeg_opt.c.

◆ get_ost_filters()

char* get_ost_filters ( OptionsContext o,
AVFormatContext *  oc,
OutputStream ost 
)

Definition at line 1670 of file fftools_ffmpeg_opt.c.

◆ get_preset_file_2()

int get_preset_file_2 ( const char *  preset_name,
const char *  codec_name,
AVIOContext **  s 
)

Definition at line 1377 of file fftools_ffmpeg_opt.c.

◆ guess_input_channel_layout()

int guess_input_channel_layout ( InputStream ist)

Definition at line 2298 of file fftools_ffmpeg.c.

◆ hw_device_free_all()

void hw_device_free_all ( void  )

Definition at line 283 of file fftools_ffmpeg_hw.c.

◆ hw_device_get_by_name()

HWDevice* hw_device_get_by_name ( const char *  name)

Definition at line 53 of file fftools_ffmpeg_hw.c.

◆ hw_device_init_from_string()

int hw_device_init_from_string ( const char *  arg,
HWDevice **  dev 
)

Definition at line 103 of file fftools_ffmpeg_hw.c.

◆ hw_device_setup_for_decode()

int hw_device_setup_for_decode ( InputStream ist)

Definition at line 312 of file fftools_ffmpeg_hw.c.

◆ hw_device_setup_for_encode()

int hw_device_setup_for_encode ( OutputStream ost)

Definition at line 428 of file fftools_ffmpeg_hw.c.

◆ hw_device_setup_for_filter()

int hw_device_setup_for_filter ( FilterGraph fg)

Definition at line 534 of file fftools_ffmpeg_hw.c.

◆ hwaccel_decode_init()

int hwaccel_decode_init ( AVCodecContext *  avctx)

Definition at line 525 of file fftools_ffmpeg_hw.c.

◆ ifilter_parameters_from_frame()

int ifilter_parameters_from_frame ( InputFilter ifilter,
const AVFrame *  frame 
)

Definition at line 1186 of file fftools_ffmpeg_filter.c.

◆ init_complex_filtergraph()

int init_complex_filtergraph ( FilterGraph fg)

Definition at line 349 of file fftools_ffmpeg_filter.c.

◆ init_complex_filters()

int init_complex_filters ( void  )

Definition at line 2157 of file fftools_ffmpeg_opt.c.

◆ init_options()

void init_options ( OptionsContext o)

Definition at line 240 of file fftools_ffmpeg_opt.c.

◆ init_output_filter()

void init_output_filter ( OutputFilter ofilter,
OptionsContext o,
AVFormatContext *  oc 
)

Definition at line 2115 of file fftools_ffmpeg_opt.c.

◆ init_simple_filtergraph()

int init_simple_filtergraph ( InputStream ist,
OutputStream ost 
)

◆ ist_in_filtergraph()

int ist_in_filtergraph ( FilterGraph fg,
InputStream ist 
)

◆ new_attachment_stream()

OutputStream* new_attachment_stream ( OptionsContext o,
AVFormatContext *  oc,
int  source_index 
)

Definition at line 2014 of file fftools_ffmpeg_opt.c.

◆ new_audio_stream()

OutputStream* new_audio_stream ( OptionsContext o,
AVFormatContext *  oc,
int  source_index 
)

Definition at line 1915 of file fftools_ffmpeg_opt.c.

◆ new_data_stream()

OutputStream* new_data_stream ( OptionsContext o,
AVFormatContext *  oc,
int  source_index 
)

Definition at line 1988 of file fftools_ffmpeg_opt.c.

◆ new_output_stream()

OutputStream* new_output_stream ( OptionsContext o,
AVFormatContext *  oc,
enum AVMediaType  type,
int  source_index 
)

Definition at line 1438 of file fftools_ffmpeg_opt.c.

◆ new_subtitle_stream()

OutputStream* new_subtitle_stream ( OptionsContext o,
AVFormatContext *  oc,
int  source_index 
)

Definition at line 2022 of file fftools_ffmpeg_opt.c.

◆ new_unknown_stream()

OutputStream* new_unknown_stream ( OptionsContext o,
AVFormatContext *  oc,
int  source_index 
)

Definition at line 2001 of file fftools_ffmpeg_opt.c.

◆ new_video_stream()

OutputStream* new_video_stream ( OptionsContext o,
AVFormatContext *  oc,
int  source_index 
)

Definition at line 1704 of file fftools_ffmpeg_opt.c.

◆ open_files()

int open_files ( OptionGroupList l,
const char *  inout,
int(*)(OptionsContext *, const char *)  open_file 
)

◆ open_input_file()

int open_input_file ( OptionsContext o,
const char *  filename 
)

Definition at line 1084 of file fftools_ffmpeg_opt.c.

◆ open_output_file()

int open_output_file ( OptionsContext o,
const char *  filename 
)

Definition at line 2169 of file fftools_ffmpeg_opt.c.

◆ opt_abort_on()

int opt_abort_on ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 285 of file fftools_ffmpeg_opt.c.

◆ opt_attach()

int opt_attach ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 482 of file fftools_ffmpeg_opt.c.

◆ opt_audio_codec()

int opt_audio_codec ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 340 of file fftools_ffmpeg_opt.c.

◆ opt_audio_filters()

int opt_audio_filters ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 3138 of file fftools_ffmpeg_opt.c.

◆ opt_audio_frames()

int opt_audio_frames ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 2994 of file fftools_ffmpeg_opt.c.

◆ opt_audio_qscale()

int opt_audio_qscale ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 3206 of file fftools_ffmpeg_opt.c.

◆ opt_bitrate()

int opt_bitrate ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 3086 of file fftools_ffmpeg_opt.c.

◆ opt_channel_layout()

int opt_channel_layout ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 3170 of file fftools_ffmpeg_opt.c.

◆ opt_data_codec()

int opt_data_codec ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 358 of file fftools_ffmpeg_opt.c.

◆ opt_data_frames()

int opt_data_frames ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 3000 of file fftools_ffmpeg_opt.c.

◆ opt_default_new()

int opt_default_new ( OptionsContext o,
const char *  opt,
const char *  arg 
)

Definition at line 3006 of file fftools_ffmpeg_opt.c.

◆ opt_filter_complex()

int opt_filter_complex ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 3212 of file fftools_ffmpeg_opt.c.

◆ opt_filter_complex_script()

int opt_filter_complex_script ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 3227 of file fftools_ffmpeg_opt.c.

◆ opt_filter_hw_device()

int opt_filter_hw_device ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 604 of file fftools_ffmpeg_opt.c.

◆ opt_init_hw_device()

int opt_init_hw_device ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 589 of file fftools_ffmpeg_opt.c.

◆ opt_map()

int opt_map ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 364 of file fftools_ffmpeg_opt.c.

◆ opt_map_channel()

int opt_map_channel ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 490 of file fftools_ffmpeg_opt.c.

◆ opt_old2new()

int opt_old2new ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 3074 of file fftools_ffmpeg_opt.c.

◆ opt_output_file()

void opt_output_file ( void *  optctx,
const char *  filename 
)

◆ opt_preset()

int opt_preset ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 3026 of file fftools_ffmpeg_opt.c.

◆ opt_profile()

int opt_profile ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 3120 of file fftools_ffmpeg_opt.c.

◆ opt_progress()

int opt_progress ( void *  optctx,
const char *  opt,
const char *  arg 
)

◆ opt_qscale()

int opt_qscale ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 3102 of file fftools_ffmpeg_opt.c.

◆ opt_recording_timestamp()

int opt_recording_timestamp ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 742 of file fftools_ffmpeg_opt.c.

◆ opt_sameq()

int opt_sameq ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 319 of file fftools_ffmpeg_opt.c.

◆ opt_sdp_file()

int opt_sdp_file ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 567 of file fftools_ffmpeg_opt.c.

◆ opt_stats_period()

int opt_stats_period ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 304 of file fftools_ffmpeg_opt.c.

◆ opt_streamid()

int opt_streamid ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 2050 of file fftools_ffmpeg_opt.c.

◆ opt_subtitle_codec()

int opt_subtitle_codec ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 352 of file fftools_ffmpeg_opt.c.

◆ opt_target()

int opt_target ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 2821 of file fftools_ffmpeg_opt.c.

◆ opt_timecode()

int opt_timecode ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 3156 of file fftools_ffmpeg_opt.c.

◆ opt_video_channel()

int opt_video_channel ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 328 of file fftools_ffmpeg_opt.c.

◆ opt_video_codec()

int opt_video_codec ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 346 of file fftools_ffmpeg_opt.c.

◆ opt_video_filters()

int opt_video_filters ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 3132 of file fftools_ffmpeg_opt.c.

◆ opt_video_frames()

int opt_video_frames ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 2988 of file fftools_ffmpeg_opt.c.

◆ opt_video_standard()

int opt_video_standard ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 334 of file fftools_ffmpeg_opt.c.

◆ opt_vstats()

int opt_vstats ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 2972 of file fftools_ffmpeg_opt.c.

◆ opt_vstats_file()

int opt_vstats_file ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 2965 of file fftools_ffmpeg_opt.c.

◆ opt_vsync()

int opt_vsync ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 3144 of file fftools_ffmpeg_opt.c.

◆ parse_matrix_coeffs()

void parse_matrix_coeffs ( uint16_t *  dest,
const char *  str 
)

Definition at line 1624 of file fftools_ffmpeg_opt.c.

◆ parse_meta_type()

void parse_meta_type ( char *  arg,
char *  type,
int index,
const char **  stream_spec 
)

Parse a metadata specifier passed as 'arg' parameter.

Parameters
argmetadata string to parse
typemetadata type is written here – g(lobal)/s(tream)/c(hapter)/p(rogram)
indexfor type c/p, chapter/program index is written here
stream_specfor type s, the stream specifier is written here

Definition at line 625 of file fftools_ffmpeg_opt.c.

◆ qsv_init()

int qsv_init ( AVCodecContext *  s)

◆ remove_avoptions()

void remove_avoptions ( AVDictionary **  a,
AVDictionary *  b 
)

Definition at line 780 of file fftools_ffmpeg.c.

◆ reset_options()

void reset_options ( OptionsContext o,
int  is_input 
)

◆ set_report_callback()

void set_report_callback ( void(*)(int, float, float, int64_t, int, double, double)  callback)

Definition at line 5146 of file fftools_ffmpeg.c.

◆ show_hwaccels()

int show_hwaccels ( void *  optctx,
const char *  opt,
const char *  arg 
)

Definition at line 255 of file fftools_ffmpeg_opt.c.

◆ show_usage()

void show_usage ( void  )

Definition at line 3317 of file fftools_ffmpeg_opt.c.

◆ strip_specifiers()

AVDictionary* strip_specifiers ( AVDictionary *  dict)

Definition at line 268 of file fftools_ffmpeg_opt.c.

◆ sub2video_update()

void sub2video_update ( InputStream ist,
int64_t  heartbeat_pts,
AVSubtitle *  sub 
)

Definition at line 333 of file fftools_ffmpeg.c.

◆ term_exit()

void term_exit ( void  )

Definition at line 429 of file fftools_ffmpeg.c.

◆ term_init()

void term_init ( void  )

Definition at line 501 of file fftools_ffmpeg.c.

◆ uninit_options()

void uninit_options ( OptionsContext o)

Definition at line 208 of file fftools_ffmpeg_opt.c.

◆ videotoolbox_init()

int videotoolbox_init ( AVCodecContext *  s)

Definition at line 121 of file fftools_ffmpeg_videotoolbox.c.

Variable Documentation

◆ abort_on_flags

__thread int abort_on_flags
extern

Definition at line 183 of file fftools_ffmpeg_opt.c.

◆ audio_drift_threshold

__thread float audio_drift_threshold
extern

Definition at line 165 of file fftools_ffmpeg_opt.c.

◆ audio_sync_method

__thread int audio_sync_method
extern

Definition at line 170 of file fftools_ffmpeg_opt.c.

◆ audio_volume

__thread int audio_volume
extern

Definition at line 169 of file fftools_ffmpeg_opt.c.

◆ auto_conversion_filters

__thread int auto_conversion_filters
extern

Definition at line 192 of file fftools_ffmpeg_opt.c.

◆ copy_tb

__thread int copy_tb
extern

Definition at line 180 of file fftools_ffmpeg_opt.c.

◆ copy_ts

__thread int copy_ts
extern

Definition at line 178 of file fftools_ffmpeg_opt.c.

◆ debug_ts

__thread int debug_ts
extern

Definition at line 181 of file fftools_ffmpeg_opt.c.

◆ do_benchmark

__thread int do_benchmark
extern

Definition at line 174 of file fftools_ffmpeg_opt.c.

◆ do_benchmark_all

__thread int do_benchmark_all
extern

Definition at line 175 of file fftools_ffmpeg_opt.c.

◆ do_deinterlace

__thread int do_deinterlace
extern

Definition at line 173 of file fftools_ffmpeg_opt.c.

◆ do_hex_dump

__thread int do_hex_dump
extern

Definition at line 176 of file fftools_ffmpeg_opt.c.

◆ do_pkt_dump

__thread int do_pkt_dump
extern

Definition at line 177 of file fftools_ffmpeg_opt.c.

◆ dts_delta_threshold

__thread float dts_delta_threshold
extern

Definition at line 166 of file fftools_ffmpeg_opt.c.

◆ dts_error_threshold

__thread float dts_error_threshold
extern

Definition at line 167 of file fftools_ffmpeg_opt.c.

◆ exit_on_error

__thread int exit_on_error
extern

Definition at line 182 of file fftools_ffmpeg_opt.c.

◆ filter_complex_nbthreads

__thread int filter_complex_nbthreads
extern

Definition at line 190 of file fftools_ffmpeg_opt.c.

◆ filter_hw_device

__thread HWDevice* filter_hw_device
extern

Definition at line 160 of file fftools_ffmpeg_opt.c.

◆ filter_nbthreads

__thread int filter_nbthreads
extern

Definition at line 189 of file fftools_ffmpeg_opt.c.

◆ filtergraphs

__thread FilterGraph** filtergraphs
extern

Definition at line 186 of file fftools_ffmpeg.c.

◆ forced_keyframes_const_names

const char* const forced_keyframes_const_names[]
extern

Definition at line 142 of file fftools_ffmpeg.c.

◆ frame_bits_per_raw_sample

__thread int frame_bits_per_raw_sample
extern

Definition at line 187 of file fftools_ffmpeg_opt.c.

◆ frame_drop_threshold

__thread float frame_drop_threshold
extern

Definition at line 172 of file fftools_ffmpeg_opt.c.

◆ hwaccels

const HWAccel hwaccels[]
extern

Definition at line 151 of file fftools_ffmpeg_opt.c.

◆ input_files

__thread InputFile** input_files
extern

Definition at line 178 of file fftools_ffmpeg.c.

◆ input_streams

__thread InputStream** input_streams
extern

Definition at line 176 of file fftools_ffmpeg.c.

◆ int_cb

__thread const AVIOInterruptCB int_cb
extern

Definition at line 618 of file fftools_ffmpeg.c.

◆ max_error_rate

__thread float max_error_rate
extern

Definition at line 188 of file fftools_ffmpeg_opt.c.

◆ nb_filtergraphs

__thread int nb_filtergraphs
extern

Definition at line 187 of file fftools_ffmpeg.c.

◆ nb_input_files

__thread int nb_input_files
extern

Definition at line 179 of file fftools_ffmpeg.c.

◆ nb_input_streams

__thread int nb_input_streams
extern

Definition at line 177 of file fftools_ffmpeg.c.

◆ nb_output_files

__thread int nb_output_files
extern

Definition at line 184 of file fftools_ffmpeg.c.

◆ nb_output_streams

__thread int nb_output_streams
extern

Definition at line 182 of file fftools_ffmpeg.c.

◆ output_files

__thread OutputFile** output_files
extern

Definition at line 183 of file fftools_ffmpeg.c.

◆ output_streams

__thread OutputStream** output_streams
extern

Definition at line 181 of file fftools_ffmpeg.c.

◆ print_stats

__thread int print_stats
extern

Definition at line 184 of file fftools_ffmpeg_opt.c.

◆ progress_avio

__thread AVIOContext* progress_avio
extern

Definition at line 172 of file fftools_ffmpeg.c.

◆ qp_hist

__thread int qp_hist
extern

Definition at line 185 of file fftools_ffmpeg_opt.c.

◆ sdp_filename

__thread char* sdp_filename
extern

Definition at line 163 of file fftools_ffmpeg_opt.c.

◆ start_at_zero

__thread int start_at_zero
extern

Definition at line 179 of file fftools_ffmpeg_opt.c.

◆ stats_period

__thread int64_t stats_period
extern

Definition at line 193 of file fftools_ffmpeg_opt.c.

◆ stdin_interaction

__thread int stdin_interaction
extern

Definition at line 186 of file fftools_ffmpeg_opt.c.

◆ video_sync_method

__thread int video_sync_method
extern

Definition at line 171 of file fftools_ffmpeg_opt.c.

◆ videotoolbox_pixfmt

__thread char* videotoolbox_pixfmt
extern

Definition at line 34 of file fftools_ffmpeg_videotoolbox.c.

◆ vstats_filename

__thread char* vstats_filename
extern

Definition at line 162 of file fftools_ffmpeg_opt.c.

◆ vstats_version

__thread int vstats_version
extern

Definition at line 191 of file fftools_ffmpeg_opt.c.