MobileFFmpeg iOS / 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)
 

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, HWACCEL_CUVID
}
 
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, AVCodec *codec, enum AVPixelFormat target)
 
void choose_sample_fmt (AVStream *st, 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, 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)
 
int cuvid_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 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_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 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 const AVIOInterruptCB int_cb
 
const HWAccel hwaccels []
 
__thread AVBufferRef * hw_device_ctx
 
__thread HWDevicefilter_hw_device
 

Macro Definition Documentation

◆ ABORT_ON_FLAG_EMPTY_OUTPUT

#define ABORT_ON_FLAG_EMPTY_OUTPUT   (1 << 0)

Definition at line 457 of file fftools_ffmpeg.h.

◆ DECODING_FOR_FILTER

#define DECODING_FOR_FILTER   2

Definition at line 326 of file fftools_ffmpeg.h.

◆ DECODING_FOR_OST

#define DECODING_FOR_OST   1

Definition at line 325 of file fftools_ffmpeg.h.

◆ MAX_STREAMS

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

Definition at line 80 of file fftools_ffmpeg.h.

◆ VSYNC_AUTO

#define VSYNC_AUTO   -1

Definition at line 73 of file fftools_ffmpeg.h.

◆ VSYNC_CFR

#define VSYNC_CFR   1

Definition at line 75 of file fftools_ffmpeg.h.

◆ VSYNC_DROP

#define VSYNC_DROP   0xff

Definition at line 78 of file fftools_ffmpeg.h.

◆ VSYNC_PASSTHROUGH

#define VSYNC_PASSTHROUGH   0

Definition at line 74 of file fftools_ffmpeg.h.

◆ VSYNC_VFR

#define VSYNC_VFR   2

Definition at line 76 of file fftools_ffmpeg.h.

◆ VSYNC_VSCFR

#define VSYNC_VSCFR   0xfe

Definition at line 77 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 447 of file fftools_ffmpeg.h.

◆ HWAccelID

enum HWAccelID
Enumerator
HWACCEL_NONE 
HWACCEL_AUTO 
HWACCEL_GENERIC 
HWACCEL_VIDEOTOOLBOX 
HWACCEL_QSV 
HWACCEL_CUVID 

Definition at line 81 of file fftools_ffmpeg.h.

◆ OSTFinished

Enumerator
ENCODER_FINISHED 
MUXER_FINISHED 

Definition at line 460 of file fftools_ffmpeg.h.

Function Documentation

◆ add_input_streams()

void add_input_streams ( OptionsContext o,
AVFormatContext *  ic 
)

Definition at line 728 of file fftools_ffmpeg_opt.c.

◆ assert_avoptions()

void assert_avoptions ( AVDictionary *  m)

Definition at line 747 of file fftools_ffmpeg.c.

◆ assert_file_overwrite()

void assert_file_overwrite ( const char *  filename)

Definition at line 940 of file fftools_ffmpeg_opt.c.

◆ cancel_operation()

void cancel_operation ( long  id)

Definition at line 5059 of file fftools_ffmpeg.c.

◆ check_filter_outputs()

void check_filter_outputs ( void  )

Definition at line 698 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 1656 of file fftools_ffmpeg_opt.c.

◆ choose_decoder()

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

Definition at line 713 of file fftools_ffmpeg_opt.c.

◆ choose_encoder()

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

Definition at line 1334 of file fftools_ffmpeg_opt.c.

◆ choose_pixel_fmt()

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

Definition at line 50 of file fftools_ffmpeg_filter.c.

◆ choose_sample_fmt()

void choose_sample_fmt ( AVStream *  st,
AVCodec *  codec 
)

Definition at line 101 of file fftools_ffmpeg_filter.c.

◆ configure_filtergraph()

int configure_filtergraph ( FilterGraph fg)

Definition at line 1013 of file fftools_ffmpeg_filter.c.

◆ configure_output_filter()

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

Definition at line 684 of file fftools_ffmpeg_filter.c.

◆ copy_chapters()

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

Definition at line 2029 of file fftools_ffmpeg_opt.c.

◆ cuvid_init()

int cuvid_init ( AVCodecContext *  s)

◆ dump_attachment()

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

Definition at line 983 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 579 of file fftools_ffmpeg_opt.c.

◆ fftools_read_file()

uint8_t* fftools_read_file ( const char *  filename)

