|
FFmpeg
|
Public Attributes | |
| 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 | |
| enum AVCodecID | audio_codec |
| default audio codec | |
| enum AVCodecID | video_codec |
| default video codec | |
| enum AVCodecID | subtitle_codec |
| default subtitle codec | |
| int | flags |
| can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_GLOBALHEADER, AVFMT_NOTIMESTAMPS, AVFMT_VARIABLE_FPS, AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS, AVFMT_ALLOW_FLUSH, AVFMT_TS_NONSTRICT, AVFMT_TS_NEGATIVE | |
| 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. | |
| struct AVOutputFormat * | next |
| int | priv_data_size |
| size of private data so that it can be allocated in the wrapper | |
| 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. | |
| 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. | |
| 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 | |
| int(* | init )(struct AVFormatContext *) |
| Initialize format. More... | |
| void(* | deinit )(struct AVFormatContext *) |
| Deinitialize format. More... | |
| int(* | check_bitstream )(struct AVFormatContext *, const AVPacket *pkt) |
| Set up any necessary bitstream filtering and extract any extra data needed for the global header. More... | |
| int(* AVOutputFormat::check_bitstream) (struct AVFormatContext *, const AVPacket *pkt) |
Set up any necessary bitstream filtering and extract any extra data needed for the global header.
Return 0 if more packets from this stream must be checked; 1 if not.
| 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.
| int(* AVOutputFormat::create_device_capabilities) (struct AVFormatContext *s, struct AVDeviceCapabilitiesQuery *caps) |
Initialize device capabilities submodule.
| void(* AVOutputFormat::deinit) (struct AVFormatContext *) |
Deinitialize format.
If present, this is called whenever the muxer is being destroyed, regardless of whether or not the header has been written.
If a trailer is being written, this is called after write_trailer().
This is called if init() fails as well.
| int(* AVOutputFormat::free_device_capabilities) (struct AVFormatContext *s, struct AVDeviceCapabilitiesQuery *caps) |
Free device capabilities submodule.
| int(* AVOutputFormat::get_device_list) (struct AVFormatContext *s, struct AVDeviceInfoList *device_list) |
Returns device list with it properties.
| int(* AVOutputFormat::init) (struct AVFormatContext *) |
Initialize format.
May allocate data here, and set any AVFormatContext or AVStream parameters that need to be set before packets are sent. This method must not write output.
Return 0 if streams were fully configured, 1 if not, negative AVERROR on failure
Any allocations made here must be freed in deinit().
| 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.
| int(* AVOutputFormat::query_codec) (enum AVCodecID id, int std_compliance) |
Test if the given codec can be stored in this container.
| 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.
| 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.
1.8.12