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)
HWDevice * | hw_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)
OutputStream * | new_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)
OutputStream * | new_video_stream (OptionsContext *o, AVFormatContext *oc, int source_index)
OutputStream * | new_audio_stream (OptionsContext *o, AVFormatContext *oc, int source_index)
OutputStream * | new_data_stream (OptionsContext *o, AVFormatContext *oc, int source_index)
OutputStream * | new_unknown_stream (OptionsContext *o, AVFormatContext *oc, int source_index)
OutputStream * | new_attachment_stream (OptionsContext *o, AVFormatContext *oc, int source_index)
OutputStream * | new_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 HWDevice * | filter_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

typedef struct OptionsContext 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

enum 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

enum 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 804 of file fftools_ffmpeg_opt.c.

## assert_avoptions()

void assert_avoptions | ( | AVDictionary * | m | ) |

Definition at line 792 of file fftools_ffmpeg.c.

## assert_file_overwrite()

void assert_file_overwrite | ( | const char * | filename | ) |

Definition at line 1012 of file fftools_ffmpeg_opt.c.

## cancel_operation()

void cancel_operation | ( | long | id | ) |

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

## choose_decoder()

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

Definition at line 789 of file fftools_ffmpeg_opt.c.

## choose_encoder()

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

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

## dump_attachment()

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

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

## fftools_read_file()

uint8_t* fftools_read_file | ( | const char * | filename | ) |

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

## get_line()

uint8_t* get_line | ( | AVIOContext * | s | ) |

Definition at line 1361 of file fftools_ffmpeg_opt.c.

## get_ost_filters()

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

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

## guess_input_channel_layout()

int guess_input_channel_layout | ( | InputStream * | ist | ) |

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

## init_options()

void init_options | ( | OptionsContext * | o | ) |

Definition at line 243 of file fftools_ffmpeg_opt.c.

## init_output_filter()

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

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

## new_audio_stream()

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

Definition at line 1918 of file fftools_ffmpeg_opt.c.

## new_data_stream()

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

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

## new_subtitle_stream()

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

Definition at line 2025 of file fftools_ffmpeg_opt.c.

## new_unknown_stream()

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

Definition at line 2004 of file fftools_ffmpeg_opt.c.

## new_video_stream()

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

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

## open_output_file()

int open_output_file | ( | OptionsContext * | o,
|  | const char * | filename
| ) |  |

Definition at line 2172 of file fftools_ffmpeg_opt.c.

## opt_abort_on()

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

Definition at line 288 of file fftools_ffmpeg_opt.c.

## opt_attach()

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

Definition at line 485 of file fftools_ffmpeg_opt.c.

## opt_audio_codec()

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

Definition at line 343 of file fftools_ffmpeg_opt.c.

## opt_audio_filters()

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

Definition at line 3141 of file fftools_ffmpeg_opt.c.

## opt_audio_frames()

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

Definition at line 2997 of file fftools_ffmpeg_opt.c.

## opt_audio_qscale()

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

Definition at line 3209 of file fftools_ffmpeg_opt.c.

## opt_bitrate()

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

Definition at line 3089 of file fftools_ffmpeg_opt.c.

## opt_channel_layout()

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

Definition at line 3173 of file fftools_ffmpeg_opt.c.

## opt_data_codec()

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

Definition at line 361 of file fftools_ffmpeg_opt.c.

## opt_data_frames()

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

Definition at line 3003 of file fftools_ffmpeg_opt.c.

## opt_default_new()

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

Definition at line 3009 of file fftools_ffmpeg_opt.c.

## opt_filter_complex()

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

Definition at line 3215 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 3230 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 607 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 592 of file fftools_ffmpeg_opt.c.

## opt_map()

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

Definition at line 367 of file fftools_ffmpeg_opt.c.

## opt_map_channel()

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

Definition at line 493 of file fftools_ffmpeg_opt.c.

## opt_old2new()

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

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

## opt_profile()

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

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

## opt_recording_timestamp()

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

Definition at line 745 of file fftools_ffmpeg_opt.c.

## opt_sameq()

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

Definition at line 322 of file fftools_ffmpeg_opt.c.

## opt_sdp_file()

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

Definition at line 570 of file fftools_ffmpeg_opt.c.

