#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_GLOBALHEADER | |
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 AVMetadataConv * | metadata_conv |
struct AVOutputFormat * | next |
Definition at line 278 of file avformat.h.
default audio codec
Definition at line 291 of file avformat.h.
Referenced by av_guess_codec(), main(), opt_output_file(), and parse_ffconfig().
struct AVCodecTag* const* AVOutputFormat::codec_tag [read] |
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 307 of file avformat.h.
Referenced by av_encode(), and av_write_header().
const char* AVOutputFormat::extensions |
comma-separated filename extensions
Definition at line 287 of file avformat.h.
Referenced by guess_format().
can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_GLOBALHEADER
Definition at line 297 of file avformat.h.
Referenced by add_video_stream(), av_exit(), av_interleaved_write_frame(), av_write_frame(), av_write_header(), do_video_out(), dump_stream_format(), main(), new_audio_stream(), new_video_stream(), open_video(), opt_output_file(), output_packet(), and write_video_frame().
int(* AVOutputFormat::interleave_packet)(struct AVFormatContext *, AVPacket *out, AVPacket *in, int flush) |
Referenced by av_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 285 of file avformat.h.
Referenced by show_formats().
const char* AVOutputFormat::mime_type |
const char* AVOutputFormat::name |
Definition at line 279 of file avformat.h.
Referenced by av_guess_codec(), build_file_streams(), compute_status(), dump_format(), format_to_name(), guess_format(), guess_stream_format(), http_parse_request(), http_receive_data(), mov_write_header(), opt_output_file(), parse_ffconfig(), rtsp_cmd_describe(), rtsp_cmd_setup(), show_formats(), and swf_write_header().
struct AVOutputFormat* AVOutputFormat::next [read] |
Definition at line 314 of file avformat.h.
Referenced by av_oformat_next(), av_register_output_format(), and guess_format().
size of private data so that it can be allocated in the wrapper
Definition at line 289 of file avformat.h.
Referenced by av_set_parameters(), and av_write_header().
int(* AVOutputFormat::set_parameters)(struct AVFormatContext *, AVFormatParameters *) |
default video codec
Definition at line 292 of file avformat.h.
Referenced by av_guess_codec(), main(), opt_output_file(), and parse_ffconfig().
int(* AVOutputFormat::write_header)(struct AVFormatContext *) |
Referenced by av_write_header().
int(* AVOutputFormat::write_packet)(struct AVFormatContext *, AVPacket *pkt) |
Referenced by av_interleaved_write_frame(), av_write_frame(), and av_write_trailer().
int(* AVOutputFormat::write_trailer)(struct AVFormatContext *) |
Referenced by av_write_trailer().