#include <limits.h>#include "avformat.h"#include "framehook.h"#include "dsputil.h"#include <unistd.h>#include <fcntl.h>#include <sys/ioctl.h>#include <sys/time.h>#include <termios.h>#include <sys/resource.h>#include <signal.h>#include <time.h>#include "cmdutils.h"#include <assert.h>

Go to the source code of this file.
Data Structures | |
| struct | AVStreamMap |
| struct | AVMetaDataMap |
| struct | AVOutputStream |
| struct | AVInputStream |
| struct | AVInputFile |
Defines | |
| #define | HAVE_AV_CONFIG_H |
| #define | MAX_FILES 20 |
| #define | DEFAULT_PASS_LOGFILENAME "ffmpeg2pass" |
| #define | MAX_AUDIO_PACKET_SIZE (128 * 1024) |
| #define | AV_DELAY_MAX 0.100 |
| #define | SCALEBITS 10 |
| #define | ONE_HALF (1 << (SCALEBITS - 1)) |
| #define | FIX(x) ((int) ((x) * (1<<SCALEBITS) + 0.5)) |
| #define | RGB_TO_Y(r, g, b) |
| #define | RGB_TO_U(r1, g1, b1, shift) |
| #define | RGB_TO_V(r1, g1, b1, shift) |
Functions | |
| static void | show_help (void) |
| static void | show_license (void) |
| 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) |
| static int | read_ffserver_streams (AVFormatContext *s, const char *filename) |
| static double | get_sync_ipts (const AVOutputStream *ost) |
| static void | do_audio_out (AVFormatContext *s, AVOutputStream *ost, AVInputStream *ist, unsigned char *buf, int size) |
| static void | pre_process_video_frame (AVInputStream *ist, AVPicture *picture, void **bufp) |
| static void | fill_pad_region (AVPicture *img, int height, int width, int padtop, int padbottom, int padleft, int padright, int *color) |
| static void | do_subtitle_out (AVFormatContext *s, AVOutputStream *ost, AVInputStream *ist, AVSubtitle *sub, int64_t pts) |
| static void | do_video_out (AVFormatContext *s, AVOutputStream *ost, AVInputStream *ist, AVFrame *in_picture, int *frame_size) |
| static double | psnr (double d) |
| static void | do_video_stats (AVFormatContext *os, AVOutputStream *ost, int frame_size) |
| static void | print_report (AVFormatContext **output_files, AVOutputStream **ost_table, int nb_ostreams, int is_last_report) |
| static int | output_packet (AVInputStream *ist, int ist_index, AVOutputStream **ost_table, int nb_ostreams, const AVPacket *pkt) |
| static int | av_encode (AVFormatContext **output_files, int nb_output_files, AVFormatContext **input_files, int nb_input_files, AVStreamMap *stream_maps, int nb_stream_maps) |
| static void | opt_image_format (const char *arg) |
| static void | opt_format (const char *arg) |
| static void | opt_video_bitrate (const char *arg) |
| static void | opt_video_bitrate_tolerance (const char *arg) |
| static void | opt_video_bitrate_max (const char *arg) |
| static void | opt_video_bitrate_min (const char *arg) |
| static void | opt_video_buffer_size (const char *arg) |
| static void | opt_video_rc_eq (char *arg) |
| static void | opt_video_rc_override_string (char *arg) |
| static void | opt_workaround_bugs (const char *arg) |
| static void | opt_dct_algo (const char *arg) |
| static void | opt_idct_algo (const char *arg) |
| static void | opt_me_threshold (const char *arg) |
| static void | opt_mb_threshold (const char *arg) |
| static void | opt_error_resilience (const char *arg) |
| static void | opt_error_concealment (const char *arg) |
| static void | opt_debug (const char *arg) |
| static void | opt_vismv (const char *arg) |
| static void | opt_verbose (const char *arg) |
| static void | opt_frame_rate (const char *arg) |
| static void | opt_frame_crop_top (const char *arg) |
| static void | opt_frame_crop_bottom (const char *arg) |
| static void | opt_frame_crop_left (const char *arg) |
| static void | opt_frame_crop_right (const char *arg) |
| static void | opt_frame_size (const char *arg) |
| static void | opt_pad_color (const char *arg) |
| static void | opt_frame_pad_top (const char *arg) |
| static void | opt_frame_pad_bottom (const char *arg) |
| static void | opt_frame_pad_left (const char *arg) |
| static void | opt_frame_pad_right (const char *arg) |
| static void | opt_frame_pix_fmt (const char *arg) |
| static void | opt_frame_aspect_ratio (const char *arg) |
| static void | opt_gop_size (const char *arg) |
| static void | opt_b_frames (const char *arg) |
| static void | opt_mb_decision (const char *arg) |
| static void | opt_mb_cmp (const char *arg) |
| static void | opt_ildct_cmp (const char *arg) |
| static void | opt_sub_cmp (const char *arg) |
| static void | opt_cmp (const char *arg) |
| static void | opt_pre_cmp (const char *arg) |
| static void | opt_pre_me (const char *arg) |
| static void | opt_lumi_mask (const char *arg) |
| static void | opt_dark_mask (const char *arg) |
| static void | opt_scplx_mask (const char *arg) |
| static void | opt_tcplx_mask (const char *arg) |
| static void | opt_p_mask (const char *arg) |
| static void | opt_qscale (const char *arg) |
| static void | opt_qsquish (const char *arg) |
| static void | opt_lelim (const char *arg) |
| static void | opt_celim (const char *arg) |
| static void | opt_lmax (const char *arg) |
| static void | opt_lmin (const char *arg) |
| static void | opt_qmin (const char *arg) |
| static void | opt_qmax (const char *arg) |
| static void | opt_mb_lmin (const char *arg) |
| static void | opt_mb_lmax (const char *arg) |
| static void | opt_qdiff (const char *arg) |
| static void | opt_qblur (const char *arg) |
| static void | opt_qcomp (const char *arg) |
| static void | opt_rc_initial_cplx (const char *arg) |
| static void | opt_b_qfactor (const char *arg) |
| static void | opt_i_qfactor (const char *arg) |
| static void | opt_b_qoffset (const char *arg) |
| static void | opt_i_qoffset (const char *arg) |
| static void | opt_ibias (const char *arg) |
| static void | opt_pbias (const char *arg) |
| static void | opt_packet_size (const char *arg) |
| static void | opt_error_rate (const char *arg) |
| static void | opt_strict (const char *arg) |
| static void | opt_top_field_first (const char *arg) |
| static void | opt_noise_reduction (const char *arg) |
| static void | opt_qns (const char *arg) |
| static void | opt_sc_threshold (const char *arg) |
| static void | opt_me_range (const char *arg) |
| static void | opt_thread_count (const char *arg) |
| static void | opt_audio_bitrate (const char *arg) |
| static void | opt_audio_rate (const char *arg) |
| static void | opt_audio_channels (const char *arg) |
| static void | opt_video_device (const char *arg) |
| static void | opt_grab_device (const char *arg) |
| static void | opt_video_channel (const char *arg) |
| static void | opt_video_standard (const char *arg) |
| static void | opt_audio_device (const char *arg) |
| static void | opt_codec (int *pstream_copy, int *pcodec_id, int codec_type, const char *arg) |
| static void | opt_audio_codec (const char *arg) |
| static void | opt_audio_tag (const char *arg) |
| static void | opt_video_tag (const char *arg) |
| static void | add_frame_hooker (const char *arg) |
| static void | opt_motion_estimation (const char *arg) |
| static void | opt_video_codec (const char *arg) |
| static void | opt_subtitle_codec (const char *arg) |
| static void | opt_map (const char *arg) |
| static void | opt_map_meta_data (const char *arg) |
| static void | opt_recording_time (const char *arg) |
| static void | opt_start_time (const char *arg) |
| static void | opt_rec_timestamp (const char *arg) |
| static void | opt_input_ts_offset (const char *arg) |
| static void | opt_input_file (const char *filename) |
| static void | opt_grab (const char *arg) |
| static void | check_audio_video_inputs (int *has_video_ptr, int *has_audio_ptr) |
| static void | new_video_stream (AVFormatContext *oc) |
| static void | new_audio_stream (AVFormatContext *oc) |
| static void | opt_new_subtitle_stream (void) |
| static void | opt_new_audio_stream (void) |
| static void | opt_new_video_stream (void) |
| static void | opt_output_file (const char *filename) |
| static void | prepare_grab (void) |
| static void | opt_pass (const char *pass_str) |
| static int64_t | getutime (void) |
| static void | opt_bitexact (void) |
| static void | show_formats (void) |
| void | parse_matrix_coeffs (uint16_t *dest, const char *str) |
| void | opt_inter_matrix (const char *arg) |
| void | opt_intra_matrix (const char *arg) |
| static void | opt_target (const char *arg) |
| static void | show_version (void) |
| static void | show_banner (void) |
| void | parse_arg_file (const char *filename) |
| int | main (int argc, char **argv) |
Variables | |
| const OptionDef | options [] |
| static AVFormatContext * | input_files [MAX_FILES] |
| static int64_t | input_files_ts_offset [MAX_FILES] |
| static int | nb_input_files = 0 |
| static AVFormatContext * | output_files [MAX_FILES] |
| static int | nb_output_files = 0 |
| static AVStreamMap | stream_maps [MAX_FILES] |
| static int | nb_stream_maps |
| static AVMetaDataMap | meta_data_maps [MAX_FILES] |
| static int | nb_meta_data_maps |
| static AVInputFormat * | file_iformat |
| static AVOutputFormat * | file_oformat |
| static AVImageFormat * | image_format |
| static int | frame_width = 0 |
| static int | frame_height = 0 |
| static float | frame_aspect_ratio = 0 |
| static enum PixelFormat | frame_pix_fmt = PIX_FMT_NONE |
| static int | frame_padtop = 0 |
| static int | frame_padbottom = 0 |
| static int | frame_padleft = 0 |
| static int | frame_padright = 0 |
| static int | padcolor [3] = {16,128,128} |
| static int | frame_topBand = 0 |
| static int | frame_bottomBand = 0 |
| static int | frame_leftBand = 0 |
| static int | frame_rightBand = 0 |
| static int | max_frames [4] = {INT_MAX, INT_MAX, INT_MAX, INT_MAX} |
| static int | frame_rate = 25 |
| static int | frame_rate_base = 1 |
| static int | video_bit_rate = 200*1000 |
| static int | video_bit_rate_tolerance = 4000*1000 |
| static float | video_qscale = 0 |
| static int | video_qmin = 2 |
| static int | video_qmax = 31 |
| static int | video_lmin = 2*FF_QP2LAMBDA |
| static int | video_lmax = 31*FF_QP2LAMBDA |
| static int | video_mb_lmin = 2*FF_QP2LAMBDA |
| static int | video_mb_lmax = 31*FF_QP2LAMBDA |
| static int | video_qdiff = 3 |
| static int | video_lelim = 0 |
| static int | video_celim = 0 |
| static float | video_qblur = 0.5 |
| static float | video_qsquish = 0.0 |
| static float | video_qcomp = 0.5 |
| static uint16_t * | intra_matrix = NULL |
| static uint16_t * | inter_matrix = NULL |
| static char * | video_rc_override_string = NULL |
| static char * | video_rc_eq = "tex^qComp" |
| static int | video_rc_buffer_size = 0 |
| static float | video_rc_buffer_aggressivity = 1.0 |
| static int | video_rc_max_rate = 0 |
| static int | video_rc_min_rate = 0 |
| static float | video_rc_initial_cplx = 0 |
| static float | video_b_qfactor = 1.25 |
| static float | video_b_qoffset = 1.25 |
| static float | video_i_qfactor = -0.8 |
| static float | video_i_qoffset = 0.0 |
| static int | video_intra_quant_bias = FF_DEFAULT_QUANT_BIAS |
| static int | video_inter_quant_bias = FF_DEFAULT_QUANT_BIAS |
| static int | me_method = ME_EPZS |
| static int | video_disable = 0 |
| static int | video_discard = 0 |
| static int | video_codec_id = CODEC_ID_NONE |
| static int | video_codec_tag = 0 |
| static int | same_quality = 0 |
| static int | b_frames = 0 |
| static int | b_strategy = 0 |
| static int | mb_decision = FF_MB_DECISION_SIMPLE |
| static int | ildct_cmp = FF_CMP_VSAD |
| static int | mb_cmp = FF_CMP_SAD |
| static int | sub_cmp = FF_CMP_SAD |
| static int | cmp = FF_CMP_SAD |
| static int | pre_cmp = FF_CMP_SAD |
| static int | pre_me = 0 |
| static float | lumi_mask = 0 |
| static float | dark_mask = 0 |
| static float | scplx_mask = 0 |
| static float | tcplx_mask = 0 |
| static float | p_mask = 0 |
| static int | use_4mv = 0 |
| static int | use_obmc = 0 |
| static int | use_loop = 0 |
| static int | use_aic = 0 |
| static int | use_aiv = 0 |
| static int | use_umv = 0 |
| static int | use_ss = 0 |
| static int | use_alt_scan = 0 |
| static int | use_trell = 0 |
| static int | use_scan_offset = 0 |
| static int | use_qpel = 0 |
| static int | use_qprd = 0 |
| static int | use_cbprd = 0 |
| static int | use_mv0 = 0 |
| static int | do_normalize_aqp = 0 |
| static int | qns = 0 |
| static int | closed_gop = 0 |
| static int | strict_gop = 0 |
| static int | no_output = 0 |
| static int | do_deinterlace = 0 |
| static int | do_interlace_dct = 0 |
| static int | do_interlace_me = 0 |
| static int | workaround_bugs = FF_BUG_AUTODETECT |
| static int | error_resilience = FF_ER_CAREFUL |
| static int | error_concealment = 3 |
| static int | dct_algo = 0 |
| static int | idct_algo = 0 |
| static int | use_part = 0 |
| static int | packet_size = 0 |
| static int | error_rate = 0 |
| static int | strict = 0 |
| static int | top_field_first = -1 |
| static int | noise_reduction = 0 |
| static int | sc_threshold = 0 |
| static int | debug = 0 |
| static int | debug_mv = 0 |
| static int | me_threshold = 0 |
| static int | mb_threshold = 0 |
| static int | intra_dc_precision = 8 |
| static int | coder = 0 |
| static int | context = 0 |
| static int | predictor = 0 |
| static int | video_profile = FF_PROFILE_UNKNOWN |
| static int | video_level = FF_LEVEL_UNKNOWN |
| static int | nsse_weight = 8 |
| static int | subpel_quality = 8 |
| static int | me_penalty_compensation = 256 |
| static int | lowres = 0 |
| static int | frame_skip_threshold = 0 |
| static int | frame_skip_factor = 0 |
| static int | frame_skip_exp = 0 |
| static int | frame_skip_cmp = FF_CMP_DCTMAX |
| int | loop_input |
| static int | loop_output = AVFMT_NOOUTPUTLOOP |
| static int | gray_only = 0 |
| static int | gop_size = 12 |
| static int | intra_only = 0 |
| static int | audio_sample_rate = 44100 |
| static int | audio_bit_rate = 64000 |
| static int | audio_disable = 0 |
| static int | audio_channels = 1 |
| static int | audio_codec_id = CODEC_ID_NONE |
| static int | audio_codec_tag = 0 |
| static char * | audio_language = NULL |
| static int | subtitle_codec_id = CODEC_ID_NONE |
| static char * | subtitle_language = NULL |
| static int | mux_rate = 0 |
| static int | mux_packet_size = 0 |
| static float | mux_preload = 0.5 |
| static float | mux_max_delay = 0.7 |
| static int64_t | recording_time = 0 |
| static int64_t | start_time = 0 |
| static int64_t | rec_timestamp = 0 |
| static int64_t | input_ts_offset = 0 |
| static int | file_overwrite = 0 |
| static char * | str_title = NULL |
| static char * | str_author = NULL |
| static char * | str_copyright = NULL |
| static char * | str_comment = NULL |
| 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_vstats = 0 |
| static int | do_pass = 0 |
| static int | bitexact = 0 |
| static char * | pass_logfilename = NULL |
| static int | audio_stream_copy = 0 |
| static int | video_stream_copy = 0 |
| static int | subtitle_stream_copy = 0 |
| static int | video_sync_method = 1 |
| static int | audio_sync_method = 0 |
| static int | copy_ts = 0 |
| static int | opt_shortest = 0 |
| static int | video_global_header = 0 |
| static int | rate_emu = 0 |
| static char * | video_grab_format = "video4linux" |
| static char * | video_device = NULL |
| static char * | grab_device = NULL |
| static int | video_channel = 0 |
| static char * | video_standard = "ntsc" |
| static char * | audio_grab_format = "audio_device" |
| static char * | audio_device = NULL |
| static int | audio_volume = 256 |
| static int | using_stdin = 0 |
| static int | using_vhook = 0 |
| static int | verbose = 1 |
| static int | thread_count = 1 |
| static int | q_pressed = 0 |
| static int | me_range = 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 int | limit_filesize = 0 |
| static int | pgmyuv_compatibility_hack = 0 |
| static struct termios | oldtty |
| static volatile sig_atomic_t | received_sigterm = 0 |
| static int | bit_buffer_size = 1024*256 |
| static uint8_t * | bit_buffer = NULL |
| const char * | motion_str [] |
| int | ffm_nopts |
| #define DEFAULT_PASS_LOGFILENAME "ffmpeg2pass" |
| #define FIX | ( | x | ) | ((int) ((x) * (1<<SCALEBITS) + 0.5)) |
Definition at line 2416 of file ffmpeg.c.
Referenced by C_JPEG_TO_CCIR(), idct32(), and quicktime_rev_dct().
| #define MAX_AUDIO_PACKET_SIZE (128 * 1024) |
| #define ONE_HALF (1 << (SCALEBITS - 1)) |
| #define RGB_TO_U | ( | r1, | |||
| g1, | |||||
| b1, | |||||
| shift | ) |
| #define RGB_TO_V | ( | r1, | |||
| g1, | |||||
| b1, | |||||
| shift | ) |
| #define SCALEBITS 10 |
| static void add_frame_hooker | ( | const char * | arg | ) | [static] |
Definition at line 2880 of file ffmpeg.c.
References av_strdup(), fprintf, NULL, and using_vhook.