## opt_stats_period()

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

Definition at line 307 of file fftools_ffmpeg_opt.c.

## opt_streamid()

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

Definition at line 2053 of file fftools_ffmpeg_opt.c.

## opt_subtitle_codec()

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

Definition at line 355 of file fftools_ffmpeg_opt.c.

## opt_target()

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

Definition at line 2824 of file fftools_ffmpeg_opt.c.

## opt_timecode()

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

Definition at line 3159 of file fftools_ffmpeg_opt.c.

## opt_video_channel()

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

Definition at line 331 of file fftools_ffmpeg_opt.c.

## opt_video_codec()

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

Definition at line 349 of file fftools_ffmpeg_opt.c.

## opt_video_filters()

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

Definition at line 3135 of file fftools_ffmpeg_opt.c.

## opt_video_frames()

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

Definition at line 2991 of file fftools_ffmpeg_opt.c.

## opt_video_standard()

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

Definition at line 337 of file fftools_ffmpeg_opt.c.

## opt_vstats()

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

Definition at line 2975 of file fftools_ffmpeg_opt.c.

## opt_vstats_file()

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

Definition at line 2968 of file fftools_ffmpeg_opt.c.

## opt_vsync()

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

Definition at line 3147 of file fftools_ffmpeg_opt.c.

## parse_matrix_coeffs()

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

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

  arg | metadata string to parse
  type | metadata type is written here – g(lobal)/s(tream)/c(hapter)/p(rogram)
  index | for type c/p, chapter/program index is written here
  stream_spec | for type s, the stream specifier is written here

Definition at line 628 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 783 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 5149 of file fftools_ffmpeg.c.

## show_hwaccels()

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

Definition at line 258 of file fftools_ffmpeg_opt.c.

## show_usage()

void show_usage | ( | void |  | ) |

Definition at line 3320 of file fftools_ffmpeg_opt.c.

## strip_specifiers()

AVDictionary* strip_specifiers | ( | AVDictionary * | dict | ) |

Definition at line 271 of file fftools_ffmpeg_opt.c.

## sub2video_update()

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

Definition at line 336 of file fftools_ffmpeg.c.

## term_exit()

void term_exit | ( | void |  | ) |

Definition at line 432 of file fftools_ffmpeg.c.

## term_init()

void term_init | ( | void |  | ) |

Definition at line 504 of file fftools_ffmpeg.c.

## uninit_options()

void uninit_options | ( | OptionsContext * | o | ) |

Definition at line 211 of file fftools_ffmpeg_opt.c.

## videotoolbox_init()

int videotoolbox_init | ( | AVCodecContext * | s | ) |

## Variable Documentation

## abort_on_flags

__thread int abort_on_flags

extern

Definition at line 186 of file fftools_ffmpeg_opt.c.

## audio_drift_threshold

__thread float audio_drift_threshold

extern

Definition at line 168 of file fftools_ffmpeg_opt.c.

## audio_sync_method

__thread int audio_sync_method

extern

Definition at line 173 of file fftools_ffmpeg_opt.c.

## audio_volume

__thread int audio_volume

extern

Definition at line 172 of file fftools_ffmpeg_opt.c.

## auto_conversion_filters

__thread int auto_conversion_filters

extern

Definition at line 195 of file fftools_ffmpeg_opt.c.

## copy_tb

__thread int copy_tb

extern

Definition at line 183 of file fftools_ffmpeg_opt.c.

## copy_ts

__thread int copy_ts

extern

Definition at line 181 of file fftools_ffmpeg_opt.c.

## debug_ts

__thread int debug_ts

extern

Definition at line 184 of file fftools_ffmpeg_opt.c.

## do_benchmark

__thread int do_benchmark

extern

Definition at line 177 of file fftools_ffmpeg_opt.c.

## do_benchmark_all

__thread int do_benchmark_all

extern

Definition at line 178 of file fftools_ffmpeg_opt.c.

## do_deinterlace

__thread int do_deinterlace

extern

Definition at line 176 of file fftools_ffmpeg_opt.c.

## do_hex_dump

__thread int do_hex_dump

extern

Definition at line 179 of file fftools_ffmpeg_opt.c.

## do_pkt_dump

__thread int do_pkt_dump

