MobileFFmpeg iOS / tvOS API  4.4
Macros | Functions | Variables
fftools_ffmpeg_opt.c File Reference

Go to the source code of this file.

Macros

#define DEFAULT_PASS_LOGFILENAME_PREFIX   "ffmpeg2pass"
 
#define MATCH_PER_STREAM_OPT(name, type, outvar, fmtctx, st)
 
#define MATCH_PER_TYPE_OPT(name, type, outvar, fmtctx, mediatype)
 
#define METADATA_CHECK_INDEX(index, nb_elems, desc)
 
#define SET_DICT(type, meta, context, index)
 

Functions

void uninit_options (OptionsContext *o)
 
void init_options (OptionsContext *o)
 
int show_hwaccels (void *optctx, const char *opt, const char *arg)
 
AVDictionary * strip_specifiers (AVDictionary *dict)
 
int opt_abort_on (void *optctx, const char *opt, const char *arg)
 
int opt_sameq (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_audio_codec (void *optctx, const char *opt, const char *arg)
 
int opt_video_codec (void *optctx, const char *opt, const char *arg)
 
int opt_subtitle_codec (void *optctx, const char *opt, const char *arg)
 
int opt_data_codec (void *optctx, const char *opt, const char *arg)
 
int opt_map (void *optctx, const char *opt, const char *arg)
 
int opt_attach (void *optctx, const char *opt, const char *arg)
 
int opt_map_channel (void *optctx, const char *opt, const char *arg)
 
int opt_sdp_file (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 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)
 
int opt_recording_timestamp (void *optctx, const char *opt, const char *arg)
 
AVCodec * find_codec_or_die (const char *name, enum AVMediaType type, int encoder)
 
AVCodec * choose_decoder (OptionsContext *o, AVFormatContext *s, AVStream *st)
 
void add_input_streams (OptionsContext *o, AVFormatContext *ic)
 
void assert_file_overwrite (const char *filename)
 
void dump_attachment (AVStream *st, const char *filename)
 
int open_input_file (OptionsContext *o, const char *filename)
 
uint8_t * get_line (AVIOContext *s)
 
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 opt_streamid (void *optctx, const char *opt, const char *arg)
 
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_target (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_video_frames (void *optctx, const char *opt, const char *arg)
 
int opt_audio_frames (void *optctx, const char *opt, const char *arg)
 
int opt_data_frames (void *optctx, const char *opt, const char *arg)
 
int opt_default_new (OptionsContext *o, const char *opt, const char *arg)
 
int opt_preset (void *optctx, const char *opt, const char *arg)
 
int opt_old2new (void *optctx, const char *opt, const char *arg)
 
int opt_bitrate (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_video_filters (void *optctx, const char *opt, const char *arg)
 
int opt_audio_filters (void *optctx, const char *opt, const char *arg)
 
int opt_vsync (void *optctx, const char *opt, const char *arg)
 
int opt_timecode (void *optctx, const char *opt, const char *arg)
 
int opt_channel_layout (void *optctx, const char *opt, const char *arg)
 
int opt_audio_qscale (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)
 
void show_help_default_ffmpeg (const char *opt, const char *arg)
 
void show_usage (void)
 

Variables

const HWAccel hwaccels []
 
__thread AVBufferRef * hw_device_ctx
 
__thread HWDevicefilter_hw_device
 
__thread char * vstats_filename
 
__thread char * sdp_filename
 
__thread float audio_drift_threshold = 0.1
 
__thread float dts_delta_threshold = 10
 
__thread float dts_error_threshold = 3600*30
 
__thread int audio_volume = 256
 
__thread int audio_sync_method = 0
 
__thread int video_sync_method = VSYNC_AUTO
 
__thread float frame_drop_threshold = 0
 
__thread int do_deinterlace = 0
 
__thread int do_benchmark = 0
 
__thread int do_benchmark_all = 0
 
__thread int do_hex_dump = 0
 
__thread int do_pkt_dump = 0
 
__thread int copy_ts = 0
 
__thread int start_at_zero = 0
 
__thread int copy_tb = -1
 
__thread int debug_ts = 0
 
__thread int exit_on_error = 0
 
__thread int abort_on_flags = 0
 
__thread int print_stats = -1
 
__thread int qp_hist = 0
 
__thread int stdin_interaction = 1
 
__thread int frame_bits_per_raw_sample = 0
 
__thread float max_error_rate = 2.0/3
 
__thread int filter_nbthreads = 0
 
__thread int filter_complex_nbthreads = 0
 
__thread int vstats_version = 2
 
__thread int intra_only = 0
 
__thread int file_overwrite = 0
 
__thread int no_file_overwrite = 0
 
__thread int do_psnr = 0
 
__thread int input_sync
 
__thread int input_stream_potentially_available = 0
 
__thread int ignore_unknown_streams = 0
 
__thread int copy_unknown_streams = 0
 
__thread int find_stream_info = 1
 
__thread OptionDefffmpeg_options
 

Macro Definition Documentation

◆ DEFAULT_PASS_LOGFILENAME_PREFIX

#define DEFAULT_PASS_LOGFILENAME_PREFIX   "ffmpeg2pass"

Definition at line 61 of file fftools_ffmpeg_opt.c.

◆ MATCH_PER_STREAM_OPT

#define MATCH_PER_STREAM_OPT (   name,
  type,
  outvar,
  fmtctx,
  st 
)
Value:
{\
int i, ret;\
for (i = 0; i < o->nb_ ## name; i++) {\
char *spec = o->name[i].specifier;\
if ((ret = check_stream_specifier(fmtctx, st, spec)) > 0)\
outvar = o->name[i].u.type;\
else if (ret < 0)\
exit_program(1);\
}\
}

Definition at line 63 of file fftools_ffmpeg_opt.c.

◆ MATCH_PER_TYPE_OPT

#define MATCH_PER_TYPE_OPT (   name,
  type,
  outvar,
  fmtctx,
  mediatype 
)
Value:
{\
int i;\
for (i = 0; i < o->nb_ ## name; i++) {\
char *spec = o->name[i].specifier;\
if (!strcmp(spec, mediatype))\
outvar = o->name[i].u.type;\
}\
}

Definition at line 75 of file fftools_ffmpeg_opt.c.

◆ METADATA_CHECK_INDEX

#define METADATA_CHECK_INDEX (   index,
  nb_elems,
  desc 
)
Value:
if ((index) < 0 || (index) >= (nb_elems)) {\
av_log(NULL, AV_LOG_FATAL, "Invalid %s index %d while processing metadata maps.\n",\
(desc), (index));\
exit_program(1);\
}