| static int av_encode | ( | AVFormatContext ** | output_files, | |
| int | nb_output_files, | |||
| AVFormatContext ** | input_files, | |||
| int | nb_input_files, | |||
| AVStreamMap * | stream_maps, | |||
| int | nb_stream_maps | |||
| ) | [static] |
Definition at line 1499 of file ffmpeg.c.
References ABS, AVOutputStream::audio_resample, audio_resample_close(), audio_resample_init(), audio_sync_method, av_free(), av_freep(), av_malloc(), av_mallocz(), AV_NOPTS_VALUE, av_q2d(), av_rescale_q(), AV_TIME_BASE, AV_TIME_BASE_Q, avcodec_close(), avcodec_find_decoder(), avcodec_find_encoder(), avcodec_get_frame_defaults(), avcodec_open(), avpicture_alloc(), bit_buffer, bit_buffer_size, AVCodecContext::bit_rate, AVCodecContext::block_align, AVInputFile::buffer_size_max, AVCodecContext::channels, CODEC_FLAG_PASS1, CODEC_FLAG_PASS2, AVCodecContext::codec_id, CODEC_ID_AC3, CODEC_ID_DTS, AVCodecContext::codec_tag, AVCodecContext::codec_type, CODEC_TYPE_AUDIO, CODEC_TYPE_SUBTITLE, CODEC_TYPE_VIDEO, copy_ts, decode_interrupt_cb(), AVInputStream::decoding_needed, DEFAULT_PASS_LOGFILENAME, AVInputStream::discard, do_hex_dump, do_pkt_dump, EINVAL, AVOutputStream::encoding_needed, ENOMEM, AVInputFile::eof_reached, extra_size, AVCodecContext::extradata, AVCodecContext::extradata_size, fclose(), AVOutputStream::fifo, AVOutputStream::file_index, AVStreamMap::file_index, AVInputStream::file_index, AVCodecContext::flags, fopen(), fprintf, AVInputStream::frame, frame_bottomBand, frame_leftBand, AVOutputStream::frame_number, frame_padbottom, frame_padleft, frame_padright, frame_padtop, frame_rightBand, AVCodecContext::frame_size, frame_topBand, fread(), fseek(), ftell(), AVCodecContext::has_b_frames, AVCodecContext::height, img_resample_close(), AVOutputStream::img_resample_ctx, img_resample_full_init(), AVMetaDataMap::in_file, AVOutputStream::index, AVInputStream::index, input_files_ts_offset, input_sync, AVInputStream::is_start, AVInputFile::ist_index, AVOutputStream::leftBand, limit_filesize, LL, AVOutputStream::logfile, logfilename, MAX_AUDIO_PACKET_SIZE, max_frames, nb_meta_data_maps, AVInputFile::nb_streams, AVInputStream::next_pts, NULL, opt_shortest, AVMetaDataMap::out_file, output_packet(), AVOutputStream::padbottom, AVOutputStream::padleft, AVOutputStream::padright, AVOutputStream::padtop, pass_logfilename, AVOutputStream::pict_tmp, PIX_FMT_YUV420P, print_report(), AVInputStream::pts, q_pressed, read_key(), received_sigterm, recording_time, AVOutputStream::resample, AVCodecContext::sample_rate, AVOutputStream::source_index, AVOutputStream::st, AVInputStream::st, AVInputStream::start, AVCodecContext::stats_in, AVStreamMap::stream_index, AVStreamMap::sync_file_index, AVOutputStream::sync_ist, AVOutputStream::sync_opts, AVStreamMap::sync_stream_index, term_exit(), term_init(), AVCodecContext::time_base, AVOutputStream::topBand, using_stdin, verbose, AVOutputStream::video_crop, AVOutputStream::video_pad, AVOutputStream::video_resample, and AVCodecContext::width.
Referenced by main().

