FFmpeg
Data Structures | Macros | Enumerations | Functions | Variables
ffmpeg.h File Reference
#include "config.h"
#include <stdint.h>
#include <stdio.h>
#include <signal.h>
#include "cmdutils.h"
#include "libavformat/avformat.h"
#include "libavformat/avio.h"
#include "libavcodec/avcodec.h"
#include "libavfilter/avfilter.h"
#include "libavutil/avutil.h"
#include "libavutil/dict.h"
#include "libavutil/eval.h"
#include "libavutil/fifo.h"
#include "libavutil/pixfmt.h"
#include "libavutil/rational.h"
#include "libswresample/swresample.h"

Go to the source code of this file.

Data Structures

struct   StreamMap
 
struct   AudioChannelMap
 
struct   OptionsContext
 
struct   InputFilter
 
struct   OutputFilter
 
struct   FilterGraph
 
struct   InputStream
 
 
struct   InputFile
 
struct   OutputStream
 
struct   OutputFile
 

Macros

#define  VSYNC_AUTO   -1
 
#define  VSYNC_PASSTHROUGH   0
 
#define  VSYNC_CFR   1
 
#define  VSYNC_VFR   2
 
#define  VSYNC_VSCFR   0xfe
 
#define  VSYNC_DROP   0xff
 
#define  MAX_STREAMS   1024 /* arbitrary sanity check value */
 

Enumerations

 

Functions

 
 
void  reset_options (OptionsContext *o, int is_input)
 
 
void  opt_output_file (void *optctx, const char *filename)
 
 
 
enum AVPixelFormat  choose_pixel_fmt (AVStream *st, AVCodec *codec, enum AVPixelFormat target)
 
 
 
 
 
 
int  ffmpeg_parse_options (int argc, char **argv)
 

Variables

const char *const  forced_keyframes_const_names []
 
 
 
 
 
 
 
 
 
 
 
char *  vstats_filename
 
 
 
 
int  audio_volume
 
 
 
int  do_benchmark
 
 
 
int  do_hex_dump
 
int  do_pkt_dump
 
int  copy_ts
 
int  copy_tb
 
int  debug_ts
 
 
int  print_stats
 
int  qp_hist
 
 
 
 
float  max_error_rate
 
 
const OptionDef  options []
 

Macro Definition Documentation

#define VSYNC_AUTO   -1

Definition at line 50 of file ffmpeg.h.

Referenced by do_video_out(), opt_vsync(), and transcode_init().

#define VSYNC_PASSTHROUGH   0

Definition at line 51 of file ffmpeg.h.

Referenced by do_video_out(), opt_vsync(), and transcode_init().

#define VSYNC_CFR   1

Definition at line 52 of file ffmpeg.h.

Referenced by do_video_out(), opt_vsync(), and transcode_init().

#define VSYNC_VFR   2

Definition at line 53 of file ffmpeg.h.

Referenced by do_video_out(), and opt_vsync().

#define VSYNC_VSCFR   0xfe

Definition at line 54 of file ffmpeg.h.

Referenced by do_video_out(), and transcode_init().

#define VSYNC_DROP   0xff

Definition at line 55 of file ffmpeg.h.

Referenced by do_video_out(), opt_vsync(), and write_frame().

#define MAX_STREAMS   1024 /* arbitrary sanity check value */

Definition at line 57 of file ffmpeg.h.

Referenced by opt_streamid().

Enumeration Type Documentation

Enumerator:
FKF_N
FKF_N_FORCED
FKF_PREV_FORCED_N
FKF_PREV_FORCED_T
FKF_T
FKF_NB

Definition at line 306 of file ffmpeg.h.

Function Documentation

void term_init ( void  )

Definition at line 325 of file ffmpeg.c.

Referenced by assert_file_overwrite(), and main().

void term_exit ( void  )

Definition at line 303 of file ffmpeg.c.

Referenced by assert_file_overwrite(), ffmpeg_cleanup(), sigterm_handler(), and transcode().

void reset_options ( OptionsContexto,
int  is_input 
)
void show_usage ( void  )

Definition at line 2469 of file ffmpeg_opt.c.

Referenced by main(), and show_help_default().

void opt_output_file ( voidoptctx,
const char *  filename 
)
void assert_avoptions ( AVDictionarym )

