AVOutputFormat Struct Reference

#include <avformat.h>


Data Fields

const char * name
const char * long_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 ** codec_tag
 list of supported codec_id-codec_tag pairs, ordered by "better choice first" the arrays are all CODEC_ID_NONE terminated
enum CodecID subtitle_codec
 default subtitle codec
struct AVOutputFormatnext


Detailed Description

Definition at line 163 of file avformat.h.


Field Documentation

const char* AVOutputFormat::name

Definition at line 165 of file avformat.h.

Referenced by opt_show_formats().

Definition at line 166 of file avformat.h.

Referenced by guess_format(), and http_parse_request().

comma separated filename extensions

Definition at line 167 of file avformat.h.

Referenced by guess_format().

size of private data so that it can be allocated in the wrapper

Definition at line 169 of file avformat.h.

Referenced by av_set_parameters(), and av_write_header().

default audio codec

Definition at line 171 of file avformat.h.

Referenced by av_guess_codec(), main(), opt_output_file(), and parse_ffconfig().

default video codec

Definition at line 172 of file avformat.h.

Referenced by av_guess_codec(), main(), opt_output_file(), and parse_ffconfig().

Referenced by av_write_header().

Referenced by av_write_trailer().

can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_GLOBALHEADER

Definition at line 177 of file avformat.h.

Referenced by av_exit(), av_interleaved_write_frame(), av_write_frame(), do_video_out(), dump_stream_format(), main(), new_audio_stream(), new_video_stream(), open_video(), opt_output_file(), output_packet(), and write_video_frame().

currently only used to set pixel format if not YUV420P

Referenced by av_set_parameters().

int(* AVOutputFormat::interleave_packet)(struct AVFormatContext *, AVPacket *out, AVPacket *in, int flush)

Referenced by av_interleave_packet().

list of supported codec_id-codec_tag pairs, ordered by "better choice first" the arrays are all CODEC_ID_NONE terminated

Definition at line 186 of file avformat.h.

Referenced by av_encode(), and av_write_header().

default subtitle codec

Definition at line 188 of file avformat.h.

Referenced by opt_output_file().

Definition at line 191 of file avformat.h.

Referenced by av_oformat_next(), av_register_output_format(), and guess_format().


The documentation for this struct was generated from the following file:

Generated on Thu Apr 2 07:15:45 2009 for ffmpeg by  doxygen 1.5.6