| static void check_audio_video_inputs | ( | int * | has_video_ptr, | |
| int * | has_audio_ptr | |||
| ) | [static] |
Definition at line 3147 of file ffmpeg.c.
References AVCodecContext::codec_type, CODEC_TYPE_AUDIO, CODEC_TYPE_DATA, CODEC_TYPE_SUBTITLE, CODEC_TYPE_VIDEO, input_files, and nb_input_files.
Referenced by opt_output_file().
| static int decode_interrupt_cb | ( | void | ) | [static] |
Definition at line 429 of file ffmpeg.c.
References q_pressed, and read_key().
Referenced by av_encode(), and decode_thread().

| static void do_audio_out | ( | AVFormatContext * | s, | |
| AVOutputStream * | ost, | |||
| AVInputStream * | ist, | |||
| unsigned char * | buf, | |||
| int | size | |||
| ) | [static] |
Definition at line 485 of file ffmpeg.c.
References audio_resample(), AVOutputStream::audio_resample, audio_size, audio_sync_method, av_malloc(), av_realloc(), av_resample_compensate(), av_rescale_q(), avcodec_encode_audio(), AVCodecContext::channels, AVCodecContext::codec, CODEC_ID_PCM_S16BE, CODEC_ID_PCM_S16LE, CODEC_ID_PCM_U16BE, CODEC_ID_PCM_U16LE, AVCodecContext::coded_frame, comp, AVOutputStream::fifo, fprintf, AVCodecContext::frame_size, get_sync_ipts(), AVCodec::id, AVOutputStream::index, AVInputStream::is_start, lrintf(), MAX_AUDIO_PACKET_SIZE, memcpy, NULL, AVOutputStream::resample, AVCodecContext::sample_rate, AVInputStream::st, AVOutputStream::st, AVOutputStream::sync_opts, AVCodecContext::time_base, and verbose.
Referenced by output_packet().

| static void do_subtitle_out | ( | AVFormatContext * | s, | |
| AVOutputStream * | ost, | |||
| AVInputStream * | ist, | |||
| AVSubtitle * | sub, | |||
| int64_t | pts | |||
| ) | [static] |
Definition at line 707 of file ffmpeg.c.
References av_malloc(), AV_NOPTS_VALUE, av_rescale_q(), AV_TIME_BASE_Q, avcodec_encode_subtitle(), AVCodecContext::codec_id, CODEC_ID_DVB_SUBTITLE, AVSubtitle::end_display_time, AVInputStream::file_index, fprintf, AVOutputStream::index, input_files_ts_offset, nb, NULL, AVInputStream::st, AVOutputStream::st, and AVSubtitle::start_display_time.
Referenced by output_packet().

| static void do_video_out | ( | AVFormatContext * | s, | |
| AVOutputStream * | ost, | |||
| AVInputStream * | ist, | |||
| AVFrame * | in_picture, | |||
| int * | frame_size | |||
| ) | [static] |
Definition at line 762 of file ffmpeg.c.
References av_free(), av_malloc(), av_q2d(), av_rescale_q(), avcodec_encode_video(), avcodec_get_frame_defaults(), avpicture_fill(), avpicture_get_size(), bit_buffer, bit_buffer_size, buf, CODEC_TYPE_VIDEO, AVCodecContext::coded_frame, do_interlace_dct, do_interlace_me, fill_pad_region(), fprintf, AVOutputStream::frame_number, get_sync_ipts(), AVCodecContext::height, img_convert(), img_resample(), AVOutputStream::img_resample_ctx, AVOutputStream::index, AVOutputStream::leftBand, AVOutputStream::logfile, lrintf(), max_frames, me_threshold, memcpy, nb_frames_drop, nb_frames_dup, NULL, AVOutputStream::padbottom, padcolor, AVOutputStream::padleft, AVOutputStream::padright, AVOutputStream::padtop, AVOutputStream::pict_tmp, AVCodecContext::pix_fmt, PIX_FMT_YUV420P, same_quality, shift(), AVInputStream::st, AVOutputStream::st, AVCodecContext::stats_out, AVOutputStream::sync_opts, AVCodecContext::time_base, top_field_first, AVOutputStream::topBand, verbose, AVOutputStream::video_crop, AVOutputStream::video_pad, AVOutputStream::video_resample, video_sync_method, and AVCodecContext::width.
Referenced by output_packet().

| static void do_video_stats | ( | AVFormatContext * | os, | |
| AVOutputStream * | ost, | |||
| int | frame_size | |||
| ) | [static] |
Definition at line 1026 of file ffmpeg.c.
References av_get_pict_type_char(), av_q2d(), bitrate, CODEC_FLAG_PSNR, AVCodecContext::codec_type, CODEC_TYPE_VIDEO, AVCodecContext::coded_frame, FF_QP2LAMBDA, AVCodecContext::flags, fopen(), fprintf, AVOutputStream::frame_number, AVCodecContext::height, NULL, psnr(), AVOutputStream::st, AVOutputStream::sync_opts, AVCodecContext::time_base, video_size, and AVCodecContext::width.
Referenced by output_packet().

| static void fill_pad_region | ( | AVPicture * | img, | |
| int | height, | |||
| int | width, | |||
| int | padtop, | |||
| int | padbottom, | |||
| int | padleft, | |||
| int | padright, | |||
| int * | color | |||
| ) | [static] |
Definition at line 676 of file ffmpeg.c.
References AVPicture::data, AVPicture::linesize, and shift().
Referenced by do_video_out().

| static double get_sync_ipts | ( | const AVOutputStream * | ost | ) | [static] |
Definition at line 477 of file ffmpeg.c.
References AV_TIME_BASE, AVInputStream::file_index, input_files_ts_offset, AVInputStream::pts, start_time, and AVOutputStream::sync_ist.
Referenced by do_audio_out(), and do_video_out().
| static int64_t getutime | ( | void | ) | [static] |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 4464 of file ffmpeg.c.
References av_encode(), av_free(), av_free_static(), do_benchmark, fprintf, getutime(), input_files, input_sync, inter_matrix, intra_matrix, nb_input_files, nb_output_files, nb_stream_maps, output_files, parse_options(), prepare_grab(), received_sigterm, s, show_banner(), and show_help().

| static void new_audio_stream | ( | AVFormatContext * | oc | ) | [static] |
Definition at line 3463 of file ffmpeg.c.
References audio_bit_rate, audio_channels, audio_codec_id, audio_codec_tag, audio_disable, audio_language, audio_sample_rate, audio_stream_copy, av_free(), avcodec_thread_init(), AVCodecContext::bit_rate, AVCodecContext::channels, AVCodecContext::codec, CODEC_FLAG_GLOBAL_HEADER, AVCodecContext::codec_id, CODEC_ID_AC3, CODEC_ID_DTS, CODEC_ID_NONE, AVCodecContext::codec_tag, AVCodecContext::codec_type, CODEC_TYPE_AUDIO, AVCodecContext::flags, fprintf, NULL, AVCodecContext::sample_rate, strict, AVCodecContext::strict_std_compliance, AVCodecContext::thread_count, and thread_count.
Referenced by opt_new_audio_stream(), and opt_output_file().

