#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 "libavfilter/avfiltergraph.h"
#include "libavutil/avutil.h"
#include "libavutil/dict.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.
#define MAX_STREAMS 1024 |
#define VSYNC_AUTO -1 |
Definition at line 50 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_DROP 0xff |
Definition at line 54 of file ffmpeg.h.
Referenced by do_video_out(), opt_vsync(), and write_frame().
#define VSYNC_PASSTHROUGH 0 |
Definition at line 51 of file ffmpeg.h.
Referenced by do_video_out(), opt_vsync(), and transcode_init().
#define VSYNC_VFR 2 |
void assert_avoptions | ( | AVDictionary * | m | ) |
Definition at line 463 of file ffmpeg.c.
Referenced by init_input_stream(), opt_input_file(), and transcode_init().
enum PixelFormat choose_pixel_fmt | ( | AVStream * | st, | |
AVCodec * | codec, | |||
enum PixelFormat | target | |||
) |
Definition at line 36 of file ffmpeg_filter.c.
Referenced by choose_pix_fmts(), and read_ffserver_streams().
int configure_filtergraph | ( | FilterGraph * | fg | ) |
Definition at line 705 of file ffmpeg_filter.c.
Referenced by configure_complex_filters(), decode_audio(), decode_video(), and transcode_init().
int configure_output_filter | ( | FilterGraph * | fg, | |
OutputFilter * | ofilter, | |||
AVFilterInOut * | out | |||
) |
Definition at line 489 of file ffmpeg_filter.c.
Referenced by configure_filtergraph(), and init_output_filter().
int guess_input_channel_layout | ( | InputStream * | ist | ) |
FilterGraph* init_simple_filtergraph | ( | InputStream * | ist, | |
OutputStream * | ost | |||
) |
Referenced by transcode_init().
int ist_in_filtergraph | ( | FilterGraph * | fg, | |
InputStream * | ist | |||
) |
void opt_output_file | ( | void * | optctx, | |
const char * | filename | |||
) |
void reset_options | ( | OptionsContext * | o, | |
int | is_input | |||
) |
Definition at line 99 of file ffmpeg_opt.c.
Referenced by main(), opt_input_file(), and opt_output_file().
void show_usage | ( | void | ) |
void term_exit | ( | void | ) |
Definition at line 261 of file ffmpeg.c.
Referenced by assert_file_overwrite(), sigterm_handler(), term_init(), and transcode().
void term_init | ( | void | ) |
float audio_drift_threshold |
Definition at line 73 of file ffmpeg_opt.c.
Referenced by configure_input_audio_filter(), do_audio_out(), and write_frame().
Definition at line 72 of file ffmpeg_opt.c.
Referenced by configure_input_audio_filter(), configure_output_audio_filter(), and transcode_init().
Definition at line 82 of file ffmpeg_opt.c.
Referenced by decode_video(), do_audio_out(), do_video_out(), process_input(), and write_frame().
Definition at line 75 of file ffmpeg_opt.c.
Referenced by init_input_stream(), opt_deinterlace(), and pre_process_video_frame().
Definition at line 78 of file ffmpeg_opt.c.
Referenced by check_keyboard_interaction(), and process_input().
Definition at line 79 of file ffmpeg_opt.c.
Referenced by check_keyboard_interaction(), and process_input().
float dts_delta_threshold |
float dts_error_threshold |
Definition at line 83 of file ffmpeg_opt.c.
Referenced by do_subtitle_out(), process_input(), and write_frame().
Definition at line 144 of file ffmpeg.c.
Referenced by configure_complex_filters(), DEF_CHOOSE_FORMAT(), opt_filter_complex(), and opt_output_file().
Definition at line 136 of file ffmpeg.c.
Referenced by init_input_filter(), opt_input_file(), opt_map(), opt_map_channel(), opt_output_file(), opt_target(), and sub2video_prepare().
Definition at line 134 of file ffmpeg.c.
Referenced by add_input_streams(), init_input_filter(), new_audio_stream(), new_output_stream(), and opt_output_file().
const AVIOInterruptCB int_cb |
Definition at line 379 of file ffmpeg.c.
Referenced by dump_attachment(), get_preset_file_2(), opt_input_file(), opt_output_file(), opt_progress(), and read_ffserver_streams().
Definition at line 145 of file ffmpeg.c.
Referenced by check_keyboard_interaction(), configure_complex_filters(), decode_audio(), decode_video(), DEF_CHOOSE_FORMAT(), exit_program(), opt_filter_complex(), opt_output_file(), and transcode_init().
Definition at line 137 of file ffmpeg.c.
Referenced by add_input_streams(), dump_attachment(), exit_program(), init_input_filter(), opt_input_file(), opt_map(), opt_map_channel(), opt_output_file(), opt_target(), and transcode_init().
Definition at line 135 of file ffmpeg.c.
Referenced by add_input_streams(), check_keyboard_interaction(), exit_program(), init_input_filter(), opt_input_file(), opt_output_file(), transcode(), and transcode_init().
Definition at line 142 of file ffmpeg.c.
Referenced by exit_program(), main(), new_output_stream(), opt_output_file(), print_sdp(), transcode(), and transcode_init().
Definition at line 140 of file ffmpeg.c.
Referenced by check_keyboard_interaction(), choose_output(), exit_program(), flush_encoders(), got_eagain(), need_output(), new_output_stream(), opt_output_file(), output_packet(), print_report(), process_input(), reap_filters(), reset_eagain(), transcode(), transcode_init(), and transcode_subtitles().
Initial value:
{ { "L" , OPT_EXIT, {.func_arg = show_license}, "show license" }, { "h" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" }, { "?" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" }, { "help" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" }, { "-help" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" }, { "version" , OPT_EXIT, {.func_arg = show_version}, "show version" }, { "formats" , OPT_EXIT, {.func_arg = show_formats }, "show available formats" }, { "codecs" , OPT_EXIT, {.func_arg = show_codecs }, "show available codecs" }, { "decoders" , OPT_EXIT, {.func_arg = show_decoders }, "show available decoders" }, { "encoders" , OPT_EXIT, {.func_arg = show_encoders }, "show available encoders" }, { "bsfs" , OPT_EXIT, {.func_arg = show_bsfs }, "show available bit stream filters" }, { "protocols" , OPT_EXIT, {.func_arg = show_protocols}, "show available protocols" }, { "filters" , OPT_EXIT, {.func_arg = show_filters }, "show available filters" }, { "pix_fmts" , OPT_EXIT, {.func_arg = show_pix_fmts }, "show available pixel formats" }, { "layouts" , OPT_EXIT, {.func_arg = show_layouts }, "show standard channel layouts" }, { "sample_fmts", OPT_EXIT, {.func_arg = show_sample_fmts }, "show available audio sample formats" }, { "loglevel" , HAS_ARG, {.func_arg = opt_loglevel}, "set libav* logging level", "loglevel" }, { "v", HAS_ARG, {.func_arg = opt_loglevel}, "set libav* logging level", "loglevel" }, { "debug" , HAS_ARG, {.func_arg = opt_codec_debug}, "set debug flags", "flags" }, { "fdebug" , HAS_ARG, {.func_arg = opt_codec_debug}, "set debug flags", "flags" }, { "report" , 0, {(void*)opt_report}, "generate a report" }, { "max_alloc" , HAS_ARG, {.func_arg = opt_max_alloc}, "set maximum size of a single allocated block", "bytes" }, { "cpuflags" , HAS_ARG | OPT_EXPERT, {.func_arg = opt_cpuflags}, "force specific cpu flags", "flags" }, { "n", OPT_BOOL, {(void *)&no_launch }, "enable no-launch mode" }, { "d", 0, {(void*)opt_debug}, "enable debug mode" }, { "f", HAS_ARG | OPT_STRING, {(void*)&config_filename }, "use configfile instead of /etc/ffserver.conf", "configfile" }, { NULL }, }
Definition at line 4674 of file ffserver.c.
Referenced by main(), opt_audio_codec(), opt_audio_filters(), opt_audio_frames(), opt_audio_qscale(), opt_bitrate(), opt_channel_layout(), opt_data_codec(), opt_data_frames(), opt_old2new(), opt_profile(), 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(), reset_options(), show_codec_opts(), show_format_opts(), and show_help_default().
int print_stats |
Definition at line 85 of file ffmpeg_opt.c.
Referenced by check_keyboard_interaction(), and print_report().
Definition at line 86 of file ffmpeg_opt.c.
Referenced by decode_video(), new_output_stream(), and reap_filters().
Definition at line 87 of file ffmpeg_opt.c.
Referenced by assert_file_overwrite(), opt_input_file(), and transcode().
Definition at line 74 of file ffmpeg_opt.c.
Referenced by do_video_out(), opt_vsync(), transcode_init(), and write_frame().
char* vstats_filename |
Definition at line 66 of file ffmpeg_opt.c.
Referenced by do_video_out(), do_video_stats(), exit_program(), and opt_vstats_file().