FFmpeg
2.8.6
|
#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. More... | |
const char * | mime_type |
const char * | extensions |
comma-separated filename extensions More... | |
enum AVCodecID | audio_codec |
default audio codec More... | |
enum AVCodecID | video_codec |
default video codec More... | |
enum AVCodecID | subtitle_codec |
default subtitle codec More... | |
int | flags |
can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_RAWPICTURE, AVFMT_GLOBALHEADER, AVFMT_NOTIMESTAMPS, AVFMT_VARIABLE_FPS, AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS, AVFMT_ALLOW_FLUSH, AVFMT_TS_NONSTRICT More... | |
const struct AVCodecTag *const * | codec_tag |
List of supported codec_id-codec_tag pairs, ordered by "better
choice first". More... | |
const AVClass * | priv_class |
AVClass for the private context. More... | |
struct AVOutputFormat * | next |
int | priv_data_size |
size of private data so that it can be allocated in the wrapper More... | |
int(* | write_header )(struct AVFormatContext *) |
int(* | write_packet )(struct AVFormatContext *, AVPacket *pkt) |
Write a packet. More... | |
int(* | write_trailer )(struct AVFormatContext *) |
int(* | interleave_packet )(struct AVFormatContext *, AVPacket *out, AVPacket *in, int flush) |
Currently only used to set pixel format if not YUV420P. More... | |
int(* | query_codec )(enum AVCodecID id, int std_compliance) |
Test if the given codec can be stored in this container. More... | |
void(* | get_output_timestamp )(struct AVFormatContext *s, int stream, int64_t *dts, int64_t *wall) |
int(* | control_message )(struct AVFormatContext *s, int type, void *data, size_t data_size) |
Allows sending messages from application to device. More... | |
int(* | write_uncoded_frame )(struct AVFormatContext *, int stream_index, AVFrame **frame, unsigned flags) |
Write an uncoded AVFrame. More... | |
int(* | get_device_list )(struct AVFormatContext *s, struct AVDeviceInfoList *device_list) |
Returns device list with it properties. More... | |
int(* | create_device_capabilities )(struct AVFormatContext *s, struct AVDeviceCapabilitiesQuery *caps) |
Initialize device capabilities submodule. More... | |
int(* | free_device_capabilities )(struct AVFormatContext *s, struct AVDeviceCapabilitiesQuery *caps) |
Free device capabilities submodule. More... | |
enum AVCodecID | data_codec |
default data codec More... | |
Definition at line 524 of file avformat.h.
const char* AVOutputFormat::name |
Definition at line 525 of file avformat.h.
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 531 of file avformat.h.
const char* AVOutputFormat::mime_type |
Definition at line 532 of file avformat.h.
const char* AVOutputFormat::extensions |
comma-separated filename extensions
Definition at line 533 of file avformat.h.
enum AVCodecID AVOutputFormat::audio_codec |
default audio codec
Definition at line 535 of file avformat.h.
Referenced by main().
enum AVCodecID AVOutputFormat::video_codec |
default video codec
Definition at line 536 of file avformat.h.
Referenced by main().
enum AVCodecID AVOutputFormat::subtitle_codec |
default subtitle codec
Definition at line 537 of file avformat.h.
int AVOutputFormat::flags |
can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_RAWPICTURE, AVFMT_GLOBALHEADER, AVFMT_NOTIMESTAMPS, AVFMT_VARIABLE_FPS, AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS, AVFMT_ALLOW_FLUSH, AVFMT_TS_NONSTRICT
Definition at line 544 of file avformat.h.
Referenced by add_stream(), main(), open_output_file(), and write_video_frame().
const 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 AV_CODEC_ID_NONE.
Definition at line 550 of file avformat.h.
const AVClass* AVOutputFormat::priv_class |
AVClass for the private context.
Definition at line 553 of file avformat.h.
struct AVOutputFormat* AVOutputFormat::next |
Definition at line 562 of file avformat.h.
int AVOutputFormat::priv_data_size |
size of private data so that it can be allocated in the wrapper
Definition at line 566 of file avformat.h.
int(* AVOutputFormat::write_header)(struct AVFormatContext *) |
Definition at line 568 of file avformat.h.
int(* AVOutputFormat::write_packet)(struct AVFormatContext *, AVPacket *pkt) |
Write a packet.
If AVFMT_ALLOW_FLUSH is set in flags, pkt can be NULL in order to flush data buffered in the muxer. When flushing, return 0 if there still is more data to flush, or 1 if everything was flushed and there is no more buffered data.
Definition at line 576 of file avformat.h.
int(* AVOutputFormat::write_trailer)(struct AVFormatContext *) |
Definition at line 577 of file avformat.h.
int(* AVOutputFormat::interleave_packet)(struct AVFormatContext *, AVPacket *out, AVPacket *in, int flush) |
Currently only used to set pixel format if not YUV420P.
Definition at line 581 of file avformat.h.
int(* AVOutputFormat::query_codec)(enum AVCodecID id, int std_compliance) |
Test if the given codec can be stored in this container.
Definition at line 590 of file avformat.h.
void(* AVOutputFormat::get_output_timestamp)(struct AVFormatContext *s, int stream, int64_t *dts, int64_t *wall) |
Definition at line 592 of file avformat.h.
int(* AVOutputFormat::control_message)(struct AVFormatContext *s, int type, void *data, size_t data_size) |
Allows sending messages from application to device.
Definition at line 597 of file avformat.h.
int(* AVOutputFormat::write_uncoded_frame)(struct AVFormatContext *, int stream_index, AVFrame **frame, unsigned flags) |
Write an uncoded AVFrame.
See av_write_uncoded_frame() for details.
The library will free *frame afterwards, but the muxer can prevent it by setting the pointer to NULL.
Definition at line 608 of file avformat.h.
int(* AVOutputFormat::get_device_list)(struct AVFormatContext *s, struct AVDeviceInfoList *device_list) |
Returns device list with it properties.
Definition at line 614 of file avformat.h.
int(* AVOutputFormat::create_device_capabilities)(struct AVFormatContext *s, struct AVDeviceCapabilitiesQuery *caps) |
Initialize device capabilities submodule.
Definition at line 619 of file avformat.h.
int(* AVOutputFormat::free_device_capabilities)(struct AVFormatContext *s, struct AVDeviceCapabilitiesQuery *caps) |
Free device capabilities submodule.
Definition at line 624 of file avformat.h.
enum AVCodecID AVOutputFormat::data_codec |
default data codec
Definition at line 625 of file avformat.h.