Definition at line 1608 of file fftools_ffmpeg_opt.c.

◆ filtergraph_is_simple()

int filtergraph_is_simple ( FilterGraph fg)

Definition at line 1225 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 684 of file fftools_ffmpeg_opt.c.

◆ get_line()

uint8_t* get_line ( AVIOContext *  s)

Definition at line 1289 of file fftools_ffmpeg_opt.c.

◆ get_ost_filters()

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

Definition at line 1636 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 1308 of file fftools_ffmpeg_opt.c.

◆ guess_input_channel_layout()

int guess_input_channel_layout ( InputStream ist)

Definition at line 2256 of file fftools_ffmpeg.c.

◆ hw_device_free_all()

void hw_device_free_all ( void  )

Definition at line 281 of file fftools_ffmpeg_hw.c.

◆ hw_device_get_by_name()

HWDevice* hw_device_get_by_name ( const char *  name)

Definition at line 51 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 101 of file fftools_ffmpeg_hw.c.

◆ hw_device_setup_for_decode()

int hw_device_setup_for_decode ( InputStream ist)

Definition at line 310 of file fftools_ffmpeg_hw.c.

◆ hw_device_setup_for_encode()

int hw_device_setup_for_encode ( OutputStream ost)

Definition at line 426 of file fftools_ffmpeg_hw.c.

◆ hwaccel_decode_init()

int hwaccel_decode_init ( AVCodecContext *  avctx)

Definition at line 484 of file fftools_ffmpeg_hw.c.

◆ ifilter_parameters_from_frame()

int ifilter_parameters_from_frame ( InputFilter ifilter,
const AVFrame *  frame 
)

Definition at line 1193 of file fftools_ffmpeg_filter.c.

◆ init_complex_filtergraph()

int init_complex_filtergraph ( FilterGraph fg)

Definition at line 348 of file fftools_ffmpeg_filter.c.

◆ init_complex_filters()

int init_complex_filters ( void  )

Definition at line 2114 of file fftools_ffmpeg_opt.c.

◆ init_options()

void init_options ( OptionsContext o)

Definition at line 175 of file fftools_ffmpeg_opt.c.

◆ init_output_filter()

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

Definition at line 2072 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 
)

Definition at line 1216 of file fftools_ffmpeg_filter.c.

◆ new_attachment_stream()

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

Definition at line 1971 of file fftools_ffmpeg_opt.c.

◆ new_audio_stream()

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

Definition at line 1870 of file fftools_ffmpeg_opt.c.

◆ new_data_stream()

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

Definition at line 1945 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 1369 of file fftools_ffmpeg_opt.c.

◆ new_subtitle_stream()

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

Definition at line 1979 of file fftools_ffmpeg_opt.c.

◆ new_unknown_stream()

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

Definition at line 1958 of file fftools_ffmpeg_opt.c.

◆ new_video_stream()

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

Definition at line 1670 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 1015 of file fftools_ffmpeg_opt.c.

◆ open_output_file()

int open_output_file ( OptionsContext o,
const char *  filename 
)

Definition at line 2126 of file fftools_ffmpeg_opt.c.

◆ opt_abort_on()

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

Definition at line 222 of file fftools_ffmpeg_opt.c.

◆ opt_attach()

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

Definition at line 403 of file fftools_ffmpeg_opt.c.

◆ opt_audio_codec()

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

Definition at line 261 of file fftools_ffmpeg_opt.c.

◆ opt_audio_filters()

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

Definition at line 3089 of file fftools_ffmpeg_opt.c.

◆ opt_audio_frames()

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

Definition at line 2945 of file fftools_ffmpeg_opt.c.

◆ opt_audio_qscale()

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

Definition at line 3157 of file fftools_ffmpeg_opt.c.

◆ opt_bitrate()

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

Definition at line 3037 of file fftools_ffmpeg_opt.c.

◆ opt_channel_layout()

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

Definition at line 3121 of file fftools_ffmpeg_opt.c.

◆ opt_data_codec()

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

Definition at line 279 of file fftools_ffmpeg_opt.c.

◆ opt_data_frames()

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

Definition at line 2951 of file fftools_ffmpeg_opt.c.

◆ opt_default_new()

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

Definition at line 2957 of file fftools_ffmpeg_opt.c.

◆ opt_filter_complex()

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