◆ SET_DICT

#define SET_DICT (   type,
  meta,
  context,
  index 
)
Value:
switch (type) {\
case 'g':\
meta = &context->metadata;\
break;\
case 'c':\
METADATA_CHECK_INDEX(index, context->nb_chapters, "chapter")\
meta = &context->chapters[index]->metadata;\
break;\
case 'p':\
METADATA_CHECK_INDEX(index, context->nb_programs, "program")\
meta = &context->programs[index]->metadata;\
break;\
case 's':\
break; /* handled separately below */ \
default: av_assert0(0);\
}\

Function Documentation

◆ add_input_streams()

void add_input_streams ( OptionsContext o,
AVFormatContext *  ic 
)

Definition at line 728 of file fftools_ffmpeg_opt.c.

◆ assert_file_overwrite()

void assert_file_overwrite ( const char *  filename)

Definition at line 940 of file fftools_ffmpeg_opt.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.

◆ copy_chapters()

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

Definition at line 2029 of file fftools_ffmpeg_opt.c.

◆ dump_attachment()

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

Definition at line 983 of file fftools_ffmpeg_opt.c.

◆ 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.

◆ 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.

◆ 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.

◆ 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_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_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_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.

◆ show_help_default_ffmpeg()

void show_help_default_ffmpeg ( const char *  opt,
const char *  arg 
)

Per-fftool specific help handlers. Implemented in each fftool, called by show_help().

Definition at line 3195 of file fftools_ffmpeg_opt.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.

◆ uninit_options()

void uninit_options ( OptionsContext o)

Definition at line 143 of file fftools_ffmpeg_opt.c.

Variable Documentation

◆ abort_on_flags

__thread int abort_on_flags = 0

Definition at line 120 of file fftools_ffmpeg_opt.c.

◆ audio_drift_threshold

__thread float audio_drift_threshold = 0.1

Definition at line 102 of file fftools_ffmpeg_opt.c.

◆ audio_sync_method

__thread int audio_sync_method = 0

Definition at line 107 of file fftools_ffmpeg_opt.c.

◆ audio_volume

__thread int audio_volume = 256

Definition at line 106 of file fftools_ffmpeg_opt.c.

◆ copy_tb

__thread int copy_tb = -1