| static void new_video_stream | ( | AVFormatContext * | oc | ) | [static] |
Definition at line 3177 of file ffmpeg.c.
References av_cmp_q(), av_d2q(), av_realloc(), av_sub_q(), avcodec_find_encoder(), avcodec_thread_init(), AVCodecContext::b_frame_strategy, b_frames, AVCodecContext::b_quant_factor, AVCodecContext::b_quant_offset, b_strategy, AVCodecContext::bit_rate, AVCodecContext::bit_rate_tolerance, bitexact, AVCodecContext::chroma_elim_threshold, closed_gop, cmp, AVCodecContext::codec, CODEC_FLAG2_LOCAL_HEADER, CODEC_FLAG2_NO_OUTPUT, CODEC_FLAG2_STRICT_GOP, CODEC_FLAG_4MV, CODEC_FLAG_ALT_SCAN, CODEC_FLAG_BITEXACT, CODEC_FLAG_CBP_RD, CODEC_FLAG_CLOSED_GOP, CODEC_FLAG_GLOBAL_HEADER, CODEC_FLAG_GRAY, CODEC_FLAG_H263P_AIC, CODEC_FLAG_H263P_AIV, CODEC_FLAG_H263P_SLICE_STRUCT, CODEC_FLAG_H263P_UMV, CODEC_FLAG_INTERLACED_DCT, CODEC_FLAG_INTERLACED_ME, CODEC_FLAG_LOOP_FILTER, CODEC_FLAG_MV0, CODEC_FLAG_NORMALIZE_AQP, CODEC_FLAG_OBMC, CODEC_FLAG_PART, CODEC_FLAG_PASS1, CODEC_FLAG_PASS2, CODEC_FLAG_PSNR, CODEC_FLAG_QP_RD, CODEC_FLAG_QPEL, CODEC_FLAG_QSCALE, CODEC_FLAG_SVCD_SCAN_OFFSET, CODEC_FLAG_TRELLIS_QUANT, AVCodecContext::codec_id, CODEC_ID_NONE, AVCodecContext::codec_tag, AVCodecContext::codec_type, CODEC_TYPE_VIDEO, coder, AVCodecContext::coder_type, context, AVCodecContext::context_model, dark_mask, AVCodecContext::dark_masking, dct_algo, AVCodecContext::dct_algo, debug, AVCodecContext::debug, debug_mv, AVCodecContext::debug_mv, AVRational::den, do_interlace_dct, do_interlace_me, do_normalize_aqp, do_pass, do_psnr, e, RcOverride::end_frame, error(), error_rate, AVCodecContext::error_rate, FF_QP2LAMBDA, AVCodecContext::flags, AVCodecContext::flags2, fprintf, frame_aspect_ratio, frame_height, frame_padbottom, frame_padleft, frame_padright, frame_padtop, frame_pix_fmt, frame_rate, frame_rate_base, frame_skip_cmp, AVCodecContext::frame_skip_cmp, frame_skip_exp, AVCodecContext::frame_skip_exp, frame_skip_factor, AVCodecContext::frame_skip_factor, frame_skip_threshold, AVCodecContext::frame_skip_threshold, frame_width, AVCodecContext::global_quality, gop_size, AVCodecContext::gop_size, gray_only, AVCodecContext::height, AVCodecContext::i_quant_factor, AVCodecContext::i_quant_offset, idct_algo, AVCodecContext::idct_algo, ildct_cmp, AVCodecContext::ildct_cmp, AVCodecContext::inter_matrix, inter_matrix, AVCodecContext::inter_quant_bias, intra_dc_precision, AVCodecContext::intra_dc_precision, AVCodecContext::intra_matrix, intra_matrix, intra_only, AVCodecContext::intra_quant_bias, AVCodecContext::level, AVCodecContext::lmax, AVCodecContext::lmin, AVCodecContext::luma_elim_threshold, lumi_mask, AVCodecContext::lumi_masking, AVCodecContext::max_b_frames, AVCodecContext::max_qdiff, mb_cmp, AVCodecContext::mb_cmp, mb_decision, AVCodecContext::mb_decision, AVCodecContext::mb_lmax, AVCodecContext::mb_lmin, mb_threshold, AVCodecContext::mb_threshold, AVCodecContext::me_cmp, me_method, AVCodecContext::me_method, me_penalty_compensation, AVCodecContext::me_penalty_compensation, AVCodecContext::me_pre_cmp, me_range, AVCodecContext::me_range, AVCodecContext::me_sub_cmp, AVCodecContext::me_subpel_quality, me_threshold, AVCodecContext::me_threshold, no_output, noise_reduction, AVCodecContext::noise_reduction, nsse_weight, AVCodecContext::nsse_weight, NULL, AVRational::num, p_mask, AVCodecContext::p_masking, packet_size, AVCodecContext::pix_fmt, pre_cmp, pre_me, AVCodecContext::pre_me, AVCodecContext::prediction_method, predictor, AVCodecContext::profile, AVCodecContext::qblur, AVCodecContext::qcompress, AVCodecContext::qmax, AVCodecContext::qmin, qns, RcOverride::qscale, RcOverride::quality_factor, AVCodecContext::quantizer_noise_shaping, AVCodecContext::rc_buffer_aggressivity, AVCodecContext::rc_buffer_size, AVCodecContext::rc_eq, AVCodecContext::rc_initial_buffer_occupancy, AVCodecContext::rc_initial_cplx, AVCodecContext::rc_max_rate, AVCodecContext::rc_min_rate, AVCodecContext::rc_override, AVCodecContext::rc_override_count, AVCodecContext::rc_qsquish, AVCodecContext::rtp_mode, AVCodecContext::rtp_payload_size, same_quality, AVCodecContext::sample_aspect_ratio, sc_threshold, AVCodecContext::scenechange_threshold, scplx_mask, AVCodecContext::spatial_cplx_masking, RcOverride::start_frame, strchr, strict, strict_gop, AVCodecContext::strict_std_compliance, sub_cmp, subpel_quality, AVCodec::supported_framerates, tcplx_mask, AVCodecContext::temporal_cplx_masking, AVCodecContext::thread_count, thread_count, AVCodecContext::time_base, use_4mv, use_aic, use_aiv, use_alt_scan, use_cbprd, use_loop, use_mv0, use_obmc, use_part, use_qpel, use_qprd, use_scan_offset, use_ss, use_trell, use_umv, video_b_qfactor, video_b_qoffset, video_bit_rate, video_bit_rate_tolerance, video_celim, video_codec_id, video_codec_tag, video_disable, video_global_header, video_i_qfactor, video_i_qoffset, video_inter_quant_bias, video_intra_quant_bias, video_lelim, video_level, video_lmax, video_lmin, video_mb_lmax, video_mb_lmin, video_profile, video_qblur, video_qcomp, video_qdiff, video_qmax, video_qmin, video_qscale, video_qsquish, video_rc_buffer_aggressivity, video_rc_buffer_size, video_rc_eq, video_rc_initial_cplx, video_rc_max_rate, video_rc_min_rate, video_rc_override_string, video_stream_copy, AVCodecContext::width, workaround_bugs, and AVCodecContext::workaround_bugs.
Referenced by opt_new_video_stream(), and opt_output_file().

| static void opt_audio_bitrate | ( | const char * | arg | ) | [static] |
| static void opt_audio_channels | ( | const char * | arg | ) | [static] |
| static void opt_audio_codec | ( | const char * | arg | ) | [static] |
Definition at line 2857 of file ffmpeg.c.
References audio_codec_id, audio_stream_copy, CODEC_TYPE_AUDIO, and opt_codec().
Referenced by opt_target(), and parse_ffconfig().

| static void opt_audio_device | ( | const char * | arg | ) | [static] |
Definition at line 2829 of file ffmpeg.c.
References audio_device, and av_strdup().

| static void opt_audio_rate | ( | const char * | arg | ) | [static] |
| static void opt_audio_tag | ( | const char * | arg | ) | [static] |
| static void opt_b_frames | ( | const char * | arg | ) | [static] |
| static void opt_b_qfactor | ( | const char * | arg | ) | [static] |
| static void opt_b_qoffset | ( | const char * | arg | ) | [static] |
| static void opt_bitexact | ( | void | ) | [static] |
| static void opt_celim | ( | const char * | arg | ) | [static] |
| static void opt_cmp | ( | const char * | arg | ) | [static] |
| static void opt_codec | ( | int * | pstream_copy, | |
| int * | pcodec_id, | |||
| int | codec_type, | |||
| const char * | arg | |||
| ) | [static] |
Definition at line 2834 of file ffmpeg.c.
References first_avcodec, fprintf, AVCodec::id, AVCodec::name, AVCodec::next, NULL, and AVCodec::type.
Referenced by opt_audio_codec(), opt_subtitle_codec(), and opt_video_codec().
| static void opt_dark_mask | ( | const char * | arg | ) | [static] |
| static void opt_dct_algo | ( | const char * | arg | ) | [static] |
| static void opt_debug | ( | const char * | arg | ) | [static] |
Definition at line 2304 of file ffmpeg.c.
References AV_LOG_DEBUG, av_log_set_level(), and debug.