Definition at line 3163 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 3178 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 531 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 516 of file fftools_ffmpeg_opt.c.

◆ opt_map()

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

Definition at line 285 of file fftools_ffmpeg_opt.c.

◆ opt_map_channel()

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

Definition at line 411 of file fftools_ffmpeg_opt.c.

◆ opt_old2new()

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

Definition at line 3025 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 2977 of file fftools_ffmpeg_opt.c.

◆ opt_profile()

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

Definition at line 3071 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 3053 of file fftools_ffmpeg_opt.c.

◆ opt_recording_timestamp()

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

Definition at line 669 of file fftools_ffmpeg_opt.c.

◆ opt_sameq()

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

Definition at line 240 of file fftools_ffmpeg_opt.c.

◆ opt_sdp_file()

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

Definition at line 488 of file fftools_ffmpeg_opt.c.

◆ opt_streamid()

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

Definition at line 2007 of file fftools_ffmpeg_opt.c.

◆ opt_subtitle_codec()

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

Definition at line 273 of file fftools_ffmpeg_opt.c.

◆ opt_target()

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

Definition at line 2772 of file fftools_ffmpeg_opt.c.

◆ opt_timecode()

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

Definition at line 3107 of file fftools_ffmpeg_opt.c.

◆ opt_video_channel()

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

Definition at line 249 of file fftools_ffmpeg_opt.c.

◆ opt_video_codec()

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

Definition at line 267 of file fftools_ffmpeg_opt.c.

◆ opt_video_filters()

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

Definition at line 3083 of file fftools_ffmpeg_opt.c.

◆ opt_video_frames()

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

Definition at line 2939 of file fftools_ffmpeg_opt.c.

◆ opt_video_standard()

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

Definition at line 255 of file fftools_ffmpeg_opt.c.

◆ opt_vstats()

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

Definition at line 2923 of file fftools_ffmpeg_opt.c.

◆ opt_vstats_file()

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

Definition at line 2916 of file fftools_ffmpeg_opt.c.

◆ opt_vsync()

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

Definition at line 3095 of file fftools_ffmpeg_opt.c.

◆ parse_matrix_coeffs()

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

Definition at line 1590 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 552 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 738 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 5054 of file fftools_ffmpeg.c.

◆ show_hwaccels()

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

Definition at line 189 of file fftools_ffmpeg_opt.c.

◆ show_usage()

void show_usage ( void  )

Definition at line 3268 of file fftools_ffmpeg_opt.c.

◆ strip_specifiers()

AVDictionary* strip_specifiers ( AVDictionary *  dict)

Definition at line 205 of file fftools_ffmpeg_opt.c.

◆ sub2video_update()

void sub2video_update ( InputStream ist,
AVSubtitle *  sub 
)

Definition at line 326 of file fftools_ffmpeg.c.

◆ term_exit()

void term_exit ( void  )

Definition at line 414 of file fftools_ffmpeg.c.

◆ term_init()

void term_init ( void  )

Definition at line 474 of file fftools_ffmpeg.c.

◆ uninit_options()

void uninit_options ( OptionsContext o)

Definition at line 143 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

Definition at line 120 of file fftools_ffmpeg_opt.c.

◆ audio_drift_threshold

__thread float audio_drift_threshold

Definition at line 102 of file fftools_ffmpeg_opt.c.

◆ audio_sync_method

__thread int audio_sync_method

Definition at line 107 of file fftools_ffmpeg_opt.c.

◆ audio_volume

__thread int audio_volume

Definition at line 106 of file fftools_ffmpeg_opt.c.

◆ copy_tb

__thread int copy_tb

Definition at line 117 of file fftools_ffmpeg_opt.c.

◆ copy_ts

__thread int copy_ts

Definition at line 115 of file fftools_ffmpeg_opt.c.

◆ debug_ts

__thread int debug_ts

Definition at line 118 of file fftools_ffmpeg_opt.c.

◆ do_benchmark

__thread int do_benchmark

Definition at line 111 of file fftools_ffmpeg_opt.c.

◆ do_benchmark_all

__thread int do_benchmark_all

Definition at line 112 of file fftools_ffmpeg_opt.c.

◆ do_deinterlace

__thread int do_deinterlace

Definition at line 110 of file fftools_ffmpeg_opt.c.

◆ do_hex_dump

__thread int do_hex_dump

