#include "config.h"
#include <ctype.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
#include <errno.h>
#include <signal.h>
#include <limits.h>
#include <unistd.h>
#include "libavformat/avformat.h"
#include "libavdevice/avdevice.h"
#include "libswscale/swscale.h"
#include "libavutil/opt.h"
#include "libavcodec/audioconvert.h"
#include "libavutil/audioconvert.h"
#include "libavutil/parseutils.h"
#include "libavutil/samplefmt.h"
#include "libavutil/colorspace.h"
#include "libavutil/fifo.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"
#include "libavutil/pixdesc.h"
#include "libavutil/avstring.h"
#include "libavutil/libm.h"
#include "libavformat/os_support.h"
#include "libswresample/swresample.h"
#include "libavformat/ffm.h"
#include <time.h>
#include "cmdutils.h"
#include "libavutil/avassert.h"
#include "cmdutils_common_opts.h"
Go to the source code of this file.
Data Structures | |
struct | StreamMap |
struct | AudioChannelMap |
struct | MetadataMap |
select an input file for an output file More... | |
struct | InputStream |
struct | InputFile |
struct | OutputStream |
struct | OutputFile |
struct | OptionsContext |
Defines | |
#define | MAX_STREAMS 1024 |
#define | DEFAULT_PASS_LOGFILENAME_PREFIX "ffmpeg2pass" |
#define | MATCH_PER_STREAM_OPT(name, type, outvar, fmtctx, st) |
#define | NEW_STREAM(type, index) |
#define | METADATA_CHECK_INDEX(index, nb_elems, desc) |
#define | OFFSET(x) offsetof(OptionsContext, x) |
Functions | |
static void | reset_options (OptionsContext *o, int is_input) |
static void | term_exit (void) |
static void | sigterm_handler (int sig) |
static void | term_init (void) |
static int | read_key (void) |
static int | decode_interrupt_cb (void *ctx) |
void av_noreturn | exit_program (int ret) |
Do all the necessary cleanup and abort. | |
static void | assert_avoptions (AVDictionary *m) |
static void | assert_codec_experimental (AVCodecContext *c, int encoder) |
static void | choose_sample_fmt (AVStream *st, AVCodec *codec) |
static void | choose_sample_rate (AVStream *st, AVCodec *codec) |
static void | choose_pixel_fmt (AVStream *st, AVCodec *codec) |
static double | get_sync_ipts (const OutputStream *ost) |
static void | write_frame (AVFormatContext *s, AVPacket *pkt, AVCodecContext *avctx, AVBitStreamFilterContext *bsfc) |
static void | generate_silence (uint8_t *buf, enum AVSampleFormat sample_fmt, size_t size) |
static void | do_audio_out (AVFormatContext *s, OutputStream *ost, InputStream *ist, AVFrame *decoded_frame) |
static void | pre_process_video_frame (InputStream *ist, AVPicture *picture, void **bufp) |
static void | do_subtitle_out (AVFormatContext *s, OutputStream *ost, InputStream *ist, AVSubtitle *sub, int64_t pts) |
static void | do_video_resample (OutputStream *ost, InputStream *ist, AVFrame *in_picture, AVFrame **out_picture) |
static void | do_video_out (AVFormatContext *s, OutputStream *ost, InputStream *ist, AVFrame *in_picture, int *frame_size, float quality) |
static double | psnr (double d) |
static void | do_video_stats (AVFormatContext *os, OutputStream *ost, int frame_size) |
static void | print_report (OutputFile *output_files, OutputStream *ost_table, int nb_ostreams, int is_last_report, int64_t timer_start, int64_t cur_time) |
static void | flush_encoders (OutputStream *ost_table, int nb_ostreams) |
static int | check_output_constraints (InputStream *ist, OutputStream *ost) |
static void | do_streamcopy (InputStream *ist, OutputStream *ost, const AVPacket *pkt) |
static void | rate_emu_sleep (InputStream *ist) |
static int | transcode_audio (InputStream *ist, AVPacket *pkt, int *got_output) |
static int | transcode_video (InputStream *ist, AVPacket *pkt, int *got_output, int64_t *pkt_pts, int64_t *pkt_dts) |
static int | transcode_subtitles (InputStream *ist, AVPacket *pkt, int *got_output) |
static int | output_packet (InputStream *ist, OutputStream *ost_table, int nb_ostreams, const AVPacket *pkt) |
static void | print_sdp (OutputFile *output_files, int n) |
static int | init_input_stream (int ist_index, OutputStream *output_streams, int nb_output_streams, char *error, int error_len) |
static int | transcode_init (OutputFile *output_files, int nb_output_files, InputFile *input_files, int nb_input_files) |
static int | transcode (OutputFile *output_files, int nb_output_files, InputFile *input_files, int nb_input_files) |
static int | opt_frame_crop (const char *opt, const char *arg) |
static int | opt_pad (const char *opt, const char *arg) |
static double | parse_frame_aspect_ratio (const char *arg) |
static int | opt_video_channel (const char *opt, const char *arg) |
static int | opt_video_standard (const char *opt, const char *arg) |
static int | opt_audio_codec (OptionsContext *o, const char *opt, const char *arg) |
static int | opt_video_codec (OptionsContext *o, const char *opt, const char *arg) |
static int | opt_subtitle_codec (OptionsContext *o, const char *opt, const char *arg) |
static int | opt_data_codec (OptionsContext *o, const char *opt, const char *arg) |
static int | opt_map (OptionsContext *o, const char *opt, const char *arg) |
static int | opt_attach (OptionsContext *o, const char *opt, const char *arg) |
static int | opt_map_channel (OptionsContext *o, const char *opt, const char *arg) |
static void | parse_meta_type (char *arg, char *type, int *index) |
static int | opt_map_metadata (OptionsContext *o, const char *opt, const char *arg) |
static int | opt_map_meta_data (OptionsContext *o, const char *opt, const char *arg) |
static int | opt_recording_timestamp (OptionsContext *o, const char *opt, const char *arg) |
static AVCodec * | find_codec_or_die (const char *name, enum AVMediaType type, int encoder) |
static AVCodec * | choose_decoder (OptionsContext *o, AVFormatContext *s, AVStream *st) |
static void | add_input_streams (OptionsContext *o, AVFormatContext *ic) |
Add all the streams from the given input file to the global list of input streams. | |
static void | assert_file_overwrite (const char *filename) |
static void | dump_attachment (AVStream *st, const char *filename) |
static int | opt_input_file (OptionsContext *o, const char *opt, const char *filename) |
static void | parse_forced_key_frames (char *kf, OutputStream *ost) |
static uint8_t * | get_line (AVIOContext *s) |
static int | get_preset_file_2 (const char *preset_name, const char *codec_name, AVIOContext **s) |
static void | choose_encoder (OptionsContext *o, AVFormatContext *s, OutputStream *ost) |
static OutputStream * | new_output_stream (OptionsContext *o, AVFormatContext *oc, enum AVMediaType type) |
static void | parse_matrix_coeffs (uint16_t *dest, const char *str) |
static OutputStream * | new_video_stream (OptionsContext *o, AVFormatContext *oc) |
static OutputStream * | new_audio_stream (OptionsContext *o, AVFormatContext *oc) |
static OutputStream * | new_data_stream (OptionsContext *o, AVFormatContext *oc) |
static OutputStream * | new_attachment_stream (OptionsContext *o, AVFormatContext *oc) |
static OutputStream * | new_subtitle_stream (OptionsContext *o, AVFormatContext *oc) |
static int | opt_streamid (OptionsContext *o, const char *opt, const char *arg) |
static int | copy_chapters (InputFile *ifile, OutputFile *ofile, int copy_metadata) |
static int | read_ffserver_streams (OptionsContext *o, AVFormatContext *s, const char *filename) |
static void | opt_output_file (void *optctx, const char *filename) |
static int | opt_pass (const char *opt, const char *arg) |
static int64_t | getutime (void) |
static int64_t | getmaxrss (void) |
static int | opt_audio_qscale (OptionsContext *o, const char *opt, const char *arg) |
static void | show_usage (void) |
static int | opt_help (const char *opt, const char *arg) |
static int | opt_target (OptionsContext *o, const char *opt, const char *arg) |
static int | opt_vstats_file (const char *opt, const char *arg) |
static int | opt_vstats (const char *opt, const char *arg) |
static int | opt_video_frames (OptionsContext *o, const char *opt, const char *arg) |
static int | opt_audio_frames (OptionsContext *o, const char *opt, const char *arg) |
static int | opt_data_frames (OptionsContext *o, const char *opt, const char *arg) |
static int | opt_preset (OptionsContext *o, const char *opt, const char *arg) |
static void | log_callback_null (void *ptr, int level, const char *fmt, va_list vl) |
static int | opt_passlogfile (const char *opt, const char *arg) |
static int | opt_old2new (OptionsContext *o, const char *opt, const char *arg) |
static int | opt_bitrate (OptionsContext *o, const char *opt, const char *arg) |
static int | opt_video_filters (OptionsContext *o, const char *opt, const char *arg) |
int | main (int argc, char **argv) |
Variables | |
const char | program_name [] = "ffmpeg" |
program name, defined by the program for show_version(). | |
const int | program_birth_year = 2000 |
program birth year, defined by the program for show_banner() | |
static const OptionDef | options [] |
static int | frame_bits_per_raw_sample = 0 |
static int | video_discard = 0 |
static int | same_quant = 0 |
static int | do_deinterlace = 0 |
static int | intra_dc_precision = 8 |
static int | loop_input = 0 |
static int | loop_output = AVFMT_NOOUTPUTLOOP |
static int | qp_hist = 0 |
static int | intra_only = 0 |
static const char * | video_codec_name = NULL |
static const char * | audio_codec_name = NULL |
static const char * | subtitle_codec_name = NULL |
static int | file_overwrite = 0 |
static int | no_file_overwrite = 0 |
static int | do_benchmark = 0 |
static int | do_hex_dump = 0 |
static int | do_pkt_dump = 0 |
static int | do_psnr = 0 |
static int | do_pass = 0 |
static const char * | pass_logfilename_prefix |
static int | video_sync_method = -1 |
static int | audio_sync_method = 0 |
static float | audio_drift_threshold = 0.1 |
static int | copy_ts = 0 |
static int | copy_tb = -1 |
static int | opt_shortest = 0 |
static char * | vstats_filename |
static FILE * | vstats_file |
static int | audio_volume = 256 |
static int | exit_on_error = 0 |
static int | using_stdin = 0 |
static int | run_as_daemon = 0 |
static volatile int | received_nb_signals = 0 |
static int64_t | video_size = 0 |
static int64_t | audio_size = 0 |
static int64_t | extra_size = 0 |
static int | nb_frames_dup = 0 |
static int | nb_frames_drop = 0 |
static int | input_sync |
static float | dts_delta_threshold = 10 |
static int | print_stats = 1 |
static uint8_t * | audio_buf |
static uint8_t * | audio_out |
static unsigned int | allocated_audio_out_size |
static unsigned int | allocated_audio_buf_size |
static uint8_t * | input_tmp = NULL |
static InputStream * | input_streams = NULL |
static int | nb_input_streams = 0 |
static InputFile * | input_files = NULL |
static int | nb_input_files = 0 |
static OutputStream * | output_streams = NULL |
static int | nb_output_streams = 0 |
static OutputFile * | output_files = NULL |
static int | nb_output_files = 0 |
static volatile int | received_sigterm = 0 |
static const AVIOInterruptCB | int_cb = { decode_interrupt_cb, NULL } |
static int | bit_buffer_size = 1024*256 |
static uint8_t * | bit_buffer = NULL |
#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);\ }\ }
#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);\ }
#define NEW_STREAM | ( | type, | |||
index | ) |
Value:
if (index >= 0) {\ ost = new_ ## type ## _stream(o, oc);\ ost->source_index = index;\ ost->sync_ist = &input_streams[index];\ input_streams[index].discard = 0;\ }
#define OFFSET | ( | x | ) | offsetof(OptionsContext, x) |
static void add_input_streams | ( | OptionsContext * | o, | |
AVFormatContext * | ic | |||
) | [static] |
static void assert_avoptions | ( | AVDictionary * | m | ) | [static] |
static void assert_codec_experimental | ( | AVCodecContext * | c, | |
int | encoder | |||
) | [static] |
static void assert_file_overwrite | ( | const char * | filename | ) | [static] |
static int check_output_constraints | ( | InputStream * | ist, | |
OutputStream * | ost | |||
) | [static] |
static AVCodec* choose_decoder | ( | OptionsContext * | o, | |
AVFormatContext * | s, | |||
AVStream * | st | |||
) | [static] |
static void choose_encoder | ( | OptionsContext * | o, | |
AVFormatContext * | s, | |||
OutputStream * | ost | |||
) | [static] |
static int copy_chapters | ( | InputFile * | ifile, | |
OutputFile * | ofile, | |||
int | copy_metadata | |||
) | [static] |
static void do_audio_out | ( | AVFormatContext * | s, | |
OutputStream * | ost, | |||
InputStream * | ist, | |||
AVFrame * | decoded_frame | |||
) | [static] |
static void do_streamcopy | ( | InputStream * | ist, | |
OutputStream * | ost, | |||
const AVPacket * | pkt | |||
) | [static] |
static void do_subtitle_out | ( | AVFormatContext * | s, | |
OutputStream * | ost, | |||
InputStream * | ist, | |||
AVSubtitle * | sub, | |||
int64_t | pts | |||
) | [static] |
static void do_video_out | ( | AVFormatContext * | s, | |
OutputStream * | ost, | |||
InputStream * | ist, | |||
AVFrame * | in_picture, | |||
int * | frame_size, | |||
float | quality | |||
) | [static] |
static void do_video_resample | ( | OutputStream * | ost, | |
InputStream * | ist, | |||
AVFrame * | in_picture, | |||
AVFrame ** | out_picture | |||
) | [static] |
static void do_video_stats | ( | AVFormatContext * | os, | |
OutputStream * | ost, | |||
int | frame_size | |||
) | [static] |
static void dump_attachment | ( | AVStream * | st, | |
const char * | filename | |||
) | [static] |
void av_noreturn exit_program | ( | int | ret | ) |
static AVCodec* find_codec_or_die | ( | const char * | name, | |
enum AVMediaType | type, | |||
int | encoder | |||
) | [static] |
static void flush_encoders | ( | OutputStream * | ost_table, | |
int | nb_ostreams | |||
) | [static] |
static void generate_silence | ( | uint8_t * | buf, | |
enum AVSampleFormat | sample_fmt, | |||
size_t | size | |||
) | [static] |
static uint8_t* get_line | ( | AVIOContext * | s | ) | [static] |
static int get_preset_file_2 | ( | const char * | preset_name, | |
const char * | codec_name, | |||
AVIOContext ** | s | |||
) | [static] |
static double get_sync_ipts | ( | const OutputStream * | ost | ) | [static] |
static int init_input_stream | ( | int | ist_index, | |
OutputStream * | output_streams, | |||
int | nb_output_streams, | |||
char * | error, | |||
int | error_len | |||
) | [static] |
static void log_callback_null | ( | void * | ptr, | |
int | level, | |||
const char * | fmt, | |||
va_list | vl | |||
) | [static] |
static OutputStream* new_attachment_stream | ( | OptionsContext * | o, | |
AVFormatContext * | oc | |||
) | [static] |
static OutputStream* new_audio_stream | ( | OptionsContext * | o, | |
AVFormatContext * | oc | |||
) | [static] |
static OutputStream* new_data_stream | ( | OptionsContext * | o, | |
AVFormatContext * | oc | |||
) | [static] |
static OutputStream* new_output_stream | ( | OptionsContext * | o, | |
AVFormatContext * | oc, | |||
enum AVMediaType | type | |||
) | [static] |
static OutputStream* new_subtitle_stream | ( | OptionsContext * | o, | |
AVFormatContext * | oc | |||
) | [static] |
static OutputStream* new_video_stream | ( | OptionsContext * | o, | |
AVFormatContext * | oc | |||
) | [static] |
static int opt_attach | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_audio_codec | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_audio_frames | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_audio_qscale | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_bitrate | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_data_codec | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_data_frames | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_frame_crop | ( | const char * | opt, | |
const char * | arg | |||
) | [static] |
static int opt_help | ( | const char * | opt, | |
const char * | arg | |||
) | [static] |
static int opt_input_file | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | filename | |||
) | [static] |
static int opt_map | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_map_channel | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_map_meta_data | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_map_metadata | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_old2new | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static void opt_output_file | ( | void * | optctx, | |
const char * | filename | |||
) | [static] |
static int opt_pad | ( | const char * | opt, | |
const char * | arg | |||
) | [static] |
static int opt_pass | ( | const char * | opt, | |
const char * | arg | |||
) | [static] |
static int opt_passlogfile | ( | const char * | opt, | |
const char * | arg | |||
) | [static] |
static int opt_preset | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_recording_timestamp | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_streamid | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_subtitle_codec | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_target | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_video_channel | ( | const char * | opt, | |
const char * | arg | |||
) | [static] |
static int opt_video_codec | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_video_filters | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_video_frames | ( | OptionsContext * | o, | |
const char * | opt, | |||
const char * | arg | |||
) | [static] |
static int opt_video_standard | ( | const char * | opt, | |
const char * | arg | |||
) | [static] |
static int opt_vstats | ( | const char * | opt, | |
const char * | arg | |||
) | [static] |
static int opt_vstats_file | ( | const char * | opt, | |
const char * | arg | |||
) | [static] |
static int output_packet | ( | InputStream * | ist, | |
OutputStream * | ost_table, | |||
int | nb_ostreams, | |||
const AVPacket * | pkt | |||
) | [static] |
static void parse_forced_key_frames | ( | char * | kf, | |
OutputStream * | ost | |||
) | [static] |
static double parse_frame_aspect_ratio | ( | const char * | arg | ) | [static] |
static void parse_matrix_coeffs | ( | uint16_t * | dest, | |
const char * | str | |||
) | [static] |
static void parse_meta_type | ( | char * | arg, | |
char * | type, | |||
int * | index | |||
) | [static] |
static void pre_process_video_frame | ( | InputStream * | ist, | |
AVPicture * | picture, | |||
void ** | bufp | |||
) | [static] |
static void print_report | ( | OutputFile * | output_files, | |
OutputStream * | ost_table, | |||
int | nb_ostreams, | |||
int | is_last_report, | |||
int64_t | timer_start, | |||
int64_t | cur_time | |||
) | [static] |
static void print_sdp | ( | OutputFile * | output_files, | |
int | n | |||
) | [static] |
static void rate_emu_sleep | ( | InputStream * | ist | ) | [static] |
static int read_ffserver_streams | ( | OptionsContext * | o, | |
AVFormatContext * | s, | |||
const char * | filename | |||
) | [static] |
static void reset_options | ( | OptionsContext * | o, | |
int | is_input | |||
) | [static] |
static int transcode | ( | OutputFile * | output_files, | |
int | nb_output_files, | |||
InputFile * | input_files, | |||
int | nb_input_files | |||
) | [static] |
static int transcode_audio | ( | InputStream * | ist, | |
AVPacket * | pkt, | |||
int * | got_output | |||
) | [static] |
static int transcode_init | ( | OutputFile * | output_files, | |
int | nb_output_files, | |||
InputFile * | input_files, | |||
int | nb_input_files | |||
) | [static] |
static int transcode_subtitles | ( | InputStream * | ist, | |
AVPacket * | pkt, | |||
int * | got_output | |||
) | [static] |
static int transcode_video | ( | InputStream * | ist, | |
AVPacket * | pkt, | |||
int * | got_output, | |||
int64_t * | pkt_pts, | |||
int64_t * | pkt_dts | |||
) | [static] |
static void write_frame | ( | AVFormatContext * | s, | |
AVPacket * | pkt, | |||
AVCodecContext * | avctx, | |||
AVBitStreamFilterContext * | bsfc | |||
) | [static] |
unsigned int allocated_audio_buf_size [static] |
unsigned int allocated_audio_out_size [static] |
const char* audio_codec_name = NULL [static] |
Definition at line 130 of file ffmpeg.c.
Referenced by compute_status(), opt_audio_codec(), opt_codec(), opt_input_file(), opt_preset(), and stream_component_open().
float audio_drift_threshold = 0.1 [static] |
int64_t audio_size = 0 [static] |
int audio_sync_method = 0 [static] |
int audio_volume = 256 [static] |
uint8_t* bit_buffer = NULL [static] |
int bit_buffer_size = 1024*256 [static] |
int do_benchmark = 0 [static] |
int do_deinterlace = 0 [static] |
int do_hex_dump = 0 [static] |
int do_pkt_dump = 0 [static] |
int do_psnr = 0 [static] |
float dts_delta_threshold = 10 [static] |
int exit_on_error = 0 [static] |
int64_t extra_size = 0 [static] |
int file_overwrite = 0 [static] |
int frame_bits_per_raw_sample = 0 [static] |
InputFile* input_files = NULL [static] |
InputStream* input_streams = NULL [static] |
int input_sync [static] |
const AVIOInterruptCB int_cb = { decode_interrupt_cb, NULL } [static] |
int intra_dc_precision = 8 [static] |
int intra_only = 0 [static] |
int loop_input = 0 [static] |
int loop_output = AVFMT_NOOUTPUTLOOP [static] |
int nb_frames_drop = 0 [static] |
int nb_frames_dup = 0 [static] |
int nb_input_files = 0 [static] |
int nb_input_streams = 0 [static] |
int nb_output_files = 0 [static] |
int nb_output_streams = 0 [static] |
int no_file_overwrite = 0 [static] |
int opt_shortest = 0 [static] |
OutputFile* output_files = NULL [static] |
OutputStream* output_streams = NULL [static] |
const char* pass_logfilename_prefix [static] |
int print_stats = 1 [static] |
const int program_birth_year = 2000 |
program birth year, defined by the program for show_banner()
const char program_name[] = "ffmpeg" |
volatile int received_nb_signals = 0 [static] |
Definition at line 155 of file ffmpeg.c.
Referenced by decode_interrupt_cb(), sigterm_handler(), and transcode().
volatile int received_sigterm = 0 [static] |
int run_as_daemon = 0 [static] |
int same_quant = 0 [static] |
const char* subtitle_codec_name = NULL [static] |
Definition at line 131 of file ffmpeg.c.
Referenced by opt_codec(), opt_input_file(), opt_output_file(), opt_preset(), opt_subtitle_codec(), and stream_component_open().
int using_stdin = 0 [static] |
const char* video_codec_name = NULL [static] |
Definition at line 129 of file ffmpeg.c.
Referenced by compute_status(), opt_codec(), opt_input_file(), opt_preset(), opt_video_codec(), and stream_component_open().
int video_discard = 0 [static] |
int64_t video_size = 0 [static] |
int video_sync_method = -1 [static] |
FILE* vstats_file [static] |
char* vstats_filename [static] |