| static void opt_error_concealment | ( | const char * | arg | ) | [static] |
| static void opt_error_rate | ( | const char * | arg | ) | [static] |
| static void opt_error_resilience | ( | const char * | arg | ) | [static] |
| static void opt_format | ( | const char * | arg | ) | [static] |
Definition at line 2216 of file ffmpeg.c.
References file_iformat, file_oformat, fprintf, NULL, and pgmyuv_compatibility_hack.
Referenced by opt_target().
| static void opt_frame_aspect_ratio | ( | const char * | arg | ) | [static] |
| static void opt_frame_crop_bottom | ( | const char * | arg | ) | [static] |
| static void opt_frame_crop_left | ( | const char * | arg | ) | [static] |
| static void opt_frame_crop_right | ( | const char * | arg | ) | [static] |
| static void opt_frame_crop_top | ( | const char * | arg | ) | [static] |
| static void opt_frame_pad_bottom | ( | const char * | arg | ) | [static] |
| static void opt_frame_pad_left | ( | const char * | arg | ) | [static] |
| static void opt_frame_pad_right | ( | const char * | arg | ) | [static] |
| static void opt_frame_pad_top | ( | const char * | arg | ) | [static] |
| static void opt_frame_pix_fmt | ( | const char * | arg | ) | [static] |
Definition at line 2500 of file ffmpeg.c.
References avcodec_get_pix_fmt(), and frame_pix_fmt.

| static void opt_frame_rate | ( | const char * | arg | ) | [static] |
Definition at line 2321 of file ffmpeg.c.
References fprintf, frame_rate, and frame_rate_base.
Referenced by opt_target().
| static void opt_frame_size | ( | const char * | arg | ) | [static] |
Definition at line 2401 of file ffmpeg.c.
References fprintf, frame_height, and frame_width.
Referenced by opt_target().
| static void opt_gop_size | ( | const char * | arg | ) | [static] |
| static void opt_grab | ( | const char * | arg | ) | [static] |
Definition at line 3141 of file ffmpeg.c.
References file_iformat, and opt_input_file().

| static void opt_grab_device | ( | const char * | arg | ) | [static] |
Definition at line 2814 of file ffmpeg.c.
References av_strdup(), and grab_device.

| static void opt_i_qfactor | ( | const char * | arg | ) | [static] |
| static void opt_i_qoffset | ( | const char * | arg | ) | [static] |
| static void opt_ibias | ( | const char * | arg | ) | [static] |
| static void opt_idct_algo | ( | const char * | arg | ) | [static] |
| static void opt_ildct_cmp | ( | const char * | arg | ) | [static] |
| static void opt_image_format | ( | const char * | arg | ) | [static] |
| static void opt_input_file | ( | const char * | filename | ) | [static] |
Definition at line 2997 of file ffmpeg.c.
References audio_channels, audio_codec_id, audio_disable, audio_sample_rate, AV_NOPTS_VALUE, av_q2d(), AV_TIME_BASE, avcodec_thread_init(), AVDISCARD_ALL, bitexact, AVCodecContext::channels, CODEC_FLAG_BITEXACT, CODEC_FLAG_EMU_EDGE, CODEC_FLAG_GRAY, CODEC_ID_PGMYUV, AVCodecContext::codec_type, CODEC_TYPE_AUDIO, CODEC_TYPE_DATA, CODEC_TYPE_SUBTITLE, CODEC_TYPE_VIDEO, copy_ts, debug, AVCodecContext::debug, debug_mv, AVCodecContext::debug_mv, AVRational::den, error_concealment, AVCodecContext::error_concealment, error_resilience, AVCodecContext::error_resilience, FF_DEBUG_MV, file_iformat, file_oformat, AVCodecContext::flags, fprintf, frame_aspect_ratio, frame_height, frame_padbottom, frame_padleft, frame_padright, frame_padtop, frame_pix_fmt, frame_rate, frame_rate_base, frame_width, grab_device, gray_only, AVCodecContext::height, idct_algo, AVCodecContext::idct_algo, image_format, input_files, input_files_ts_offset, input_ts_offset, lowres, AVCodecContext::lowres, me_threshold, nb_input_files, NULL, AVRational::num, pgmyuv_compatibility_hack, AVCodecContext::pix_fmt, print_error(), rate_emu, AVCodecContext::rate_emu, AVCodecContext::sample_aspect_ratio, AVCodecContext::sample_rate, start_time, AVCodecContext::thread_count, thread_count, AVCodecContext::time_base, timestamp, using_stdin, verbose, video_channel, video_codec_id, video_disable, video_discard, video_standard, AVCodecContext::width, workaround_bugs, and AVCodecContext::workaround_bugs.
Referenced by opt_grab().

| static void opt_input_ts_offset | ( | const char * | arg | ) | [static] |
| void opt_inter_matrix | ( | const char * | arg | ) |
Definition at line 4004 of file ffmpeg.c.
References av_mallocz(), inter_matrix, and parse_matrix_coeffs().

| void opt_intra_matrix | ( | const char * | arg | ) |
Definition at line 4010 of file ffmpeg.c.
References av_mallocz(), intra_matrix, and parse_matrix_coeffs().

| static void opt_lelim | ( | const char * | arg | ) | [static] |
| static void opt_lmax | ( | const char * | arg | ) | [static] |
| static void opt_lmin | ( | const char * | arg | ) | [static] |
| static void opt_lumi_mask | ( | const char * | arg | ) | [static] |
| static void opt_map | ( | const char * | arg | ) | [static] |
Definition at line 2937 of file ffmpeg.c.
References AVStreamMap::file_index, nb_stream_maps, AVStreamMap::stream_index, AVStreamMap::sync_file_index, and AVStreamMap::sync_stream_index.
| static void opt_map_meta_data | ( | const char * | arg | ) | [static] |
Definition at line 2962 of file ffmpeg.c.
References AVMetaDataMap::in_file, nb_meta_data_maps, and AVMetaDataMap::out_file.
| static void opt_mb_cmp | ( | const char * | arg | ) | [static] |
| static void opt_mb_decision | ( | const char * | arg | ) | [static] |
| static void opt_mb_lmax | ( | const char * | arg | ) | [static] |
Definition at line 2685 of file ffmpeg.c.
References FF_LAMBDA_MAX, FF_QP2LAMBDA, fprintf, and video_mb_lmax.
| static void opt_mb_lmin | ( | const char * | arg | ) | [static] |
Definition at line 2675 of file ffmpeg.c.
References FF_LAMBDA_MAX, FF_QP2LAMBDA, fprintf, and video_mb_lmin.
| static void opt_mb_threshold | ( | const char * | arg | ) | [static] |
| static void opt_me_range | ( | const char * | arg | ) | [static] |
| static void opt_me_threshold | ( | const char * | arg | ) | [static] |
| static void opt_motion_estimation | ( | const char * | arg | ) | [static] |
| static void opt_new_audio_stream | ( | void | ) | [static] |
Definition at line 3556 of file ffmpeg.c.
References fprintf, nb_output_files, new_audio_stream(), and output_files.

| static void opt_new_subtitle_stream | ( | void | ) | [static] |
Definition at line 3520 of file ffmpeg.c.
References av_free(), AVCodecContext::codec, AVCodecContext::codec_id, CODEC_ID_NONE, AVCodecContext::codec_type, CODEC_TYPE_SUBTITLE, fprintf, nb_output_files, NULL, output_files, subtitle_codec_id, subtitle_language, and subtitle_stream_copy.

| static void opt_new_video_stream | ( | void | ) | [static] |
Definition at line 3567 of file ffmpeg.c.
References fprintf, nb_output_files, new_video_stream(), and output_files.

| static void opt_noise_reduction | ( | const char * | arg | ) | [static] |
| static void opt_output_file | ( | const char * | filename | ) | [static] |
Definition at line 3578 of file ffmpeg.c.
References audio_codec_id, audio_disable, audio_stream_copy, AV_TIME_BASE, c, check_audio_video_inputs(), CODEC_ID_NONE, file_iformat, file_oformat, file_overwrite, fprintf, image_format, loop_output, mux_max_delay, mux_packet_size, mux_preload, mux_rate, nb_input_files, nb_output_files, new_audio_stream(), new_video_stream(), NULL, output_files, print_error(), read_ffserver_streams(), rec_timestamp, str_author, str_comment, str_copyright, str_title, strchr, using_stdin, video_codec_id, video_disable, and video_stream_copy.
Referenced by parse_arg_file().

| static void opt_p_mask | ( | const char * | arg | ) | [static] |
| static void opt_packet_size | ( | const char * | arg | ) | [static] |
| static void opt_pad_color | ( | const char * | arg | ) | [static] |
| static void opt_pass | ( | const char * | pass_str | ) | [static] |
| static void opt_pbias | ( | const char * | arg | ) | [static] |
| static void opt_pre_cmp | ( | const char * | arg | ) | [static] |
| static void opt_pre_me | ( | const char * | arg | ) | [static] |
| static void opt_qblur | ( | const char * | arg | ) | [static] |
| static void opt_qcomp | ( | const char * | arg | ) | [static] |
| static void opt_qdiff | ( | const char * | arg | ) | [static] |
| static void opt_qmax | ( | const char * | arg | ) | [static] |
| static void opt_qmin | ( | const char * | arg | ) | [static] |
| static void opt_qns | ( | const char * | arg | ) | [static] |
| static void opt_qscale | ( | const char * | arg | ) | [static] |
| static void opt_qsquish | ( | const char * | arg | ) | [static] |
| static void opt_rc_initial_cplx | ( | const char * | arg | ) | [static] |
| static void opt_rec_timestamp | ( | const char * | arg | ) | [static] |
| static void opt_recording_time | ( | const char * | arg | ) | [static] |
| static void opt_sc_threshold | ( | const char * | arg | ) | [static] |
| static void opt_scplx_mask | ( | const char * | arg | ) | [static] |
| static void opt_start_time | ( | const char * | arg | ) | [static] |
| static void opt_strict | ( | const char * | arg | ) | [static] |
| static void opt_sub_cmp | ( | const char * | arg | ) | [static] |
| static void opt_subtitle_codec | ( | const char * | arg | ) | [static] |
Definition at line 2932 of file ffmpeg.c.
References CODEC_TYPE_SUBTITLE, opt_codec(), subtitle_codec_id, and subtitle_stream_copy.

