FFmpeg
|
#include <stdint.h>
#include "ffmpeg.h"
#include "cmdutils.h"
#include "libavformat/avformat.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/bsf.h"
#include "libavfilter/avfilter.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/avutil.h"
#include "libavutil/bprint.h"
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/fifo.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/pixfmt.h"
Go to the source code of this file.
Macros | |
#define | DEFAULT_PASS_LOGFILENAME_PREFIX "ffmpeg2pass" |
#define | SPECIFIER_OPT_FMT_str "%s" |
#define | SPECIFIER_OPT_FMT_i "%i" |
#define | SPECIFIER_OPT_FMT_i64 "%"PRId64 |
#define | SPECIFIER_OPT_FMT_ui64 "%"PRIu64 |
#define | SPECIFIER_OPT_FMT_f "%f" |
#define | SPECIFIER_OPT_FMT_dbl "%lf" |
#define | WARN_MULTIPLE_OPT_USAGE(name, type, so, st) |
#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) |
#define | OFFSET(x) offsetof(OptionsContext, x) |
Functions | |
static void | uninit_options (OptionsContext *o) |
static void | init_options (OptionsContext *o) |
static int | show_hwaccels (void *optctx, const char *opt, const char *arg) |
static AVDictionary * | strip_specifiers (AVDictionary *dict) |
static int | opt_filter_threads (void *optctx, const char *opt, const char *arg) |
static int | opt_abort_on (void *optctx, const char *opt, const char *arg) |
static int | opt_stats_period (void *optctx, const char *opt, const char *arg) |
static int | opt_audio_codec (void *optctx, const char *opt, const char *arg) |
static int | opt_video_codec (void *optctx, const char *opt, const char *arg) |
static int | opt_subtitle_codec (void *optctx, const char *opt, const char *arg) |
static int | opt_data_codec (void *optctx, const char *opt, const char *arg) |
static int | opt_map (void *optctx, const char *opt, const char *arg) |
static int | opt_attach (void *optctx, const char *opt, const char *arg) |
static int | opt_map_channel (void *optctx, const char *opt, const char *arg) |
static int | opt_sdp_file (void *optctx, const char *opt, const char *arg) |
static int | opt_init_hw_device (void *optctx, const char *opt, const char *arg) |
static int | opt_filter_hw_device (void *optctx, const char *opt, const char *arg) |
static void | parse_meta_type (char *arg, char *type, int *index, const char **stream_spec) |
Parse a metadata specifier passed as 'arg' parameter. More... | |
static int | copy_metadata (char *outspec, char *inspec, AVFormatContext *oc, AVFormatContext *ic, OptionsContext *o) |
static int | opt_recording_timestamp (void *optctx, const char *opt, const char *arg) |
static const AVCodec * | find_codec_or_die (const char *name, enum AVMediaType type, int encoder) |
static const AVCodec * | choose_decoder (OptionsContext *o, AVFormatContext *s, AVStream *st) |
static void | add_input_streams (OptionsContext *o, AVFormatContext *ic) |
static void | assert_file_overwrite (const char *filename) |
static void | dump_attachment (AVStream *st, const char *filename) |
static int | open_input_file (OptionsContext *o, const char *filename) |
static char * | get_line (AVIOContext *s, AVBPrint *bprint) |
static int | get_preset_file_2 (const char *preset_name, const char *codec_name, AVIOContext **s) |
static int | choose_encoder (OptionsContext *o, AVFormatContext *s, OutputStream *ost) |
static OutputStream * | new_output_stream (OptionsContext *o, AVFormatContext *oc, enum AVMediaType type, int source_index) |
static void | parse_matrix_coeffs (uint16_t *dest, const char *str) |
static char * | read_file (const char *filename) |
static char * | get_ost_filters (OptionsContext *o, AVFormatContext *oc, OutputStream *ost) |
static void | check_streamcopy_filters (OptionsContext *o, AVFormatContext *oc, const OutputStream *ost, enum AVMediaType type) |
static OutputStream * | new_video_stream (OptionsContext *o, AVFormatContext *oc, int source_index) |
static OutputStream * | new_audio_stream (OptionsContext *o, AVFormatContext *oc, int source_index) |
static OutputStream * | new_data_stream (OptionsContext *o, AVFormatContext *oc, int source_index) |
static OutputStream * | new_unknown_stream (OptionsContext *o, AVFormatContext *oc, int source_index) |
static OutputStream * | new_attachment_stream (OptionsContext *o, AVFormatContext *oc, int source_index) |
static OutputStream * | new_subtitle_stream (OptionsContext *o, AVFormatContext *oc, int source_index) |
static int | opt_streamid (void *optctx, const char *opt, const char *arg) |
static int | copy_chapters (InputFile *ifile, OutputFile *ofile, int copy_metadata) |
static int | set_dispositions (OutputFile *of) |
static void | init_output_filter (OutputFilter *ofilter, OptionsContext *o, AVFormatContext *oc) |
static int | init_complex_filters (void) |
static int | open_output_file (OptionsContext *o, const char *filename) |
static int | opt_target (void *optctx, const char *opt, const char *arg) |
static int | opt_vstats_file (void *optctx, const char *opt, const char *arg) |
static int | opt_vstats (void *optctx, const char *opt, const char *arg) |
static int | opt_video_frames (void *optctx, const char *opt, const char *arg) |
static int | opt_audio_frames (void *optctx, const char *opt, const char *arg) |
static int | opt_data_frames (void *optctx, const char *opt, const char *arg) |
static int | opt_default_new (OptionsContext *o, const char *opt, const char *arg) |
static int | opt_preset (void *optctx, const char *opt, const char *arg) |
static int | opt_old2new (void *optctx, const char *opt, const char *arg) |
static int | opt_bitrate (void *optctx, const char *opt, const char *arg) |
static int | opt_qscale (void *optctx, const char *opt, const char *arg) |
static int | opt_profile (void *optctx, const char *opt, const char *arg) |
static int | opt_video_filters (void *optctx, const char *opt, const char *arg) |
static int | opt_audio_filters (void *optctx, const char *opt, const char *arg) |
static int | opt_vsync (void *optctx, const char *opt, const char *arg) |
static int | opt_timecode (void *optctx, const char *opt, const char *arg) |
static int | opt_channel_layout (void *optctx, const char *opt, const char *arg) |
static int | opt_audio_qscale (void *optctx, const char *opt, const char *arg) |
static int | opt_filter_complex (void *optctx, const char *opt, const char *arg) |
static int | opt_filter_complex_script (void *optctx, const char *opt, const char *arg) |
void | show_help_default (const char *opt, const char *arg) |
Per-fftool specific help handler. More... | |
void | show_usage (void) |
Variables | |
static const char *const | opt_name_codec_names [] = {"c", "codec", "acodec", "vcodec", "scodec", "dcodec", NULL} |
static const char *const | opt_name_audio_channels [] = {"ac", NULL} |
static const char *const | opt_name_audio_sample_rate [] = {"ar", NULL} |
static const char *const | opt_name_frame_rates [] = {"r", NULL} |
static const char *const | opt_name_max_frame_rates [] = {"fpsmax", NULL} |
static const char *const | opt_name_frame_sizes [] = {"s", NULL} |
static const char *const | opt_name_frame_pix_fmts [] = {"pix_fmt", NULL} |
static const char *const | opt_name_ts_scale [] = {"itsscale", NULL} |
static const char *const | opt_name_hwaccels [] = {"hwaccel", NULL} |
static const char *const | opt_name_hwaccel_devices [] = {"hwaccel_device", NULL} |
static const char *const | opt_name_hwaccel_output_formats [] = {"hwaccel_output_format", NULL} |
static const char *const | opt_name_autorotate [] = {"autorotate", NULL} |
static const char *const | opt_name_autoscale [] = {"autoscale", NULL} |
static const char *const | opt_name_max_frames [] = {"frames", "aframes", "vframes", "dframes", NULL} |
static const char *const | opt_name_bitstream_filters [] = {"bsf", "absf", "vbsf", NULL} |
static const char *const | opt_name_codec_tags [] = {"tag", "atag", "vtag", "stag", NULL} |
static const char *const | opt_name_sample_fmts [] = {"sample_fmt", NULL} |
static const char *const | opt_name_qscale [] = {"q", "qscale", NULL} |
static const char *const | opt_name_forced_key_frames [] = {"forced_key_frames", NULL} |
static const char *const | opt_name_force_fps [] = {"force_fps", NULL} |
static const char *const | opt_name_frame_aspect_ratios [] = {"aspect", NULL} |
static const char *const | opt_name_rc_overrides [] = {"rc_override", NULL} |
static const char *const | opt_name_intra_matrices [] = {"intra_matrix", NULL} |
static const char *const | opt_name_inter_matrices [] = {"inter_matrix", NULL} |
static const char *const | opt_name_chroma_intra_matrices [] = {"chroma_intra_matrix", NULL} |
static const char *const | opt_name_top_field_first [] = {"top", NULL} |
static const char *const | opt_name_presets [] = {"pre", "apre", "vpre", "spre", NULL} |
static const char *const | opt_name_copy_initial_nonkeyframes [] = {"copyinkf", NULL} |
static const char *const | opt_name_copy_prior_start [] = {"copypriorss", NULL} |
static const char *const | opt_name_filters [] = {"filter", "af", "vf", NULL} |
static const char *const | opt_name_filter_scripts [] = {"filter_script", NULL} |
static const char *const | opt_name_reinit_filters [] = {"reinit_filter", NULL} |
static const char *const | opt_name_fix_sub_duration [] = {"fix_sub_duration", NULL} |
static const char *const | opt_name_canvas_sizes [] = {"canvas_size", NULL} |
static const char *const | opt_name_pass [] = {"pass", NULL} |
static const char *const | opt_name_passlogfiles [] = {"passlogfile", NULL} |
static const char *const | opt_name_max_muxing_queue_size [] = {"max_muxing_queue_size", NULL} |
static const char *const | opt_name_muxing_queue_data_threshold [] = {"muxing_queue_data_threshold", NULL} |
static const char *const | opt_name_guess_layout_max [] = {"guess_layout_max", NULL} |
static const char *const | opt_name_apad [] = {"apad", NULL} |
static const char *const | opt_name_discard [] = {"discard", NULL} |
static const char *const | opt_name_disposition [] = {"disposition", NULL} |
static const char *const | opt_name_time_bases [] = {"time_base", NULL} |
static const char *const | opt_name_enc_time_bases [] = {"enc_time_base", NULL} |
static const char *const | opt_name_bits_per_raw_sample [] = {"bits_per_raw_sample", NULL} |
HWDevice * | filter_hw_device |
char * | vstats_filename |
char * | sdp_filename |
float | audio_drift_threshold = 0.1 |
float | dts_delta_threshold = 10 |
float | dts_error_threshold = 3600*30 |
int | audio_volume = 256 |
int | audio_sync_method = 0 |
enum VideoSyncMethod | video_sync_method = VSYNC_AUTO |
float | frame_drop_threshold = 0 |
int | do_benchmark = 0 |
int | do_benchmark_all = 0 |
int | do_hex_dump = 0 |
int | do_pkt_dump = 0 |
int | copy_ts = 0 |
int | start_at_zero = 0 |
int | copy_tb = -1 |
int | debug_ts = 0 |
int | exit_on_error = 0 |
int | abort_on_flags = 0 |
int | print_stats = -1 |
int | qp_hist = 0 |
int | stdin_interaction = 1 |
float | max_error_rate = 2.0/3 |
char * | filter_nbthreads |
int | filter_complex_nbthreads = 0 |
int | vstats_version = 2 |
int | auto_conversion_filters = 1 |
int64_t | stats_period = 500000 |
static int | file_overwrite = 0 |
static int | no_file_overwrite = 0 |
static int | do_psnr = 0 |
static int | input_stream_potentially_available = 0 |
static int | ignore_unknown_streams = 0 |
static int | copy_unknown_streams = 0 |
static int | recast_media = 0 |
static int | find_stream_info = 1 |
#define DEFAULT_PASS_LOGFILENAME_PREFIX "ffmpeg2pass" |
Definition at line 47 of file ffmpeg_opt.c.
#define SPECIFIER_OPT_FMT_str "%s" |
Definition at line 49 of file ffmpeg_opt.c.
#define SPECIFIER_OPT_FMT_i "%i" |
Definition at line 50 of file ffmpeg_opt.c.
#define SPECIFIER_OPT_FMT_i64 "%"PRId64 |
Definition at line 51 of file ffmpeg_opt.c.
#define SPECIFIER_OPT_FMT_ui64 "%"PRIu64 |
Definition at line 52 of file ffmpeg_opt.c.
#define SPECIFIER_OPT_FMT_f "%f" |
Definition at line 53 of file ffmpeg_opt.c.
#define SPECIFIER_OPT_FMT_dbl "%lf" |
Definition at line 54 of file ffmpeg_opt.c.
Definition at line 102 of file ffmpeg_opt.c.
Definition at line 112 of file ffmpeg_opt.c.
#define OFFSET | ( | x | ) | offsetof(OptionsContext, x) |
|
static |
Definition at line 182 of file ffmpeg_opt.c.
|
static |
Definition at line 214 of file ffmpeg_opt.c.
|
static |
Definition at line 229 of file ffmpeg_opt.c.
|
static |
Definition at line 242 of file ffmpeg_opt.c.
Referenced by open_input_file(), and open_output_file().
|
static |
Definition at line 259 of file ffmpeg_opt.c.
|
static |
Definition at line 266 of file ffmpeg_opt.c.
|
static |
Definition at line 285 of file ffmpeg_opt.c.
|
static |
Definition at line 300 of file ffmpeg_opt.c.
Referenced by opt_preset(), and opt_target().
|
static |
Definition at line 306 of file ffmpeg_opt.c.
Referenced by opt_preset(), and opt_target().
|
static |
Definition at line 312 of file ffmpeg_opt.c.
Referenced by opt_preset().
|
static |
Definition at line 318 of file ffmpeg_opt.c.
Referenced by opt_preset().
|
static |
Definition at line 324 of file ffmpeg_opt.c.
|
static |
Definition at line 442 of file ffmpeg_opt.c.
|
static |
Definition at line 450 of file ffmpeg_opt.c.
|
static |
Definition at line 527 of file ffmpeg_opt.c.
|
static |
Definition at line 566 of file ffmpeg_opt.c.
|
static |
Definition at line 581 of file ffmpeg_opt.c.
|
static |
Parse a metadata specifier passed as 'arg' parameter.
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 602 of file ffmpeg_opt.c.
Referenced by copy_metadata(), and open_output_file().
|
static |
Definition at line 629 of file ffmpeg_opt.c.
Referenced by copy_chapters(), and open_output_file().
|
static |
Definition at line 719 of file ffmpeg_opt.c.
|
static |
Definition at line 734 of file ffmpeg_opt.c.
Referenced by choose_decoder(), choose_encoder(), and open_input_file().
|
static |
Definition at line 763 of file ffmpeg_opt.c.
Referenced by add_input_streams(), and open_input_file().
|
static |
Definition at line 780 of file ffmpeg_opt.c.
Referenced by open_input_file().
|
static |
Definition at line 994 of file ffmpeg_opt.c.
Referenced by dump_attachment(), and open_output_file().
|
static |
Definition at line 1037 of file ffmpeg_opt.c.
Referenced by open_input_file().
|
static |
Definition at line 1069 of file ffmpeg_opt.c.
|
static |
Definition at line 1355 of file ffmpeg_opt.c.
Referenced by new_output_stream().
|
static |
Definition at line 1369 of file ffmpeg_opt.c.
Referenced by new_output_stream().
|
static |
Definition at line 1395 of file ffmpeg_opt.c.
Referenced by new_output_stream().
|
static |
Definition at line 1430 of file ffmpeg_opt.c.
Referenced by new_attachment_stream(), new_audio_stream(), new_data_stream(), new_subtitle_stream(), new_unknown_stream(), and new_video_stream().
|
static |
Definition at line 1627 of file ffmpeg_opt.c.
Referenced by new_video_stream().
|
static |
Definition at line 1645 of file ffmpeg_opt.c.
Referenced by get_ost_filters(), new_video_stream(), and opt_filter_complex_script().
|
static |
Definition at line 1670 of file ffmpeg_opt.c.
Referenced by new_audio_stream(), and new_video_stream().
|
static |
Definition at line 1690 of file ffmpeg_opt.c.
Referenced by new_audio_stream(), and new_video_stream().
|
static |
Definition at line 1704 of file ffmpeg_opt.c.
Referenced by init_output_filter(), and open_output_file().
|
static |
Definition at line 1940 of file ffmpeg_opt.c.
Referenced by init_output_filter(), and open_output_file().
|
static |
Definition at line 2013 of file ffmpeg_opt.c.
Referenced by open_output_file().
|
static |
Definition at line 2026 of file ffmpeg_opt.c.
Referenced by open_output_file().
|
static |
Definition at line 2039 of file ffmpeg_opt.c.
Referenced by open_output_file().
|
static |
Definition at line 2047 of file ffmpeg_opt.c.
Referenced by open_output_file().
|
static |
Definition at line 2075 of file ffmpeg_opt.c.
|
static |
Definition at line 2097 of file ffmpeg_opt.c.
Referenced by open_output_file().
|
static |
Definition at line 2140 of file ffmpeg_opt.c.
Referenced by open_output_file().
|
static |
Definition at line 2206 of file ffmpeg_opt.c.
Referenced by open_output_file().
|
static |
Definition at line 2247 of file ffmpeg_opt.c.
|
static |
Definition at line 2259 of file ffmpeg_opt.c.
|
static |
Definition at line 2890 of file ffmpeg_opt.c.
|
static |
Definition at line 3033 of file ffmpeg_opt.c.
Referenced by opt_vstats().
|
static |
Definition at line 3040 of file ffmpeg_opt.c.
|
static |
Definition at line 3056 of file ffmpeg_opt.c.
|
static |
Definition at line 3062 of file ffmpeg_opt.c.
|
static |
Definition at line 3068 of file ffmpeg_opt.c.
|
static |
Definition at line 3074 of file ffmpeg_opt.c.
Referenced by opt_channel_layout(), and opt_preset().
|
static |
Definition at line 3094 of file ffmpeg_opt.c.
|
static |
Definition at line 3142 of file ffmpeg_opt.c.
|
static |
Definition at line 3154 of file ffmpeg_opt.c.
|
static |
Definition at line 3170 of file ffmpeg_opt.c.
|
static |
Definition at line 3187 of file ffmpeg_opt.c.
|
static |
Definition at line 3199 of file ffmpeg_opt.c.
|
static |
Definition at line 3205 of file ffmpeg_opt.c.
|
static |
Definition at line 3211 of file ffmpeg_opt.c.
|
static |
Definition at line 3226 of file ffmpeg_opt.c.
|
static |
Definition at line 3240 of file ffmpeg_opt.c.
|
static |
Definition at line 3276 of file ffmpeg_opt.c.
|
static |
Definition at line 3282 of file ffmpeg_opt.c.
|
static |
Definition at line 3297 of file ffmpeg_opt.c.
void show_help_default | ( | const char * | opt, |
const char * | arg | ||
) |
Per-fftool specific help handler.
Implemented in each fftool, called by show_help().
Definition at line 3313 of file ffmpeg_opt.c.
void show_usage | ( | void | ) |
Definition at line 3385 of file ffmpeg_opt.c.
Referenced by main(), and show_help_default().
|
static |
Definition at line 56 of file ffmpeg_opt.c.
|
static |
Definition at line 57 of file ffmpeg_opt.c.
|
static |
Definition at line 58 of file ffmpeg_opt.c.
|
static |
Definition at line 59 of file ffmpeg_opt.c.
|
static |
Definition at line 60 of file ffmpeg_opt.c.
|
static |
Definition at line 61 of file ffmpeg_opt.c.
|
static |
Definition at line 62 of file ffmpeg_opt.c.
|
static |
Definition at line 63 of file ffmpeg_opt.c.
|
static |
Definition at line 64 of file ffmpeg_opt.c.
|
static |
Definition at line 65 of file ffmpeg_opt.c.
|
static |
Definition at line 66 of file ffmpeg_opt.c.
|
static |
Definition at line 67 of file ffmpeg_opt.c.
|
static |
Definition at line 68 of file ffmpeg_opt.c.
|
static |
Definition at line 69 of file ffmpeg_opt.c.
|
static |
Definition at line 70 of file ffmpeg_opt.c.
|
static |
Definition at line 71 of file ffmpeg_opt.c.
|
static |
Definition at line 72 of file ffmpeg_opt.c.
|
static |
Definition at line 73 of file ffmpeg_opt.c.
|
static |
Definition at line 74 of file ffmpeg_opt.c.
|
static |
Definition at line 75 of file ffmpeg_opt.c.
|
static |
Definition at line 76 of file ffmpeg_opt.c.
|
static |
Definition at line 77 of file ffmpeg_opt.c.
|
static |
Definition at line 78 of file ffmpeg_opt.c.
|
static |
Definition at line 79 of file ffmpeg_opt.c.
|
static |
Definition at line 80 of file ffmpeg_opt.c.
|
static |
Definition at line 81 of file ffmpeg_opt.c.
|
static |
Definition at line 82 of file ffmpeg_opt.c.
|
static |
Definition at line 83 of file ffmpeg_opt.c.
|
static |
Definition at line 84 of file ffmpeg_opt.c.
|
static |
Definition at line 85 of file ffmpeg_opt.c.
|
static |
Definition at line 86 of file ffmpeg_opt.c.
|
static |
Definition at line 87 of file ffmpeg_opt.c.
|
static |
Definition at line 88 of file ffmpeg_opt.c.
|
static |
Definition at line 89 of file ffmpeg_opt.c.
|
static |
Definition at line 90 of file ffmpeg_opt.c.
|
static |
Definition at line 91 of file ffmpeg_opt.c.
|
static |
Definition at line 92 of file ffmpeg_opt.c.
|
static |
Definition at line 93 of file ffmpeg_opt.c.
|
static |
Definition at line 94 of file ffmpeg_opt.c.
|
static |
Definition at line 95 of file ffmpeg_opt.c.
|
static |
Definition at line 96 of file ffmpeg_opt.c.
|
static |
Definition at line 97 of file ffmpeg_opt.c.
|
static |
Definition at line 98 of file ffmpeg_opt.c.
|
static |
Definition at line 99 of file ffmpeg_opt.c.
|
static |
Definition at line 100 of file ffmpeg_opt.c.
HWDevice* filter_hw_device |
Definition at line 139 of file ffmpeg_opt.c.
Referenced by hw_device_setup_for_filter(), and opt_filter_hw_device().
char* vstats_filename |
Definition at line 141 of file ffmpeg_opt.c.
Referenced by do_video_out(), do_video_stats(), ffmpeg_cleanup(), flush_encoders(), and opt_vstats_file().
char* sdp_filename |
Definition at line 142 of file ffmpeg_opt.c.
Referenced by check_init_output_file(), opt_sdp_file(), and print_sdp().
float audio_drift_threshold = 0.1 |
Definition at line 144 of file ffmpeg_opt.c.
Referenced by configure_input_audio_filter().
float dts_delta_threshold = 10 |
Definition at line 145 of file ffmpeg_opt.c.
Referenced by process_input().
float dts_error_threshold = 3600*30 |
Definition at line 146 of file ffmpeg_opt.c.
Referenced by do_video_out(), and process_input().
int audio_volume = 256 |
Definition at line 148 of file ffmpeg_opt.c.
Referenced by configure_input_audio_filter(), and init_output_stream_streamcopy().
int audio_sync_method = 0 |
Definition at line 149 of file ffmpeg_opt.c.
Referenced by configure_input_audio_filter(), do_audio_out(), and write_packet().
enum VideoSyncMethod video_sync_method = VSYNC_AUTO |
Definition at line 150 of file ffmpeg_opt.c.
Referenced by init_output_stream_encode(), new_video_stream(), opt_vsync(), and write_packet().
float frame_drop_threshold = 0 |
Definition at line 151 of file ffmpeg_opt.c.
Referenced by do_video_out().
int do_benchmark = 0 |
Definition at line 152 of file ffmpeg_opt.c.
Referenced by ffmpeg_cleanup(), and main().
int do_benchmark_all = 0 |
Definition at line 153 of file ffmpeg_opt.c.
Referenced by update_benchmark().
int do_hex_dump = 0 |
Definition at line 154 of file ffmpeg_opt.c.
Referenced by check_keyboard_interaction(), and process_input().
int do_pkt_dump = 0 |
Definition at line 155 of file ffmpeg_opt.c.
Referenced by check_keyboard_interaction(), and process_input().
int copy_ts = 0 |
Definition at line 156 of file ffmpeg_opt.c.
Referenced by configure_input_audio_filter(), configure_input_video_filter(), do_streamcopy(), get_input_packet(), new_video_stream(), open_input_file(), print_report(), and process_input().
int start_at_zero = 0 |
Definition at line 157 of file ffmpeg_opt.c.
Referenced by configure_input_audio_filter(), configure_input_video_filter(), do_streamcopy(), get_input_packet(), and open_input_file().
int copy_tb = -1 |
Definition at line 158 of file ffmpeg_opt.c.
Referenced by avformat_transfer_internal_stream_timing_info(), and init_output_stream_streamcopy().
int debug_ts = 0 |
Definition at line 159 of file ffmpeg_opt.c.
Referenced by adjust_frame_pts_to_encoder_tb(), decode_video(), do_audio_out(), do_video_out(), process_input(), and write_packet().
int exit_on_error = 0 |
Definition at line 160 of file ffmpeg_opt.c.
Referenced by check_decode_result(), do_subtitle_out(), output_packet(), process_input(), process_input_packet(), transcode(), and write_packet().
int abort_on_flags = 0 |
Definition at line 161 of file ffmpeg_opt.c.
Referenced by opt_abort_on(), and transcode().
int print_stats = -1 |
Definition at line 162 of file ffmpeg_opt.c.
Referenced by print_report().
int qp_hist = 0 |
Definition at line 163 of file ffmpeg_opt.c.
Referenced by check_keyboard_interaction(), and print_report().
int stdin_interaction = 1 |
Definition at line 164 of file ffmpeg_opt.c.
Referenced by assert_file_overwrite(), open_input_file(), term_init(), and transcode().
float max_error_rate = 2.0/3 |
Definition at line 165 of file ffmpeg_opt.c.
Referenced by main().
char* filter_nbthreads |
Definition at line 166 of file ffmpeg_opt.c.
Referenced by configure_filtergraph(), ffmpeg_cleanup(), and opt_filter_threads().
int filter_complex_nbthreads = 0 |
Definition at line 167 of file ffmpeg_opt.c.
Referenced by configure_filtergraph().
int vstats_version = 2 |
Definition at line 168 of file ffmpeg_opt.c.
Referenced by do_video_stats().
int auto_conversion_filters = 1 |
Definition at line 169 of file ffmpeg_opt.c.
Referenced by configure_filtergraph().
int64_t stats_period = 500000 |
Definition at line 170 of file ffmpeg_opt.c.
Referenced by opt_stats_period(), and print_report().
|
static |
Definition at line 173 of file ffmpeg_opt.c.
Referenced by assert_file_overwrite().
|
static |
Definition at line 174 of file ffmpeg_opt.c.
Referenced by assert_file_overwrite().
|
static |
Definition at line 175 of file ffmpeg_opt.c.
Referenced by new_video_stream().
|
static |
Definition at line 176 of file ffmpeg_opt.c.
Referenced by open_input_file(), open_output_file(), opt_filter_complex(), and opt_filter_complex_script().
|
static |
Definition at line 177 of file ffmpeg_opt.c.
Referenced by open_output_file().
|
static |
Definition at line 178 of file ffmpeg_opt.c.
Referenced by open_output_file().
|
static |
Definition at line 179 of file ffmpeg_opt.c.
Referenced by choose_decoder(), and find_codec_or_die().
|
static |
Definition at line 180 of file ffmpeg_opt.c.
Referenced by open_input_file().