Definition at line 514 of file ffmpeg.c.

Referenced by init_input_stream(), and open_input_file().

int guess_input_channel_layout ( InputStreamist )

Definition at line 1508 of file ffmpeg.c.

Referenced by add_input_streams(), and decode_audio().

enum AVPixelFormat choose_pixel_fmt ( AVStreamst,
AVCodeccodec,
enum AVPixelFormat  target 
)

Definition at line 38 of file ffmpeg_filter.c.

Referenced by choose_pix_fmts(), and read_ffserver_streams().

void choose_sample_fmt ( AVStreamst,
AVCodeccodec 
)

Definition at line 71 of file ffmpeg_filter.c.

Referenced by read_ffserver_streams().

int configure_filtergraph ( FilterGraphfg )

Definition at line 832 of file ffmpeg_filter.c.

Referenced by configure_complex_filters(), decode_audio(), decode_video(), and transcode_init().

int configure_output_filter ( FilterGraphfg,
OutputFilterofilter,
AVFilterInOutout 
)

Definition at line 571 of file ffmpeg_filter.c.

Referenced by configure_filtergraph(), and init_output_filter().

int ist_in_filtergraph ( FilterGraphfg,
InputStreamist 
)

Definition at line 917 of file ffmpeg_filter.c.

Referenced by decode_audio(), and decode_video().

FilterGraph* init_simple_filtergraph ( InputStreamist,
OutputStreamost 
)

Referenced by transcode_init().

int ffmpeg_parse_options ( int  argc,
char **  argv 
)

Definition at line 2519 of file ffmpeg_opt.c.

Referenced by main().

Variable Documentation

const char* const forced_keyframes_const_names[]

Definition at line 110 of file ffmpeg.c.

Referenced by transcode_init().

InputStream** input_streams

Definition at line 144 of file ffmpeg.c.

Referenced by add_input_streams(), init_input_filter(), new_audio_stream(), new_output_stream(), open_input_file(), and open_output_file().

int nb_input_streams

Definition at line 145 of file ffmpeg.c.

Referenced by add_input_streams(), check_keyboard_interaction(), ffmpeg_cleanup(), init_input_filter(), open_input_file(), open_output_file(), transcode(), and transcode_init().

InputFile** input_files

Definition at line 146 of file ffmpeg.c.

Referenced by configure_input_audio_filter(), configure_input_video_filter(), init_input_filter(), open_input_file(), open_output_file(), opt_map(), opt_map_channel(), opt_target(), and sub2video_prepare().

int nb_input_files

Definition at line 147 of file ffmpeg.c.

Referenced by add_input_streams(), dump_attachment(), ffmpeg_cleanup(), init_input_filter(), open_input_file(), open_output_file(), opt_map(), opt_map_channel(), opt_target(), reset_eagain(), and transcode_init().

OutputStream** output_streams

Definition at line 149 of file ffmpeg.c.

Referenced by new_output_stream(), and open_output_file().

int nb_output_streams

Definition at line 150 of file ffmpeg.c.

Referenced by check_keyboard_interaction(), choose_output(), ffmpeg_cleanup(), flush_encoders(), got_eagain(), need_output(), new_output_stream(), open_output_file(), output_packet(), print_report(), process_input(), reap_filters(), reset_eagain(), transcode(), transcode_init(), and transcode_subtitles().

OutputFile** output_files

Definition at line 151 of file ffmpeg.c.

Referenced by configure_output_audio_filter(), configure_output_video_filter(), and open_output_file().

int nb_output_files

Definition at line 152 of file ffmpeg.c.

Referenced by ffmpeg_cleanup(), get_ost_filters(), new_output_stream(), open_output_file(), print_sdp(), transcode(), and transcode_init().

FilterGraph** filtergraphs

Definition at line 154 of file ffmpeg.c.

Referenced by configure_complex_filters(), DEF_CHOOSE_FORMAT(), open_output_file(), opt_filter_complex(), and opt_filter_complex_script().

int nb_filtergraphs

Definition at line 155 of file ffmpeg.c.

Referenced by check_keyboard_interaction(), configure_complex_filters(), decode_audio(), decode_video(), DEF_CHOOSE_FORMAT(), ffmpeg_cleanup(), open_output_file(), opt_filter_complex(), opt_filter_complex_script(), and transcode_init().