extern

Definition at line 180 of file fftools_ffmpeg_opt.c.

## dts_delta_threshold

__thread float dts_delta_threshold

extern

Definition at line 169 of file fftools_ffmpeg_opt.c.

## dts_error_threshold

__thread float dts_error_threshold

extern

Definition at line 170 of file fftools_ffmpeg_opt.c.

## exit_on_error

__thread int exit_on_error

extern

Definition at line 185 of file fftools_ffmpeg_opt.c.

## filter_complex_nbthreads

__thread int filter_complex_nbthreads

extern

Definition at line 193 of file fftools_ffmpeg_opt.c.

## filter_hw_device

__thread HWDevice* filter_hw_device

extern

Definition at line 163 of file fftools_ffmpeg_opt.c.

## filter_nbthreads

__thread int filter_nbthreads

extern

Definition at line 192 of file fftools_ffmpeg_opt.c.

## filtergraphs

__thread FilterGraph** filtergraphs

extern

Definition at line 189 of file fftools_ffmpeg.c.

## forced_keyframes_const_names

const char* const forced_keyframes_const_names[]

extern

Definition at line 145 of file fftools_ffmpeg.c.

## frame_bits_per_raw_sample

__thread int frame_bits_per_raw_sample

extern

Definition at line 190 of file fftools_ffmpeg_opt.c.

## frame_drop_threshold

__thread float frame_drop_threshold

extern

Definition at line 175 of file fftools_ffmpeg_opt.c.

## hwaccels

const HWAccel hwaccels[]

extern

Definition at line 154 of file fftools_ffmpeg_opt.c.

## input_files

__thread InputFile** input_files

extern

Definition at line 181 of file fftools_ffmpeg.c.

## input_streams

__thread InputStream** input_streams

extern

Definition at line 179 of file fftools_ffmpeg.c.

## int_cb

__thread const AVIOInterruptCB int_cb

extern

Definition at line 621 of file fftools_ffmpeg.c.

## max_error_rate

__thread float max_error_rate

extern

Definition at line 191 of file fftools_ffmpeg_opt.c.

## nb_filtergraphs

__thread int nb_filtergraphs

extern

Definition at line 190 of file fftools_ffmpeg.c.

## nb_input_files

__thread int nb_input_files

extern

Definition at line 182 of file fftools_ffmpeg.c.

## nb_input_streams

__thread int nb_input_streams

extern

Definition at line 180 of file fftools_ffmpeg.c.

## nb_output_files

__thread int nb_output_files

extern

Definition at line 187 of file fftools_ffmpeg.c.

## nb_output_streams

__thread int nb_output_streams

extern

Definition at line 185 of file fftools_ffmpeg.c.

## output_files

__thread OutputFile** output_files

extern

Definition at line 186 of file fftools_ffmpeg.c.

## output_streams

__thread OutputStream** output_streams

extern

Definition at line 184 of file fftools_ffmpeg.c.

## print_stats

__thread int print_stats

extern

Definition at line 187 of file fftools_ffmpeg_opt.c.

## progress_avio

__thread AVIOContext* progress_avio

extern

Definition at line 175 of file fftools_ffmpeg.c.

## qp_hist

__thread int qp_hist

extern

Definition at line 188 of file fftools_ffmpeg_opt.c.

## sdp_filename

__thread char* sdp_filename

extern

Definition at line 166 of file fftools_ffmpeg_opt.c.

## start_at_zero

__thread int start_at_zero

extern

Definition at line 182 of file fftools_ffmpeg_opt.c.

## stats_period

__thread int64_t stats_period

extern

Definition at line 196 of file fftools_ffmpeg_opt.c.

## stdin_interaction

__thread int stdin_interaction

extern

Definition at line 189 of file fftools_ffmpeg_opt.c.

## video_sync_method

__thread int video_sync_method

extern

Definition at line 174 of file fftools_ffmpeg_opt.c.

## videotoolbox_pixfmt

__thread char* videotoolbox_pixfmt

extern

## vstats_filename

__thread char* vstats_filename

extern

Definition at line 165 of file fftools_ffmpeg_opt.c.

## vstats_version

__thread int vstats_version

extern

Definition at line 194 of file fftools_ffmpeg_opt.c.