#include <avformat.h>
Data Fields | |
const char * | name |
const char * | long_name |
Descriptive name for the format, meant to be more human-readable than name. | |
const char * | mime_type |
const char * | extensions |
comma-separated filename extensions | |
int | priv_data_size |
size of private data so that it can be allocated in the wrapper | |
enum CodecID | audio_codec |
default audio codec | |
enum CodecID | video_codec |
default video codec | |
int(* | write_header )(struct AVFormatContext *) |
int(* | write_packet )(struct AVFormatContext *, AVPacket *pkt) |
int(* | write_trailer )(struct AVFormatContext *) |
int | flags |
can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_RAWPICTURE, AVFMT_GLOBALHEADER, AVFMT_NOTIMESTAMPS, AVFMT_VARIABLE_FPS, AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS | |
int(* | set_parameters )(struct AVFormatContext *, AVFormatParameters *) |
Currently only used to set pixel format if not YUV420P. | |
int(* | interleave_packet )(struct AVFormatContext *, AVPacket *out, AVPacket *in, int flush) |
struct AVCodecTag *const * | codec_tag |
List of supported codec_id-codec_tag pairs, ordered by "better
choice first". | |
enum CodecID | subtitle_codec |
default subtitle codec | |
const AVClass * | priv_class |
AVClass for the private context. | |
int(* | query_codec )(enum CodecID id, int std_compliance) |
Test if the given codec can be stored in this container. | |
struct AVOutputFormat * | next |
Definition at line 388 of file avformat.h.
enum CodecID AVOutputFormat::audio_codec |
default audio codec
Definition at line 403 of file avformat.h.
Referenced by av_guess_codec(), avformat_query_codec(), main(), opt_output_file(), and parse_ffconfig().
struct AVCodecTag* const* AVOutputFormat::codec_tag |
List of supported codec_id-codec_tag pairs, ordered by "better choice first".
The arrays are all terminated by CODEC_ID_NONE.
Definition at line 425 of file avformat.h.
Referenced by avformat_query_codec(), avformat_write_header(), transcode(), transcode_init(), and validate_codec_tag().
const char* AVOutputFormat::extensions |
comma-separated filename extensions
Definition at line 397 of file avformat.h.
Referenced by av_guess_format().
int AVOutputFormat::flags |
can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_RAWPICTURE, AVFMT_GLOBALHEADER, AVFMT_NOTIMESTAMPS, AVFMT_VARIABLE_FPS, AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS
Definition at line 413 of file avformat.h.
Referenced by add_audio_stream(), add_video_stream(), av_interleaved_write_frame(), av_write_frame(), avformat_write_header(), do_video_out(), dump_stream_format(), exit_program(), flush_encoders(), main(), new_audio_stream(), new_data_stream(), new_output_stream(), new_subtitle_stream(), new_video_stream(), open_video(), opt_output_file(), output_packet(), seg_write_header(), transcode(), transcode_init(), and write_video_frame().
int(* AVOutputFormat::interleave_packet)(struct AVFormatContext *, AVPacket *out, AVPacket *in, int flush) |
Definition at line 418 of file avformat.h.
Referenced by interleave_packet().
const char* AVOutputFormat::long_name |
Descriptive name for the format, meant to be more human-readable than name.
You should use the NULL_IF_CONFIG_SMALL() macro to define it.
Definition at line 395 of file avformat.h.
Referenced by show_formats().
const char* AVOutputFormat::mime_type |
Definition at line 396 of file avformat.h.
Referenced by av_guess_format(), and http_parse_request().
const char* AVOutputFormat::name |
Definition at line 389 of file avformat.h.
Referenced by av_dump_format(), av_guess_codec(), av_guess_format(), avserver_guess_format(), build_file_streams(), compute_status(), format_to_name(), http_parse_request(), http_receive_data(), mkv_write_header(), mov_write_header(), opt_output_file(), parse_ffconfig(), rtsp_cmd_describe(), rtsp_cmd_setup(), seg_write_header(), show_formats(), swf_write_header(), and transcode_init().
struct AVOutputFormat* AVOutputFormat::next |
Definition at line 444 of file avformat.h.
Referenced by av_oformat_next(), and av_register_output_format().
const AVClass* AVOutputFormat::priv_class |
AVClass for the private context.
Definition at line 433 of file avformat.h.
Referenced by av_write_trailer(), avformat_write_header(), ff_rtp_get_payload_type(), format_child_class_next(), format_child_next(), segment_end(), segment_start(), and show_help().
int AVOutputFormat::priv_data_size |
size of private data so that it can be allocated in the wrapper
Definition at line 401 of file avformat.h.
Referenced by avformat_write_header(), and segment_start().
Test if the given codec can be stored in this container.
Definition at line 441 of file avformat.h.
Referenced by avformat_query_codec().
int(* AVOutputFormat::set_parameters)(struct AVFormatContext *, AVFormatParameters *) |
Currently only used to set pixel format if not YUV420P.
Definition at line 417 of file avformat.h.
enum CodecID AVOutputFormat::subtitle_codec |
default subtitle codec
Definition at line 427 of file avformat.h.
Referenced by av_guess_codec(), avformat_query_codec(), and opt_output_file().
enum CodecID AVOutputFormat::video_codec |
default video codec
Definition at line 404 of file avformat.h.
Referenced by av_guess_codec(), avformat_query_codec(), main(), opt_output_file(), and parse_ffconfig().
int(* AVOutputFormat::write_header)(struct AVFormatContext *) |
Definition at line 405 of file avformat.h.
Referenced by avformat_write_header(), and segment_start().
int(* AVOutputFormat::write_packet)(struct AVFormatContext *, AVPacket *pkt) |
Definition at line 406 of file avformat.h.
Referenced by av_interleaved_write_frame(), av_write_frame(), av_write_trailer(), and seg_write_packet().
int(* AVOutputFormat::write_trailer)(struct AVFormatContext *) |
Definition at line 407 of file avformat.h.
Referenced by av_write_trailer(), and segment_end().