char* vstats_filename

Definition at line 65 of file ffmpeg_opt.c.

Referenced by do_video_out(), do_video_stats(), ffmpeg_cleanup(), flush_encoders(), and opt_vstats_file().

float audio_drift_threshold

Definition at line 67 of file ffmpeg_opt.c.

Referenced by configure_input_audio_filter().

float dts_delta_threshold

Definition at line 68 of file ffmpeg_opt.c.

Referenced by process_input().

float dts_error_threshold

Definition at line 69 of file ffmpeg_opt.c.

Referenced by do_video_out(), and process_input().

int audio_volume

Definition at line 71 of file ffmpeg_opt.c.

Referenced by configure_input_audio_filter(), configure_output_audio_filter(), and transcode_init().

int audio_sync_method

Definition at line 72 of file ffmpeg_opt.c.

Referenced by configure_input_audio_filter(), do_audio_out(), and write_frame().

int video_sync_method

Definition at line 73 of file ffmpeg_opt.c.

Referenced by do_video_out(), opt_vsync(), transcode_init(), and write_frame().

int do_benchmark

Definition at line 75 of file ffmpeg_opt.c.

Referenced by ffmpeg_cleanup(), and main().

int do_benchmark_all

Definition at line 76 of file ffmpeg_opt.c.

Referenced by update_benchmark().

int do_deinterlace

Definition at line 74 of file ffmpeg_opt.c.

Referenced by configure_input_video_filter().

int do_hex_dump

Definition at line 77 of file ffmpeg_opt.c.

Referenced by check_keyboard_interaction(), and process_input().

int do_pkt_dump

Definition at line 78 of file ffmpeg_opt.c.

Referenced by check_keyboard_interaction(), and process_input().

int copy_ts

Definition at line 79 of file ffmpeg_opt.c.

Referenced by do_video_out(), open_input_file(), and process_input().

int copy_tb

Definition at line 80 of file ffmpeg_opt.c.

Referenced by transcode_init().

int debug_ts

Definition at line 81 of file ffmpeg_opt.c.

Referenced by decode_video(), do_audio_out(), do_video_out(), process_input(), and write_frame().

int exit_on_error

Definition at line 82 of file ffmpeg_opt.c.

Referenced by do_subtitle_out(), process_input(), and write_frame().

int print_stats

Definition at line 83 of file ffmpeg_opt.c.

Referenced by print_report(), and uninit().

int qp_hist

Definition at line 84 of file ffmpeg_opt.c.

Referenced by check_keyboard_interaction(), and print_report().

int stdin_interaction

Definition at line 85 of file ffmpeg_opt.c.

Referenced by assert_file_overwrite(), open_input_file(), and transcode().

int frame_bits_per_raw_sample

Definition at line 86 of file ffmpeg_opt.c.

Referenced by new_video_stream(), and transcode_init().

AVIOContext* progress_avio

Definition at line 133 of file ffmpeg.c.

Referenced by opt_progress().

float max_error_rate

Definition at line 87 of file ffmpeg_opt.c.

Referenced by main().

const AVIOInterruptCB int_cb

Definition at line 422 of file ffmpeg.c.

Referenced by dump_attachment(), get_preset_file_2(), open_input_file(), open_output_file(), opt_progress(), read_ffserver_streams(), and url_alloc_for_protocol().

static const OptionDef options

Definition at line 4682 of file ffserver.c.

Referenced by avfilter_init_str(), ffmpeg_parse_options(), main(), open_output_file(), open_slave(), opt_audio_codec(), opt_audio_filters(), opt_audio_frames(), opt_audio_qscale(), opt_channel_layout(), opt_data_codec(), opt_data_frames(), opt_old2new(), opt_qscale(), opt_recording_timestamp(), opt_subtitle_codec(), opt_target(), opt_timecode(), opt_video_codec(), opt_video_filters(), opt_video_frames(), pp_get_mode_by_name_and_quality(), show_help_default(), and uninit_options().


Generated on Sat Jan 25 2014 19:52:08 for FFmpeg by   doxygen 1.8.2

AltStyle によって変換されたページ (->オリジナル) /