Definition at line 117 of file fftools_ffmpeg_opt.c.

◆ copy_ts

__thread int copy_ts = 0

Definition at line 115 of file fftools_ffmpeg_opt.c.

◆ copy_unknown_streams

__thread int copy_unknown_streams = 0

Definition at line 138 of file fftools_ffmpeg_opt.c.

◆ debug_ts

__thread int debug_ts = 0

Definition at line 118 of file fftools_ffmpeg_opt.c.

◆ do_benchmark

__thread int do_benchmark = 0

Definition at line 111 of file fftools_ffmpeg_opt.c.

◆ do_benchmark_all

__thread int do_benchmark_all = 0

Definition at line 112 of file fftools_ffmpeg_opt.c.

◆ do_deinterlace

__thread int do_deinterlace = 0

Definition at line 110 of file fftools_ffmpeg_opt.c.

◆ do_hex_dump

__thread int do_hex_dump = 0

Definition at line 113 of file fftools_ffmpeg_opt.c.

◆ do_pkt_dump

__thread int do_pkt_dump = 0

Definition at line 114 of file fftools_ffmpeg_opt.c.

◆ do_psnr

__thread int do_psnr = 0

Definition at line 134 of file fftools_ffmpeg_opt.c.

◆ dts_delta_threshold

__thread float dts_delta_threshold = 10

Definition at line 103 of file fftools_ffmpeg_opt.c.

◆ dts_error_threshold

__thread float dts_error_threshold = 3600*30

Definition at line 104 of file fftools_ffmpeg_opt.c.

◆ exit_on_error

__thread int exit_on_error = 0

Definition at line 119 of file fftools_ffmpeg_opt.c.

◆ ffmpeg_options

__thread OptionDef* ffmpeg_options

Definition at line 5068 of file fftools_ffmpeg.c.

◆ file_overwrite

__thread int file_overwrite = 0

Definition at line 132 of file fftools_ffmpeg_opt.c.

◆ filter_complex_nbthreads

__thread int filter_complex_nbthreads = 0

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 = 0

Definition at line 126 of file fftools_ffmpeg_opt.c.

◆ find_stream_info

__thread int find_stream_info = 1

Definition at line 139 of file fftools_ffmpeg_opt.c.

◆ frame_bits_per_raw_sample

__thread int frame_bits_per_raw_sample = 0

Definition at line 124 of file fftools_ffmpeg_opt.c.

◆ frame_drop_threshold

__thread float frame_drop_threshold = 0

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[]
Initial value:
= {
{ 0 },
}

Definition at line 84 of file fftools_ffmpeg_opt.c.

◆ ignore_unknown_streams

__thread int ignore_unknown_streams = 0

Definition at line 137 of file fftools_ffmpeg_opt.c.

◆ input_stream_potentially_available

__thread int input_stream_potentially_available = 0

Definition at line 136 of file fftools_ffmpeg_opt.c.

◆ input_sync

__thread int input_sync

Definition at line 135 of file fftools_ffmpeg_opt.c.

◆ intra_only

__thread int intra_only = 0

Definition at line 131 of file fftools_ffmpeg_opt.c.

◆ max_error_rate

__thread float max_error_rate = 2.0/3

Definition at line 125 of file fftools_ffmpeg_opt.c.

◆ no_file_overwrite

__thread int no_file_overwrite = 0

Definition at line 133 of file fftools_ffmpeg_opt.c.

◆ print_stats

__thread int print_stats = -1

Definition at line 121 of file fftools_ffmpeg_opt.c.

◆ qp_hist

__thread int qp_hist = 0

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 = 0

Definition at line 116 of file fftools_ffmpeg_opt.c.

◆ stdin_interaction

__thread int stdin_interaction = 1

Definition at line 123 of file fftools_ffmpeg_opt.c.

◆ video_sync_method

__thread int video_sync_method = VSYNC_AUTO

Definition at line 108 of file fftools_ffmpeg_opt.c.

◆ vstats_filename

__thread char* vstats_filename

Definition at line 99 of file fftools_ffmpeg_opt.c.

◆ vstats_version

__thread int vstats_version = 2

Definition at line 128 of file fftools_ffmpeg_opt.c.

check_stream_specifier
int check_stream_specifier(AVFormatContext *s, AVStream *st, const char *spec)
Definition: fftools_cmdutils.c:2123
AV_LOG_FATAL
#define AV_LOG_FATAL
Definition: MobileFFmpegConfig.h:49