Definition at line 113 of file fftools_ffmpeg_opt.c.

◆ do_pkt_dump

__thread int do_pkt_dump

Definition at line 114 of file fftools_ffmpeg_opt.c.

◆ dts_delta_threshold

__thread float dts_delta_threshold

Definition at line 103 of file fftools_ffmpeg_opt.c.

◆ dts_error_threshold

__thread float dts_error_threshold

Definition at line 104 of file fftools_ffmpeg_opt.c.

◆ exit_on_error

__thread int exit_on_error

Definition at line 119 of file fftools_ffmpeg_opt.c.

◆ filter_complex_nbthreads

__thread int filter_complex_nbthreads

Definition at line 127 of file fftools_ffmpeg_opt.c.

◆ filter_hw_device

__thread HWDevice* filter_hw_device

Definition at line 97 of file fftools_ffmpeg_opt.c.

◆ filter_nbthreads

__thread int filter_nbthreads

Definition at line 126 of file fftools_ffmpeg_opt.c.

◆ filtergraphs

__thread FilterGraph** filtergraphs

Definition at line 185 of file fftools_ffmpeg.c.

◆ forced_keyframes_const_names

const char* const forced_keyframes_const_names[]

Definition at line 142 of file fftools_ffmpeg.c.

◆ frame_bits_per_raw_sample

__thread int frame_bits_per_raw_sample

Definition at line 124 of file fftools_ffmpeg_opt.c.

◆ frame_drop_threshold

__thread float frame_drop_threshold

Definition at line 109 of file fftools_ffmpeg_opt.c.

◆ hw_device_ctx

__thread AVBufferRef* hw_device_ctx

Definition at line 96 of file fftools_ffmpeg_opt.c.

◆ hwaccels

const HWAccel hwaccels[]

Definition at line 84 of file fftools_ffmpeg_opt.c.

◆ input_files

__thread InputFile** input_files

Definition at line 177 of file fftools_ffmpeg.c.

◆ input_streams

__thread InputStream** input_streams

Definition at line 175 of file fftools_ffmpeg.c.

◆ int_cb

__thread const AVIOInterruptCB int_cb

Definition at line 580 of file fftools_ffmpeg.c.

◆ max_error_rate

__thread float max_error_rate

Definition at line 125 of file fftools_ffmpeg_opt.c.

◆ nb_filtergraphs

__thread int nb_filtergraphs

Definition at line 186 of file fftools_ffmpeg.c.

◆ nb_input_files

__thread int nb_input_files

Definition at line 178 of file fftools_ffmpeg.c.

◆ nb_input_streams

__thread int nb_input_streams

Definition at line 176 of file fftools_ffmpeg.c.

◆ nb_output_files

__thread int nb_output_files

Definition at line 183 of file fftools_ffmpeg.c.

◆ nb_output_streams

__thread int nb_output_streams

Definition at line 181 of file fftools_ffmpeg.c.

◆ output_files

__thread OutputFile** output_files

Definition at line 182 of file fftools_ffmpeg.c.

◆ output_streams

__thread OutputStream** output_streams

Definition at line 180 of file fftools_ffmpeg.c.

◆ print_stats

__thread int print_stats

Definition at line 121 of file fftools_ffmpeg_opt.c.

◆ progress_avio

__thread AVIOContext* progress_avio

Definition at line 171 of file fftools_ffmpeg.c.

◆ qp_hist

__thread int qp_hist

Definition at line 122 of file fftools_ffmpeg_opt.c.

◆ sdp_filename

__thread char* sdp_filename

Definition at line 100 of file fftools_ffmpeg_opt.c.

◆ start_at_zero

__thread int start_at_zero

Definition at line 116 of file fftools_ffmpeg_opt.c.

◆ stdin_interaction

__thread int stdin_interaction

Definition at line 123 of file fftools_ffmpeg_opt.c.

◆ video_sync_method

__thread int video_sync_method

Definition at line 108 of file fftools_ffmpeg_opt.c.

◆ videotoolbox_pixfmt

__thread char* videotoolbox_pixfmt

Definition at line 34 of file fftools_ffmpeg_videotoolbox.c.

◆ vstats_filename

__thread char* vstats_filename

Definition at line 99 of file fftools_ffmpeg_opt.c.

◆ vstats_version

__thread int vstats_version

Definition at line 128 of file fftools_ffmpeg_opt.c.