FFmpeg
|
#include "config.h"
#include <stdatomic.h>
#include <stdint.h>
#include <stdio.h>
#include <signal.h>
#include "cmdutils.h"
#include "sync_queue.h"
#include "libavformat/avformat.h"
#include "libavformat/avio.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/bsf.h"
#include "libavfilter/avfilter.h"
#include "libavutil/avutil.h"
#include "libavutil/dict.h"
#include "libavutil/eval.h"
#include "libavutil/fifo.h"
#include "libavutil/hwcontext.h"
#include "libavutil/pixfmt.h"
#include "libavutil/rational.h"
#include "libavutil/thread.h"
#include "libavutil/threadmessage.h"
#include "libswresample/swresample.h"
Go to the source code of this file.
Data Structures | |
struct | HWDevice |
struct | StreamMap |
struct | AudioChannelMap |
struct | DemuxPktData |
struct | OptionsContext |
struct | InputFilter |
struct | OutputFilter |
struct | FilterGraph |
struct | InputStream |
struct | InputStream::sub2video |
struct | LastFrameDuration |
struct | InputFile |
struct | EncStatsComponent |
struct | EncStats |
struct | KeyframeForceCtx |
struct | OutputStream |
struct | OutputFile |
struct | FrameData |
Macros | |
#define | FFMPEG_OPT_PSNR 1 |
#define | FFMPEG_OPT_MAP_CHANNEL 1 |
#define | FFMPEG_OPT_MAP_SYNC 1 |
#define | FFMPEG_ROTATION_METADATA 1 |
#define | FFMPEG_OPT_QPHIST 1 |
#define | FFMPEG_OPT_ADRIFT_THRESHOLD 1 |
#define | FFMPEG_OPT_ENC_TIME_BASE_NUM 1 |
#define | FFMPEG_OPT_TOP 1 |
#define | FFMPEG_OPT_FORCE_KF_SOURCE_NO_DROP 1 |
#define | DECODING_FOR_OST 1 |
#define | DECODING_FOR_FILTER 2 |
#define | ABORT_ON_FLAG_EMPTY_OUTPUT (1 << 0) |
#define | ABORT_ON_FLAG_EMPTY_OUTPUT_STREAM (1 << 1) |
#define | SPECIFIER_OPT_FMT_str "%s" |
#define | SPECIFIER_OPT_FMT_i "%i" |
#define | SPECIFIER_OPT_FMT_i64 "%"PRId64 |
#define | SPECIFIER_OPT_FMT_ui64 "%"PRIu64 |
#define | SPECIFIER_OPT_FMT_f "%f" |
#define | SPECIFIER_OPT_FMT_dbl "%lf" |
#define | WARN_MULTIPLE_OPT_USAGE(name, type, so, st) |
#define | MATCH_PER_STREAM_OPT(name, type, outvar, fmtctx, st) |
#define | MATCH_PER_TYPE_OPT(name, type, outvar, fmtctx, mediatype) |
Enumerations | |
enum | VideoSyncMethod { VSYNC_AUTO = -1, VSYNC_PASSTHROUGH, VSYNC_CFR, VSYNC_VFR, VSYNC_VSCFR, VSYNC_DROP } |
enum | EncTimeBase { ENC_TIME_BASE_DEMUX = -1, ENC_TIME_BASE_FILTER = -2 } |
enum | HWAccelID { HWACCEL_NONE = 0, HWACCEL_AUTO, HWACCEL_GENERIC } |
enum | forced_keyframes_const { FKF_N, FKF_N_FORCED, FKF_PREV_FORCED_N, FKF_PREV_FORCED_T, FKF_T, FKF_NB } |
enum | EncStatsType { ENC_STATS_LITERAL = 0, ENC_STATS_FILE_IDX, ENC_STATS_STREAM_IDX, ENC_STATS_FRAME_NUM, ENC_STATS_FRAME_NUM_IN, ENC_STATS_TIMEBASE, ENC_STATS_TIMEBASE_IN, ENC_STATS_PTS, ENC_STATS_PTS_TIME, ENC_STATS_PTS_IN, ENC_STATS_PTS_TIME_IN, ENC_STATS_DTS, ENC_STATS_DTS_TIME, ENC_STATS_SAMPLE_NUM, ENC_STATS_NB_SAMPLES, ENC_STATS_PKT_SIZE, ENC_STATS_BITRATE, ENC_STATS_AVG_BITRATE } |
enum | OSTFinished { ENCODER_FINISHED = 1, MUXER_FINISHED = 2 } |
enum | { KF_FORCE_SOURCE = 1, KF_FORCE_SOURCE_NO_DROP = 2 } |
enum VideoSyncMethod |
enum EncTimeBase |
enum HWAccelID |
enum EncStatsType |
enum OSTFinished |
anonymous enum |
void term_init | ( | void | ) |
Definition at line 241 of file ffmpeg.c.
Referenced by assert_file_overwrite().
void term_exit | ( | void | ) |
Definition at line 171 of file ffmpeg.c.
Referenced by assert_file_overwrite(), ffmpeg_cleanup(), and transcode().
void show_usage | ( | void | ) |
Definition at line 1248 of file ffmpeg_opt.c.
Referenced by main(), and show_help_default().
void remove_avoptions | ( | AVDictionary ** | a, |
AVDictionary * | b | ||
) |
Definition at line 446 of file ffmpeg.c.
Referenced by ifile_open().
int check_avoptions | ( | AVDictionary * | m | ) |
Definition at line 455 of file ffmpeg.c.
Referenced by dec_open(), enc_open(), and ifile_open().
int assert_file_overwrite | ( | const char * | filename | ) |
Definition at line 704 of file ffmpeg_opt.c.
Referenced by dump_attachment(), and of_open().
char* file_read | ( | const char * | filename | ) |
Definition at line 750 of file ffmpeg_opt.c.
Referenced by filter_opt_apply(), new_stream_video(), opt_filter_complex_script(), and ost_get_filters().
AVDictionary* strip_specifiers | ( | const AVDictionary * | dict | ) |
Definition at line 169 of file ffmpeg_opt.c.
Referenced by ifile_open(), and validate_enc_avopt().
int find_codec | ( | void * | logctx, |
const char * | name, | ||
enum AVMediaType | type, | ||
int | encoder, | ||
const AVCodec ** | codec | ||
) |
Definition at line 671 of file ffmpeg_opt.c.
Referenced by choose_decoder(), choose_encoder(), and ifile_open().
int parse_and_set_vsync | ( | const char * | arg, |
int * | vsync_var, | ||
int | file_idx, | ||
int | st_idx, | ||
int | is_global | ||
) |
Definition at line 186 of file ffmpeg_opt.c.
Referenced by new_stream_video(), and opt_vsync().
int check_filter_outputs | ( | void | ) |
Definition at line 1349 of file ffmpeg_filter.c.
int filtergraph_is_simple | ( | const FilterGraph * | fg | ) |
Definition at line 1812 of file ffmpeg_filter.c.
Referenced by configure_filtergraph(), ifilter_bind_ist(), and print_stream_maps().
int init_simple_filtergraph | ( | InputStream * | ist, |
OutputStream * | ost, | ||
char * | graph_desc | ||
) |
Definition at line 957 of file ffmpeg_filter.c.
Referenced by ost_add().
int init_complex_filtergraph | ( | FilterGraph * | fg | ) |
Definition at line 1063 of file ffmpeg_filter.c.
Referenced by init_complex_filters().
int copy_av_subtitle | ( | AVSubtitle * | dst, |
const AVSubtitle * | src | ||
) |
Definition at line 651 of file ffmpeg.c.
Referenced by subtitle_wrap_frame().
int subtitle_wrap_frame | ( | AVFrame * | frame, |
AVSubtitle * | subtitle, | ||
int | copy | ||
) |
Definition at line 738 of file ffmpeg.c.
Referenced by fix_sub_duration_heartbeat(), and transcode_subtitles().
Get our axiliary frame data attached to the frame, allocating it if needed.
Definition at line 429 of file ffmpeg.c.
Referenced by choose_out_timebase(), dwt_plane(), fg_output_step(), fg_transcode_step(), generate_raw_frame(), nvenc_retrieve_frame_data(), nvenc_store_frame_data(), and packet_decode().
int ifilter_send_frame | ( | InputFilter * | ifilter, |
AVFrame * | frame, | ||
int | keep_reference | ||
) |
Definition at line 2355 of file ffmpeg_filter.c.
Referenced by send_frame_to_filters().
int ifilter_send_eof | ( | InputFilter * | ifilter, |
int64_t | pts, | ||
AVRational | tb | ||
) |
Definition at line 2307 of file ffmpeg_filter.c.
Referenced by send_filter_eof().
int ifilter_sub2video | ( | InputFilter * | ifilter, |
const AVFrame * | frame | ||
) |
Definition at line 2274 of file ffmpeg_filter.c.
Referenced by process_subtitle(), and sub2video_flush().
void ifilter_sub2video_heartbeat | ( | InputFilter * | ifilter, |
int64_t | pts, | ||
AVRational | tb | ||
) |
Definition at line 2248 of file ffmpeg_filter.c.
Referenced by sub2video_heartbeat().
int ifilter_parameters_from_dec | ( | InputFilter * | ifilter, |
const AVCodecContext * | dec | ||
) |
Set up fallback filtering parameters from a decoder context.
They will only be used if no frames are ever sent on this input, otherwise the actual parameters are taken from the frame.
Definition at line 1749 of file ffmpeg_filter.c.
Referenced by ist_filter_add().
int ofilter_bind_ost | ( | OutputFilter * | ofilter, |
OutputStream * | ost | ||
) |
Definition at line 665 of file ffmpeg_filter.c.
Referenced by init_simple_filtergraph(), and ost_add().
int fg_create | ( | FilterGraph ** | pfg, |
char * | graph_desc | ||
) |
Create a new filtergraph in the global filtergraph list.
graph_desc | Graph description; an av_malloc()ed string, filtergraph takes ownership of it. |
Definition at line 866 of file ffmpeg_filter.c.
Referenced by init_simple_filtergraph(), opt_filter_complex(), and opt_filter_complex_script().
void fg_free | ( | FilterGraph ** | pfg | ) |
Definition at line 800 of file ffmpeg_filter.c.
Referenced by ffmpeg_cleanup().
int fg_transcode_step | ( | FilterGraph * | graph, |
InputStream ** | best_ist | ||
) |
Perform a step of transcoding for the specified filter graph.
[in] | graph | filter graph to consider |
[out] | best_ist | input stream where a frame would allow to continue |
Definition at line 2452 of file ffmpeg_filter.c.
Referenced by transcode_step().
void fg_send_command | ( | FilterGraph * | fg, |
double | time, | ||
const char * | target, | ||
const char * | command, | ||
const char * | arg, | ||
int | all_filters | ||
) |
Definition at line 1818 of file ffmpeg_filter.c.
Referenced by check_keyboard_interaction().
int reap_filters | ( | FilterGraph * | fg, |
int | flush | ||
) |
Get and encode new output from specified filtergraph, without causing activity.
Definition at line 2228 of file ffmpeg_filter.c.
Referenced by fg_transcode_step(), ifilter_send_frame(), and transcode_step().
void enc_stats_write | ( | OutputStream * | ost, |
EncStats * | es, | ||
const AVFrame * | frame, | ||
const AVPacket * | pkt, | ||
uint64_t | frame_num | ||
) |
Definition at line 481 of file ffmpeg_enc.c.
Referenced by encode_frame(), and write_packet().
HWDevice* hw_device_get_by_name | ( | const char * | name | ) |
Definition at line 44 of file ffmpeg_hw.c.
Referenced by hw_device_default_name(), hw_device_init_from_string(), hw_device_setup_for_decode(), and opt_filter_hw_device().
HWDevice* hw_device_get_by_type | ( | enum AVHWDeviceType | type | ) |
Definition at line 30 of file ffmpeg_hw.c.
Referenced by hw_device_match_by_codec(), hw_device_setup_for_decode(), and hw_device_setup_for_encode().
Definition at line 94 of file ffmpeg_hw.c.
Referenced by opt_init_hw_device().
int hw_device_init_from_type | ( | enum AVHWDeviceType | type, |
const char * | device, | ||
HWDevice ** | dev_out | ||
) |
Definition at line 245 of file ffmpeg_hw.c.
Referenced by hw_device_setup_for_decode().
void hw_device_free_all | ( | void | ) |
Definition at line 288 of file ffmpeg_hw.c.
Referenced by ffmpeg_cleanup().
AVBufferRef* hw_device_for_filter | ( | void | ) |
Get a hardware device to be used with this filtergraph.
The returned reference is owned by the callee, the caller must ref it explicitly for long-term use.
Definition at line 342 of file ffmpeg_hw.c.
Referenced by configure_filtergraph().
int hwaccel_retrieve_data | ( | AVCodecContext * | avctx, |
AVFrame * | input | ||
) |
Definition at line 300 of file ffmpeg_hw.c.
Referenced by video_frame_process().
int dec_open | ( | InputStream * | ist | ) |
Definition at line 1070 of file ffmpeg_dec.c.
Referenced by ist_use().
void dec_free | ( | Decoder ** | pdec | ) |
Definition at line 97 of file ffmpeg_dec.c.
Referenced by dec_alloc(), and ist_free().
int dec_packet | ( | InputStream * | ist, |
const AVPacket * | pkt, | ||
int | no_eof | ||
) |
Submit a packet for decoding.
When pkt==NULL and no_eof=0, there will be no more input. Flush decoders and mark all downstreams as finished.
When pkt==NULL and no_eof=1, the stream was reset (e.g. after a seek). Flush decoders and await further input.
Definition at line 772 of file ffmpeg_dec.c.
Referenced by decode_flush(), and process_input_packet().
Definition at line 70 of file ffmpeg_enc.c.
Referenced by ost_add().
void enc_free | ( | Encoder ** | penc | ) |
Definition at line 56 of file ffmpeg_enc.c.
Referenced by enc_alloc(), and ost_free().
int enc_open | ( | OutputStream * | ost, |
const AVFrame * | frame | ||
) |
Definition at line 168 of file ffmpeg_enc.c.
Referenced by enc_frame(), fg_transcode_step(), and init_output_stream_nofilter().
int enc_subtitle | ( | OutputFile * | of, |
OutputStream * | ost, | ||
const AVSubtitle * | sub | ||
) |
Definition at line 395 of file ffmpeg_enc.c.
Referenced by process_subtitle().
int enc_frame | ( | OutputStream * | ost, |
AVFrame * | frame | ||
) |
Definition at line 850 of file ffmpeg_enc.c.
Referenced by fg_output_frame(), and submit_encode_frame().
int enc_flush | ( | void | ) |
Definition at line 863 of file ffmpeg_enc.c.
Referenced by transcode().
int of_stream_init | ( | OutputFile * | of, |
OutputStream * | ost | ||
) |
Definition at line 671 of file ffmpeg_mux.c.
Referenced by enc_open(), and init_output_stream_nofilter().
int of_write_trailer | ( | OutputFile * | of | ) |
Definition at line 799 of file ffmpeg_mux.c.
Referenced by transcode().
int of_open | ( | const OptionsContext * | o, |
const char * | filename | ||
) |
Definition at line 2624 of file ffmpeg_mux_init.c.
void of_free | ( | OutputFile ** | pof | ) |
Definition at line 920 of file ffmpeg_mux.c.
Referenced by ffmpeg_cleanup().
void of_enc_stats_close | ( | void | ) |
Definition at line 235 of file ffmpeg_mux_init.c.
Referenced by ffmpeg_cleanup().
int of_output_packet | ( | OutputFile * | of, |
OutputStream * | ost, | ||
AVPacket * | pkt | ||
) |
Definition at line 349 of file ffmpeg_mux.c.
Referenced by enc_subtitle(), encode_frame(), of_streamcopy(), and process_input().
int of_streamcopy | ( | OutputStream * | ost, |
const AVPacket * | pkt, | ||
int64_t | dts | ||
) |
dts | predicted packet dts in AV_TIME_BASE_Q |
Definition at line 406 of file ffmpeg_mux.c.
Referenced by process_input_packet().
int64_t of_filesize | ( | OutputFile * | of | ) |
Definition at line 947 of file ffmpeg_mux.c.
Referenced by mux_final_stats(), and print_report().
int ifile_open | ( | const OptionsContext * | o, |
const char * | filename | ||
) |
Definition at line 1350 of file ffmpeg_demux.c.
void ifile_close | ( | InputFile ** | f | ) |
Definition at line 807 of file ffmpeg_demux.c.
Referenced by ffmpeg_cleanup().
Get next input packet from the demuxer.
pkt | the packet is written here when this function returns 0 |
Definition at line 723 of file ffmpeg_demux.c.
Referenced by process_input().
int ist_output_add | ( | InputStream * | ist, |
OutputStream * | ost | ||
) |
Definition at line 853 of file ffmpeg_demux.c.
Referenced by ost_add().
int ist_filter_add | ( | InputStream * | ist, |
InputFilter * | ifilter, | ||
int | is_simple | ||
) |
Definition at line 870 of file ffmpeg_demux.c.
Referenced by ifilter_bind_ist().
InputStream* ist_find_unused | ( | enum AVMediaType | type | ) |
Find an unused input stream of given type.
Definition at line 135 of file ffmpeg_demux.c.
Referenced by init_input_filter().
InputStream* ist_iter | ( | InputStream * | prev | ) |
Definition at line 413 of file ffmpeg.c.
Referenced by ist_find_unused(), map_auto_data(), map_auto_subtitle(), print_stream_maps(), and transcode().
OutputStream* ost_iter | ( | OutputStream * | prev | ) |
Definition at line 397 of file ffmpeg.c.
Referenced by choose_output(), enc_flush(), print_report(), print_stream_maps(), and reset_eagain().
void close_output_stream | ( | OutputStream * | ost | ) |
Definition at line 487 of file ffmpeg.c.
Referenced by check_recording_time(), fg_transcode_step(), and submit_encode_frame().
int trigger_fix_sub_duration_heartbeat | ( | OutputStream * | ost, |
const AVPacket * | pkt | ||
) |
Definition at line 771 of file ffmpeg.c.
Referenced by encode_frame(), and of_streamcopy().
int fix_sub_duration_heartbeat | ( | InputStream * | ist, |
int64_t | signal_pts | ||
) |
Definition at line 454 of file ffmpeg_dec.c.
Referenced by ost_add(), and trigger_fix_sub_duration_heartbeat().
void update_benchmark | ( | const char * | fmt, |
... | |||
) |
Definition at line 466 of file ffmpeg.c.
Referenced by encode_frame(), and packet_decode().
Merge two return codes - return one of the error codes if at least one of them was negative, 0 otherwise.
Currently just picks the first one, eventually we might want to do something more sophisticated, like sorting them by priority.
Definition at line 889 of file ffmpeg.h.
Referenced by check_written(), dec_packet(), ifile_open(), of_write_trailer(), and transcode().
|
inlinestatic |
Definition at line 945 of file ffmpeg.h.
Referenced by dec_thread_start(), and thread_start().
|
inlinestatic |
Definition at line 950 of file ffmpeg.h.
Referenced by dec_thread_start().
const char* const forced_keyframes_const_names[] |
Definition at line 2399 of file ffmpeg_mux_init.c.
Referenced by process_forced_keyframes().
InputFile** input_files |
Definition at line 123 of file ffmpeg.c.
Referenced by apply_sync_offsets(), assert_file_overwrite(), configure_input_audio_filter(), configure_input_video_filter(), copy_meta(), correct_input_start_times(), decoder_thread(), demux_alloc(), ffmpeg_cleanup(), fg_transcode_step(), init_input_filter(), input_packet_process(), ist_iter(), map_auto_audio(), map_auto_video(), map_manual(), new_stream_video(), opt_map(), opt_map_channel(), opt_target(), packet_decode(), process_input(), process_input_packet(), reset_eagain(), streamcopy_init(), transcode(), transcode_step(), and video_duration_estimate().
int nb_input_files |
Definition at line 124 of file ffmpeg.c.
Referenced by apply_sync_offsets(), assert_file_overwrite(), copy_meta(), correct_input_start_times(), demux_alloc(), ffmpeg_cleanup(), init_input_filter(), ist_iter(), main(), map_auto_audio(), map_auto_video(), opt_map(), opt_map_channel(), opt_target(), reset_eagain(), and thread_start().
OutputFile** output_files |
Definition at line 126 of file ffmpeg.c.
Referenced by check_recording_time(), close_output_stream(), configure_output_audio_filter(), configure_output_video_filter(), enc_flush(), enc_frame(), enc_open(), enc_subtitle(), ffmpeg_cleanup(), init_output_stream_nofilter(), mux_alloc(), mux_check_init(), new_stream_video(), of_streamcopy(), ofilter_bind_ost(), ost_iter(), print_report(), print_sdp(), process_input(), process_subtitle(), transcode(), and trigger_fix_sub_duration_heartbeat().
int nb_output_files |
Definition at line 127 of file ffmpeg.c.
Referenced by create_streams(), ffmpeg_cleanup(), main(), mux_alloc(), mux_check_init(), ost_iter(), print_report(), print_sdp(), and transcode().
FilterGraph** filtergraphs |
Definition at line 129 of file ffmpeg.c.
Referenced by check_filter_outputs(), check_keyboard_interaction(), create_streams(), ffmpeg_cleanup(), fg_create(), init_complex_filters(), map_manual(), and transcode_step().
int nb_filtergraphs |
Definition at line 130 of file ffmpeg.c.
Referenced by check_filter_outputs(), check_keyboard_interaction(), create_streams(), ffmpeg_cleanup(), fg_create(), init_complex_filters(), map_manual(), print_stream_maps(), and transcode_step().
char* vstats_filename |
Definition at line 65 of file ffmpeg_opt.c.
Referenced by encode_frame(), ffmpeg_cleanup(), opt_vstats_file(), and update_video_stats().
char* sdp_filename |
Definition at line 66 of file ffmpeg_opt.c.
Referenced by mux_check_init(), opt_sdp_file(), and print_sdp().
float dts_delta_threshold |
Definition at line 69 of file ffmpeg_opt.c.
Referenced by ts_discontinuity_detect().
float dts_error_threshold |
Definition at line 70 of file ffmpeg_opt.c.
Referenced by ts_discontinuity_detect(), and video_sync_process().
enum VideoSyncMethod video_sync_method |
Definition at line 72 of file ffmpeg_opt.c.
Referenced by new_stream_video(), opt_vsync(), and parse_and_set_vsync().
float frame_drop_threshold |
Definition at line 73 of file ffmpeg_opt.c.
Referenced by video_sync_process().
int do_benchmark |
Definition at line 74 of file ffmpeg_opt.c.
Referenced by ffmpeg_cleanup(), and main().
int do_benchmark_all |
Definition at line 75 of file ffmpeg_opt.c.
Referenced by update_benchmark().
int do_hex_dump |
Definition at line 76 of file ffmpeg_opt.c.
Referenced by input_thread().
int do_pkt_dump |
Definition at line 77 of file ffmpeg_opt.c.
Referenced by input_thread().
int copy_ts |
Definition at line 78 of file ffmpeg_opt.c.
Referenced by apply_sync_offsets(), configure_input_audio_filter(), configure_input_video_filter(), correct_input_start_times(), ifile_open(), new_stream_video(), print_report(), process_input_packet(), readrate_sleep(), streamcopy_init(), and ts_discontinuity_detect().
int start_at_zero |
Definition at line 79 of file ffmpeg_opt.c.
Referenced by apply_sync_offsets(), configure_input_audio_filter(), configure_input_video_filter(), correct_input_start_times(), ifile_open(), process_input_packet(), and readrate_sleep().
int copy_tb |
Definition at line 80 of file ffmpeg_opt.c.
Referenced by avformat_transfer_internal_stream_timing_info(), and streamcopy_init().
int debug_ts |
Definition at line 81 of file ffmpeg_opt.c.
Referenced by adjust_frame_pts_to_encoder_tb(), encode_frame(), fg_output_step(), input_packet_process(), video_frame_process(), and write_packet().
int exit_on_error |
Definition at line 82 of file ffmpeg_opt.c.
Referenced by enc_subtitle(), input_thread(), of_output_packet(), packet_decode(), process_input(), transcode_subtitles(), and write_packet().
int abort_on_flags |
Definition at line 83 of file ffmpeg_opt.c.
Referenced by check_written(), and opt_abort_on().
int print_stats |
Definition at line 84 of file ffmpeg_opt.c.
Referenced by print_report().
int64_t stats_period |
Definition at line 91 of file ffmpeg_opt.c.
Referenced by opt_stats_period(), and print_report().
int stdin_interaction |
Definition at line 85 of file ffmpeg_opt.c.
Referenced by assert_file_overwrite(), ifile_open(), term_init(), and transcode().
AVIOContext* progress_avio |
Definition at line 121 of file ffmpeg.c.
Referenced by print_report().
float max_error_rate |
Definition at line 86 of file ffmpeg_opt.c.
Referenced by transcode().
char* filter_nbthreads |
Definition at line 87 of file ffmpeg_opt.c.
Referenced by configure_filtergraph(), ffmpeg_cleanup(), and opt_filter_threads().
int filter_complex_nbthreads |
Definition at line 88 of file ffmpeg_opt.c.
Referenced by configure_filtergraph().
int vstats_version |
Definition at line 89 of file ffmpeg_opt.c.
Referenced by update_video_stats().
int auto_conversion_filters |
Definition at line 90 of file ffmpeg_opt.c.
Referenced by fg_create().
const AVIOInterruptCB int_cb |
Definition at line 346 of file ffmpeg.c.
Referenced by avio_open2(), dump_attachment(), enc_stats_get_file(), ff_network_sleep_interruptible(), ff_network_wait_fd_timeout(), ffio_open_whitelist(), ffurl_alloc(), ffurl_open_whitelist(), get_preset_file_2(), ifile_open(), libsrt_network_wait_fd_timeout(), of_add_attachments(), of_open(), print_sdp(), read_binary(), url_alloc_for_protocol(), and zmq_proto_wait_timeout().
const OptionDef options[] |
Referenced by av_bsf_list_append2(), av_hwdevice_ctx_create_derived_opts(), av_opt_set_dict(), av_opt_set_dict2(), avcodec_open2(), avfilter_init_dict(), avfilter_init_str(), avformat_find_stream_info(), avformat_init_output(), avformat_open_input(), avformat_write_header(), avio_open2(), bsf_list_append_internal(), dnn_load_model_tf(), ff_filter_opt_parse(), ff_format_output_open(), ff_opus_psy_init(), ff_tee_parse_slave_options(), ff_tls_open_underlying(), ffio_open_whitelist(), get_output_ov(), hls_read_header(), hw_device_init_from_string(), init(), init_input(), init_muxer(), io_open_default(), list_devices_for_context(), locate_option(), main(), open_url_keepalive(), opt_audio_codec(), opt_audio_filters(), opt_audio_frames(), opt_audio_qscale(), 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(), parse_loglevel(), parse_option(), parse_options(), pcm_read_header(), pp_get_mode_by_name_and_quality(), set_string_dict(), show_banner(), show_help_default(), show_help_options(), split_commandline(), subfile_open(), tee_open(), try_decode_frame(), uninit_options(), wrap(), and write_packet().
HWDevice* filter_hw_device |
Definition at line 63 of file ffmpeg_opt.c.
Referenced by hw_device_for_filter(), and opt_filter_hw_device().
unsigned nb_output_dumped |
Definition at line 118 of file ffmpeg.c.
Referenced by mux_check_init(), and print_report().
int ignore_unknown_streams |
Definition at line 99 of file ffmpeg_opt.c.
Referenced by map_manual().
int copy_unknown_streams |
Definition at line 100 of file ffmpeg_opt.c.
Referenced by map_manual().
int recast_media |
Definition at line 101 of file ffmpeg_opt.c.
Referenced by choose_decoder(), and find_codec().
FILE* vstats_file |
Definition at line 107 of file ffmpeg.c.
Referenced by ffmpeg_cleanup(), and update_video_stats().
int do_psnr |
Definition at line 97 of file ffmpeg_opt.c.
Referenced by new_stream_video().
const char* const opt_name_codec_names[] |
Definition at line 56 of file ffmpeg_opt.c.
const char* const opt_name_codec_tags[] |
Definition at line 58 of file ffmpeg_opt.c.
const char* const opt_name_frame_rates[] |
Definition at line 57 of file ffmpeg_opt.c.
const char* const opt_name_top_field_first[] |
Definition at line 60 of file ffmpeg_opt.c.