| static void opt_target | ( | const char * | arg | ) | [static] |
Definition at line 4016 of file ffmpeg.c.
References audio_bit_rate, audio_channels, audio_sample_rate, c, AVCodecContext::codec_type, CODEC_TYPE_VIDEO, AVRational::den, fprintf, frame_rate, frame_rate_base, input_files, mux_packet_size, mux_preload, mux_rate, nb_input_files, AVRational::num, opt_audio_codec(), opt_format(), opt_frame_rate(), opt_frame_size(), opt_gop_size(), opt_video_codec(), AVCodecContext::time_base, use_scan_offset, verbose, video_bit_rate, video_rc_buffer_size, video_rc_max_rate, and video_rc_min_rate.

| static void opt_tcplx_mask | ( | const char * | arg | ) | [static] |
| static void opt_thread_count | ( | const char * | arg | ) | [static] |
| static void opt_top_field_first | ( | const char * | arg | ) | [static] |
| static void opt_verbose | ( | const char * | arg | ) | [static] |
Definition at line 2315 of file ffmpeg.c.
References av_log_set_level(), and verbose.

| static void opt_video_bitrate | ( | const char * | arg | ) | [static] |
| static void opt_video_bitrate_max | ( | const char * | arg | ) | [static] |
| static void opt_video_bitrate_min | ( | const char * | arg | ) | [static] |
| static void opt_video_bitrate_tolerance | ( | const char * | arg | ) | [static] |
| static void opt_video_buffer_size | ( | const char * | arg | ) | [static] |
| static void opt_video_channel | ( | const char * | arg | ) | [static] |
| static void opt_video_codec | ( | const char * | arg | ) | [static] |
Definition at line 2927 of file ffmpeg.c.
References CODEC_TYPE_VIDEO, opt_codec(), video_codec_id, and video_stream_copy.
Referenced by opt_target(), and parse_ffconfig().

| static void opt_video_device | ( | const char * | arg | ) | [static] |
Definition at line 2809 of file ffmpeg.c.
References av_strdup(), and video_device.

| static void opt_video_rc_eq | ( | char * | arg | ) | [static] |
| static void opt_video_rc_override_string | ( | char * | arg | ) | [static] |
| static void opt_video_standard | ( | const char * | arg | ) | [static] |
Definition at line 2824 of file ffmpeg.c.
References av_strdup(), and video_standard.

| static void opt_video_tag | ( | const char * | arg | ) | [static] |
| static void opt_vismv | ( | const char * | arg | ) | [static] |
| static void opt_workaround_bugs | ( | const char * | arg | ) | [static] |
| static int output_packet | ( | AVInputStream * | ist, | |
| int | ist_index, | |||
| AVOutputStream ** | ost_table, | |||
| int | nb_ostreams, | |||
| const AVPacket * | pkt | |||
| ) | [static] |
Definition at line 1182 of file ffmpeg.c.
References audio_size, audio_volume, av_fast_realloc(), av_free(), av_freep(), AV_NOPTS_VALUE, av_parser_change(), av_rescale(), av_rescale_q(), AV_TIME_BASE, AV_TIME_BASE_Q, avcodec_decode_audio(), avcodec_decode_subtitle(), avcodec_decode_video(), avcodec_encode_audio(), avcodec_encode_video(), avcodec_get_frame_defaults(), AVCODEC_MAX_AUDIO_FRAME_SIZE, B_TYPE, bit_buffer, bit_buffer_size, AVSubtitleRect::bitmap, CODEC_ID_MPEG1VIDEO, CODEC_TYPE_AUDIO, CODEC_TYPE_SUBTITLE, CODEC_TYPE_VIDEO, AVCodecContext::coded_frame, AVInputStream::decoding_needed, do_audio_out(), do_subtitle_out(), do_video_out(), do_video_stats(), do_vstats, AVOutputStream::encoding_needed, AVInputStream::file_index, AVOutputStream::file_index, fprintf, AVInputStream::frame, AVOutputStream::frame_number, AVCodecContext::frame_size, AVOutputStream::index, input_files_ts_offset, AVOutputStream::logfile, AVInputStream::next_pts, NULL, AVSubtitle::num_rects, output_files, picture, pre_process_video_frame(), AVInputStream::pts, AVSubtitle::rects, AVSubtitleRect::rgba_palette, samples, AVOutputStream::source_index, AVOutputStream::st, AVInputStream::st, AVInputStream::start, start_time, AVCodecContext::stats_out, AVOutputStream::sync_opts, AVCodecContext::time_base, and video_size.
Referenced by av_encode().

| void parse_arg_file | ( | const char * | filename | ) |
Definition at line 4459 of file ffmpeg.c.
References opt_output_file().

| void parse_matrix_coeffs | ( | uint16_t * | dest, | |
| const char * | str | |||
| ) |
Definition at line 3987 of file ffmpeg.c.
References fprintf, and strchr.
Referenced by opt_inter_matrix(), and opt_intra_matrix().
| static void pre_process_video_frame | ( | AVInputStream * | ist, | |
| AVPicture * | picture, | |||
| void ** | bufp | |||
| ) | [static] |
Definition at line 621 of file ffmpeg.c.
References av_free(), av_malloc(), avpicture_deinterlace(), avpicture_fill(), avpicture_get_size(), buf, do_deinterlace, AVCodecContext::height, img_convert(), NULL, AVCodecContext::pix_fmt, AVInputStream::st, using_vhook, and AVCodecContext::width.
Referenced by output_packet().

| static void prepare_grab | ( | void | ) | [static] |
Definition at line 3718 of file ffmpeg.c.
References audio_device, audio_grab_format, AVCodecContext::channels, AVCodecContext::codec_type, CODEC_TYPE_AUDIO, CODEC_TYPE_VIDEO, AVRational::den, fprintf, AVCodecContext::height, input_files, nb_input_files, nb_output_files, AVRational::num, output_files, AVCodecContext::sample_rate, AVCodecContext::time_base, verbose, video_channel, video_device, video_grab_format, video_standard, and AVCodecContext::width.
Referenced by main().
| static void print_report | ( | AVFormatContext ** | output_files, | |
| AVOutputStream ** | ost_table, | |||
| int | nb_ostreams, | |||
| int | is_last_report | |||
| ) | [static] |
Definition at line 1073 of file ffmpeg.c.
References audio_size, bitrate, buf, CODEC_FLAG_PSNR, AVCodecContext::codec_type, CODEC_TYPE_VIDEO, AVCodecContext::coded_frame, cur_time, AVCodecContext::error, error(), extra_size, FF_QP2LAMBDA, AVOutputStream::file_index, AVCodecContext::flags, fprintf, AVOutputStream::frame_number, AVCodecContext::height, nb_frames_drop, nb_frames_dup, psnr(), AVOutputStream::st, verbose, video_size, and AVCodecContext::width.
Referenced by av_encode().

| static double psnr | ( | double | d | ) | [static] |
| static int read_ffserver_streams | ( | AVFormatContext * | s, | |
| const char * | filename | |||
| ) | [static] |
Definition at line 454 of file ffmpeg.c.
References av_mallocz(), memcpy, and NULL.
Referenced by opt_output_file().

| static int read_key | ( | void | ) | [static] |
Definition at line 405 of file ffmpeg.c.
References NULL.
Referenced by av_encode(), and decode_interrupt_cb().
| static void show_banner | ( | void | ) | [static] |
Definition at line 4375 of file ffmpeg.c.
References FFMPEG_VERSION, fprintf, and LIBAVCODEC_BUILD.
Referenced by main(), show_help(), and show_license().
| static void show_formats | ( | void | ) | [static] |
Definition at line 3845 of file ffmpeg.c.
References AVCodec::capabilities, CODEC_CAP_DR1, CODEC_CAP_DRAW_HORIZ_BAND, CODEC_CAP_TRUNCATED, CODEC_TYPE_AUDIO, CODEC_TYPE_SUBTITLE, CODEC_TYPE_VIDEO, AVCodec::decode, AVCodec::encode, encode(), first_avcodec, ME_EPZS, ME_FULL, ME_ZERO, AVCodec::name, AVCodec::next, NULL, and AVCodec::type.

| static void show_help | ( | void | ) | [static] |
Definition at line 4427 of file ffmpeg.c.
References OPT_AUDIO, OPT_EXPERT, OPT_GRAB, OPT_SUBTITLE, OPT_VIDEO, show_banner(), and show_help_options().
Referenced by main(), and opt_sync().

| static void show_license | ( | void | ) | [static] |
Definition at line 4388 of file ffmpeg.c.
References show_banner().
Referenced by main().

| static void show_version | ( | void | ) | [static] |
Definition at line 4157 of file ffmpeg.c.
References avcodec_build(), FFMPEG_VERSION, and fprintf.

| static void sigterm_handler | ( | int | sig | ) | [static] |
Definition at line 368 of file ffmpeg.c.
References received_sigterm, and term_exit().
Referenced by term_init().

| static void term_exit | ( | void | ) | [static] |
Definition at line 360 of file ffmpeg.c.
References oldtty.
Referenced by av_encode(), sigterm_handler(), and term_init().
| static void term_init | ( | void | ) | [static] |
Definition at line 374 of file ffmpeg.c.
References atexit(), oldtty, sigterm_handler(), and term_exit().
Referenced by av_encode().

