AVOutputFormat Struct Reference

#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 AVMetadataConvmetadata_conv
const AVClasspriv_class
 AVClass for the private context.
struct AVOutputFormatnext


Detailed Description

Definition at line 279 of file avformat.h.


Field Documentation

const char* AVOutputFormat::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 286 of file avformat.h.

Referenced by show_formats().

Definition at line 287 of file avformat.h.

Referenced by av_guess_format(), and http_parse_request().

comma-separated filename extensions

Definition at line 288 of file avformat.h.

Referenced by av_guess_format().

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

Definition at line 292 of file avformat.h.

Referenced by av_set_parameters(), and av_write_header().

default audio codec

Definition at line 294 of file avformat.h.

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

default video codec

Definition at line 295 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_RAWPICTURE, AVFMT_GLOBALHEADER, AVFMT_NOTIMESTAMPS, AVFMT_VARIABLE_FPS, AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS

Definition at line 304 of file avformat.h.

Referenced by add_audio_stream(), add_video_stream(), av_interleaved_write_frame(), av_write_frame(), av_write_header(), do_video_out(), dump_stream_format(), ffmpeg_exit(), main(), new_audio_stream(), new_subtitle_stream(), new_video_stream(), open_video(), opt_output_file(), output_packet(), transcode(), 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().

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 316 of file avformat.h.

Referenced by av_write_header(), transcode(), and validate_codec_tag().

default subtitle codec

Definition at line 318 of file avformat.h.

Referenced by av_guess_codec(), and opt_output_file().

Definition at line 321 of file avformat.h.

AVClass for the private context.

Definition at line 324 of file avformat.h.

Referenced by av_set_parameters(), opt_default(), set_context_opts(), and show_help().

Definition at line 327 of file avformat.h.

Referenced by av_oformat_next(), and av_register_output_format().


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

Generated on Mon May 2 19:50:33 2011 for FFmpeg by  doxygen 1.5.6