int audio_bit_rate = 64000 [static] |
Definition at line 218 of file ffmpeg.c.
Referenced by compute_stats(), new_audio_stream(), opt_audio_bitrate(), and opt_target().
int audio_channels = 1 [static] |
Definition at line 220 of file ffmpeg.c.
Referenced by new_audio_stream(), opt_audio_channels(), opt_input_file(), opt_target(), VirtualAConsole::process_buffer(), and vorbis_parse_audio_packet().
int audio_codec_id = CODEC_ID_NONE [static] |
Definition at line 221 of file ffmpeg.c.
Referenced by new_audio_stream(), opt_audio_codec(), opt_input_file(), and opt_output_file().
int audio_codec_tag = 0 [static] |
char* audio_device = NULL [static] |
int audio_disable = 0 [static] |
Definition at line 219 of file ffmpeg.c.
Referenced by decode_thread(), new_audio_stream(), opt_input_file(), and opt_output_file().
char* audio_grab_format = "audio_device" [static] |
char* audio_language = NULL [static] |
int audio_sample_rate = 44100 [static] |
Definition at line 217 of file ffmpeg.c.
Referenced by new_audio_stream(), opt_audio_rate(), opt_input_file(), and opt_target().
int64_t audio_size = 0 [static] |
Definition at line 282 of file ffmpeg.c.
Referenced by do_audio_out(), output_packet(), print_report(), sdl_audio_callback(), and FileMPEG::write_samples().
int audio_stream_copy = 0 [static] |
Definition at line 250 of file ffmpeg.c.
Referenced by new_audio_stream(), opt_audio_codec(), and opt_output_file().
int audio_sync_method = 0 [static] |
int audio_volume = 256 [static] |
int b_frames = 0 [static] |
int b_strategy = 0 [static] |
uint8_t* bit_buffer = NULL [static] |
Definition at line 760 of file ffmpeg.c.
Referenced by av_encode(), do_video_out(), and output_packet().
int bit_buffer_size = 1024*256 [static] |
Definition at line 759 of file ffmpeg.c.
Referenced by av_encode(), do_video_out(), and output_packet().
int bitexact = 0 [static] |
Definition at line 248 of file ffmpeg.c.
Referenced by new_video_stream(), opt_bitexact(), and opt_input_file().
int closed_gop = 0 [static] |
Definition at line 175 of file ffmpeg.c.
Referenced by mpeg3video_getgophdr(), and new_video_stream().
int cmp = FF_CMP_SAD [static] |
Definition at line 151 of file ffmpeg.c.
Referenced by check_input_motion(), epzs_motion_search_internal(), ff_get_mb_score(), hpel_motion_search(), new_video_stream(), opt_cmp(), qpel_motion_search(), and small_diamond_search().
int coder = 0 [static] |
int context = 0 [static] |
Definition at line 199 of file ffmpeg.c.
Referenced by decode_line(), encode(), encode_line(), encode_subband_c0run(), new_video_stream(), oggvorbis_decode_close(), oggvorbis_decode_frame(), oggvorbis_decode_init(), oggvorbis_encode_close(), oggvorbis_encode_frame(), oggvorbis_encode_init(), quicktime_new_ffmpeg(), raw_close_decoder(), raw_decode(), raw_init_decoder(), and unpack_coeffs().
int copy_ts = 0 [static] |
float dark_mask = 0 [static] |
int dct_algo = 0 [static] |
Definition at line 184 of file ffmpeg.c.
Referenced by dsputil_init_mmx(), MPV_common_init_mmx(), new_video_stream(), and opt_dct_algo().
int debug = 0 [static] |
Definition at line 193 of file ffmpeg.c.
Referenced by BC_Synchronous::delete_window_sync(), mpeg3_delete(), mpeg3_read_toc(), new_video_stream(), opt_debug(), opt_input_file(), and stream_component_open().
int debug_mv = 0 [static] |
Definition at line 194 of file ffmpeg.c.
Referenced by new_video_stream(), opt_input_file(), opt_vismv(), and stream_component_open().
int do_benchmark = 0 [static] |
int do_deinterlace = 0 [static] |
int do_hex_dump = 0 [static] |
int do_interlace_dct = 0 [static] |
int do_interlace_me = 0 [static] |
int do_normalize_aqp = 0 [static] |
int do_pass = 0 [static] |
int do_pkt_dump = 0 [static] |
int do_psnr = 0 [static] |
int do_vstats = 0 [static] |
int error_concealment = 3 [static] |
Definition at line 183 of file ffmpeg.c.
Referenced by opt_error_concealment(), opt_input_file(), and stream_component_open().
int error_rate = 0 [static] |
int error_resilience = FF_ER_CAREFUL [static] |
Definition at line 182 of file ffmpeg.c.
Referenced by opt_error_resilience(), opt_input_file(), and stream_component_open().
int64_t extra_size = 0 [static] |
| int ffm_nopts |
AVInputFormat* file_iformat [static] |
Definition at line 85 of file ffmpeg.c.
Referenced by main(), opt_format(), opt_grab(), opt_input_file(), and opt_output_file().
AVOutputFormat* file_oformat [static] |
Definition at line 86 of file ffmpeg.c.
Referenced by opt_format(), opt_input_file(), and opt_output_file().
int file_overwrite = 0 [static] |
float frame_aspect_ratio = 0 [static] |
Definition at line 90 of file ffmpeg.c.
Referenced by new_video_stream(), opt_frame_aspect_ratio(), and opt_input_file().
int frame_bottomBand = 0 [static] |
int frame_height = 0 [static] |
Definition at line 89 of file ffmpeg.c.
Referenced by new_video_stream(), opt_frame_crop_bottom(), opt_frame_crop_top(), opt_frame_size(), opt_input_file(), quicktime_fastjpg_MCU111111_to_RGB(), quicktime_fastjpg_MCU211111_to_RGB(), quicktime_fastjpg_MCU221111_to_RGB(), quicktime_fastjpg_MCU411111_to_RGB(), and vmd_decode().
int frame_leftBand = 0 [static] |
int frame_padbottom = 0 [static] |
Definition at line 93 of file ffmpeg.c.
Referenced by av_encode(), new_video_stream(), opt_frame_pad_bottom(), and opt_input_file().
int frame_padleft = 0 [static] |
Definition at line 94 of file ffmpeg.c.
Referenced by av_encode(), new_video_stream(), opt_frame_pad_left(), and opt_input_file().
int frame_padright = 0 [static] |
Definition at line 95 of file ffmpeg.c.
Referenced by av_encode(), new_video_stream(), opt_frame_pad_right(), and opt_input_file().
int frame_padtop = 0 [static] |
Definition at line 92 of file ffmpeg.c.
Referenced by av_encode(), new_video_stream(), opt_frame_pad_top(), and opt_input_file().
enum PixelFormat frame_pix_fmt = PIX_FMT_NONE [static] |
Definition at line 91 of file ffmpeg.c.
Referenced by new_video_stream(), opt_frame_pix_fmt(), and opt_input_file().
int frame_rate = 25 [static] |
int frame_rate_base = 1 [static] |
Definition at line 103 of file ffmpeg.c.
Referenced by new_video_stream(), opt_frame_rate(), opt_input_file(), and opt_target().
int frame_rightBand = 0 [static] |
int frame_skip_cmp = FF_CMP_DCTMAX [static] |
int frame_skip_exp = 0 [static] |
int frame_skip_factor = 0 [static] |
int frame_skip_threshold = 0 [static] |
int frame_topBand = 0 [static] |
int frame_width = 0 [static] |
Definition at line 88 of file ffmpeg.c.
Referenced by new_video_stream(), opt_frame_crop_left(), opt_frame_crop_right(), opt_frame_size(), opt_input_file(), and vmd_decode().
int gop_size = 12 [static] |
char* grab_device = NULL [static] |
int gray_only = 0 [static] |
int idct_algo = 0 [static] |
Definition at line 185 of file ffmpeg.c.
Referenced by dsputil_init_armv4l(), dsputil_init_mmi(), dsputil_init_mmx(), dsputil_init_sh4(), new_video_stream(), opt_idct_algo(), and opt_input_file().
int ildct_cmp = FF_CMP_VSAD [static] |
AVImageFormat* image_format [static] |
Definition at line 87 of file ffmpeg.c.
Referenced by decode_thread(), opt_image_format(), opt_input_file(), and opt_output_file().
AVFormatContext* input_files[MAX_FILES] [static] |
Definition at line 72 of file ffmpeg.c.
Referenced by check_audio_video_inputs(), main(), opt_input_file(), opt_target(), and prepare_grab().
int64_t input_files_ts_offset[MAX_FILES] [static] |
Definition at line 73 of file ffmpeg.c.
Referenced by av_encode(), do_subtitle_out(), get_sync_ipts(), opt_input_file(), and output_packet().
int input_sync [static] |
int64_t input_ts_offset = 0 [static] |
uint16_t* inter_matrix = NULL [static] |
Definition at line 120 of file ffmpeg.c.
Referenced by main(), new_video_stream(), and opt_inter_matrix().
int intra_dc_precision = 8 [static] |
uint16_t* intra_matrix = NULL [static] |
Definition at line 119 of file ffmpeg.c.
Referenced by main(), new_video_stream(), and opt_intra_matrix().
int intra_only = 0 [static] |
int limit_filesize = 0 [static] |
| int loop_input |
int loop_output = AVFMT_NOOUTPUTLOOP [static] |
int lowres = 0 [static] |
Definition at line 206 of file ffmpeg.c.
Referenced by chroma_4mv_motion_lowres(), hpel_motion_lowres(), mpeg_decode_slice(), mpeg_motion_lowres(), MPV_motion_lowres(), opt_input_file(), and stream_component_open().
float lumi_mask = 0 [static] |
int max_frames[4] = {INT_MAX, INT_MAX, INT_MAX, INT_MAX} [static] |
int mb_cmp = FF_CMP_SAD [static] |
Definition at line 149 of file ffmpeg.c.
Referenced by ff_init_me(), new_video_stream(), and opt_mb_cmp().
int mb_decision = FF_MB_DECISION_SIMPLE [static] |
int mb_threshold = 0 [static] |
int me_method = ME_EPZS [static] |
Definition at line 139 of file ffmpeg.c.
Referenced by new_video_stream(), and opt_motion_estimation().
int me_penalty_compensation = 256 [static] |
int me_range = 0 [static] |
int me_threshold = 0 [static] |
Definition at line 195 of file ffmpeg.c.
Referenced by do_video_out(), new_video_stream(), opt_input_file(), and opt_me_threshold().
AVMetaDataMap meta_data_maps[MAX_FILES] [static] |
| const char* motion_str[] |
float mux_max_delay = 0.7 [static] |
int mux_packet_size = 0 [static] |
float mux_preload = 0.5 [static] |
int mux_rate = 0 [static] |
int nb_frames_drop = 0 [static] |
int nb_frames_dup = 0 [static] |
int nb_input_files = 0 [static] |
Definition at line 74 of file ffmpeg.c.
Referenced by check_audio_video_inputs(), main(), opt_input_file(), opt_output_file(), opt_target(), and prepare_grab().
int nb_meta_data_maps [static] |
int nb_output_files = 0 [static] |
Definition at line 77 of file ffmpeg.c.
Referenced by main(), opt_new_audio_stream(), opt_new_subtitle_stream(), opt_new_video_stream(), opt_output_file(), and prepare_grab().
int nb_stream_maps [static] |
int no_output = 0 [static] |
int noise_reduction = 0 [static] |
Definition at line 191 of file ffmpeg.c.
Referenced by new_video_stream(), and opt_noise_reduction().
int nsse_weight = 8 [static] |
struct termios oldtty [static] |
int opt_shortest = 0 [static] |
AVFormatContext* output_files[MAX_FILES] [static] |
Definition at line 76 of file ffmpeg.c.
Referenced by main(), opt_new_audio_stream(), opt_new_subtitle_stream(), opt_new_video_stream(), opt_output_file(), output_packet(), and prepare_grab().
float p_mask = 0 [static] |
int packet_size = 0 [static] |
Definition at line 187 of file ffmpeg.c.
Referenced by handle_subtitle(), new_video_stream(), and opt_packet_size().
int padcolor[3] = {16,128,128} [static] |
char* pass_logfilename = NULL [static] |
int pgmyuv_compatibility_hack = 0 [static] |
int pre_cmp = FF_CMP_SAD [static] |
int pre_me = 0 [static] |
int predictor = 0 [static] |
Definition at line 200 of file ffmpeg.c.
Referenced by dpcm_decode_frame(), ima4_decode_block(), mjpeg_decode_sos(), new_video_stream(), and wmx2_decode_block().
int q_pressed = 0 [static] |
int qns = 0 [static] |
int rate_emu = 0 [static] |
int64_t rec_timestamp = 0 [static] |
volatile sig_atomic_t received_sigterm = 0 [static] |
int64_t recording_time = 0 [static] |
int same_quality = 0 [static] |
int sc_threshold = 0 [static] |
float scplx_mask = 0 [static] |
int64_t start_time = 0 [static] |
Definition at line 234 of file ffmpeg.c.
Referenced by decode_thread(), get_sync_ipts(), opt_input_file(), opt_seek(), opt_start_time(), output_packet(), quicktime_align_vbr(), and read_titles().
char* str_author = NULL [static] |
char* str_comment = NULL [static] |
char* str_copyright = NULL [static] |
char* str_title = NULL [static] |
AVStreamMap stream_maps[MAX_FILES] [static] |
int strict = 0 [static] |
Definition at line 189 of file ffmpeg.c.
Referenced by new_audio_stream(), new_video_stream(), and opt_strict().
int strict_gop = 0 [static] |
int sub_cmp = FF_CMP_SAD [static] |
int subpel_quality = 8 [static] |
Definition at line 204 of file ffmpeg.c.
Referenced by new_video_stream(), and qpel_motion_search().
int subtitle_codec_id = CODEC_ID_NONE [static] |
Definition at line 225 of file ffmpeg.c.
Referenced by opt_new_subtitle_stream(), and opt_subtitle_codec().
char* subtitle_language = NULL [static] |
int subtitle_stream_copy = 0 [static] |
Definition at line 252 of file ffmpeg.c.
Referenced by opt_new_subtitle_stream(), and opt_subtitle_codec().
float tcplx_mask = 0 [static] |
int thread_count = 1 [static] |
Definition at line 278 of file ffmpeg.c.
Referenced by avcodec_thread_execute(), new_audio_stream(), new_video_stream(), opt_input_file(), opt_thread_count(), stream_component_open(), and worker().
int top_field_first = -1 [static] |
Definition at line 190 of file ffmpeg.c.
Referenced by do_video_out(), mpegvideo_extract_headers(), and opt_top_field_first().
int use_4mv = 0 [static] |
int use_aic = 0 [static] |
int use_aiv = 0 [static] |
int use_alt_scan = 0 [static] |
int use_cbprd = 0 [static] |
int use_loop = 0 [static] |
int use_mv0 = 0 [static] |
int use_obmc = 0 [static] |
int use_part = 0 [static] |
int use_qpel = 0 [static] |
int use_qprd = 0 [static] |
int use_scan_offset = 0 [static] |
int use_ss = 0 [static] |
int use_trell = 0 [static] |
int use_umv = 0 [static] |
int using_stdin = 0 [static] |
Definition at line 275 of file ffmpeg.c.
Referenced by av_encode(), opt_input_file(), and opt_output_file().
int using_vhook = 0 [static] |
Definition at line 276 of file ffmpeg.c.
Referenced by add_frame_hooker(), and pre_process_video_frame().
float video_b_qfactor = 1.25 [static] |
float video_b_qoffset = 1.25 [static] |
int video_bit_rate = 200*1000 [static] |
Definition at line 104 of file ffmpeg.c.
Referenced by compute_stats(), new_video_stream(), opt_target(), and opt_video_bitrate().
int video_bit_rate_tolerance = 4000*1000 [static] |
Definition at line 105 of file ffmpeg.c.
Referenced by new_video_stream(), and opt_video_bitrate_tolerance().
int video_celim = 0 [static] |
int video_channel = 0 [static] |
Definition at line 268 of file ffmpeg.c.
Referenced by VDeviceBUZ::open_input_core(), VDeviceBUZ::open_output_core(), opt_input_file(), opt_video_channel(), prepare_grab(), VDeviceV4L::v4l1_get_inputs(), and VDeviceV4L::v4l1_set_channel().
int video_codec_id = CODEC_ID_NONE [static] |
Definition at line 142 of file ffmpeg.c.
Referenced by new_video_stream(), opt_input_file(), opt_output_file(), and opt_video_codec().
int video_codec_tag = 0 [static] |
char* video_device = NULL [static] |
int video_disable = 0 [static] |
Definition at line 140 of file ffmpeg.c.
Referenced by decode_thread(), main(), new_video_stream(), opt_input_file(), and opt_output_file().
int video_discard = 0 [static] |
int video_global_header = 0 [static] |
char* video_grab_format = "video4linux" [static] |
float video_i_qfactor = -0.8 [static] |
float video_i_qoffset = 0.0 [static] |
int video_inter_quant_bias = FF_DEFAULT_QUANT_BIAS [static] |
int video_intra_quant_bias = FF_DEFAULT_QUANT_BIAS [static] |
int video_lelim = 0 [static] |
int video_level = FF_LEVEL_UNKNOWN [static] |
int video_lmax = 31*FF_QP2LAMBDA [static] |
int video_lmin = 2*FF_QP2LAMBDA [static] |
int video_mb_lmax = 31*FF_QP2LAMBDA [static] |
int video_mb_lmin = 2*FF_QP2LAMBDA [static] |
int video_profile = FF_PROFILE_UNKNOWN [static] |
float video_qblur = 0.5 [static] |
float video_qcomp = 0.5 [static] |
int video_qdiff = 3 [static] |
int video_qmax = 31 [static] |
int video_qmin = 2 [static] |
float video_qscale = 0 [static] |
float video_qsquish = 0.0 [static] |
float video_rc_buffer_aggressivity = 1.0 [static] |
int video_rc_buffer_size = 0 [static] |
Definition at line 128 of file ffmpeg.c.
Referenced by new_video_stream(), opt_target(), and opt_video_buffer_size().
char* video_rc_eq = "tex^qComp" [static] |
Definition at line 127 of file ffmpeg.c.
Referenced by encode(), new_video_stream(), and opt_video_rc_eq().
float video_rc_initial_cplx = 0 [static] |
Definition at line 132 of file ffmpeg.c.
Referenced by new_video_stream(), and opt_rc_initial_cplx().
int video_rc_max_rate = 0 [static] |
Definition at line 130 of file ffmpeg.c.
Referenced by new_video_stream(), opt_target(), and opt_video_bitrate_max().
int video_rc_min_rate = 0 [static] |
Definition at line 131 of file ffmpeg.c.
Referenced by new_video_stream(), opt_target(), and opt_video_bitrate_min().
char* video_rc_override_string = NULL [static] |
Definition at line 126 of file ffmpeg.c.
Referenced by new_video_stream(), and opt_video_rc_override_string().
int64_t video_size = 0 [static] |
Definition at line 281 of file ffmpeg.c.
Referenced by do_video_stats(), output_packet(), and print_report().
char* video_standard = "ntsc" [static] |
Definition at line 269 of file ffmpeg.c.
Referenced by opt_input_file(), opt_video_standard(), and prepare_grab().
int video_stream_copy = 0 [static] |
Definition at line 251 of file ffmpeg.c.
Referenced by new_video_stream(), opt_output_file(), and opt_video_codec().
int video_sync_method = 1 [static] |
int workaround_bugs = FF_BUG_AUTODETECT [static] |
Definition at line 181 of file ffmpeg.c.
Referenced by new_video_stream(), opt_input_file(), opt_workaround_bugs(), and stream_component_open().
1.5.5