FFmpeg
|
#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) |
Detailed Description
Definition at line 377 of file avformat.h.
Field Documentation
enum AVCodecID AVOutputFormat::audio_codec |
default audio codec
Definition at line 388 of file avformat.h.
Referenced by av_guess_codec(), avformat_query_codec(), main(), open_output_file(), parse_ffconfig(), and show_help_muxer().
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 403 of file avformat.h.
Referenced by avformat_query_codec(), init_muxer(), segment_mux_init(), transcode_init(), and validate_codec_tag().
const char* AVOutputFormat::extensions |
comma-separated filename extensions
Definition at line 386 of file avformat.h.
Referenced by av_guess_format(), and show_help_muxer().
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 397 of file avformat.h.
Referenced by add_stream(), av_interleaved_write_frame(), av_write_frame(), compute_pkt_fields2(), do_streamcopy(), do_video_out(), dump_stream_format(), exit_program(), flush_encoders(), init_muxer(), main(), new_output_stream(), open_output_file(), open_slave(), seg_write_header(), tee_write_trailer(), transcode_init(), write_frame(), write_header(), and write_video_frame().
void(* AVOutputFormat::get_output_timestamp) (struct AVFormatContext *s, int stream, int64_t *dts, int64_t *wall) |
Definition at line 445 of file avformat.h.
Referenced by av_get_output_timestamp().
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 434 of file avformat.h.
Referenced by 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 384 of file avformat.h.
Referenced by show_formats(), and show_help_muxer().
const char* AVOutputFormat::mime_type |
Definition at line 385 of file avformat.h.
Referenced by av_guess_format(), http_parse_request(), and show_help_muxer().
const char* AVOutputFormat::name |
Definition at line 378 of file avformat.h.
Referenced by 7digital-python.lockerEndpoint.LockerArtist::__init__(), 7digital-python.lib.py7digital.Artist::__init__(), 7digital-python.lib.py7digital.Tag::__init__(), 7digital-python.lib.py7digital.Label::__init__(), amr_read_packet(), asf_write_trailer(), audio_read_close(), av_dump_format(), av_guess_codec(), av_guess_format(), build_file_streams(), compute_status(), daud_write_packet(), ff_raw_write_packet(), ffserver_guess_format(), format_to_name(), 7digital-python.lib.py7digital.Artist::get_name(), 7digital-python.lib.py7digital.Tag::get_name(), 7digital-python.lib.py7digital.Label::get_name(), http_parse_request(), http_receive_data(), md5_finish(), mkv_write_header(), mmf_read_packet(), mov_write_header(), mov_write_trailer(), open_output_file(), parse_ffconfig(), query_codec(), rtsp_cmd_describe(), rtsp_cmd_setup(), seg_write_header(), 7digital-python.lib.py7digital.Artist::set_name(), 7digital-python.lib.py7digital.Tag::set_name(), 7digital-python.lib.py7digital.Label::set_name(), show_formats(), show_help_muxer(), swf_write_header(), swf_write_trailer(), and transcode_init().
struct AVOutputFormat* AVOutputFormat::next |
Definition at line 415 of file avformat.h.
Referenced by av_oformat_next(), and av_register_output_format().
const AVClass* AVOutputFormat::priv_class |
AVClass for the private context.
Definition at line 406 of file avformat.h.
Referenced by av_write_trailer(), avformat_alloc_output_context2(), ff_rtp_get_payload_type(), format_child_class_next(), format_child_next(), hls_start(), init_muxer(), segment_start(), show_format_opts(), and show_help_muxer().
int AVOutputFormat::priv_data_size |
size of private data so that it can be allocated in the wrapper
Definition at line 419 of file avformat.h.
Referenced by avformat_alloc_output_context2(), and init_muxer().
Test if the given codec can be stored in this container.
- Returns
- 1 if the codec is supported, 0 if it is not. A negative number if unknown. MKTAG('A', 'P', 'I', 'C') if the codec is only supported as AV_DISPOSITION_ATTACHED_PIC
Definition at line 443 of file avformat.h.
Referenced by avformat_query_codec().
enum AVCodecID AVOutputFormat::subtitle_codec |
default subtitle codec
Definition at line 390 of file avformat.h.
Referenced by av_guess_codec(), avformat_query_codec(), open_output_file(), and show_help_muxer().
enum AVCodecID AVOutputFormat::video_codec |
default video codec
Definition at line 389 of file avformat.h.
Referenced by av_guess_codec(), avformat_query_codec(), main(), open_output_file(), parse_ffconfig(), and show_help_muxer().
int(* AVOutputFormat::write_header) (struct AVFormatContext *) |
Definition at line 421 of file avformat.h.
Referenced by avformat_write_header().
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 429 of file avformat.h.
Referenced by av_write_frame(), and split_write_packet().
int(* AVOutputFormat::write_trailer) (struct AVFormatContext *) |
Definition at line 430 of file avformat.h.
Referenced by av_write_trailer().
The documentation for this struct was generated from the following file:
Generated on Mon Nov 18 2024 06:52:11 for FFmpeg by 1.8.11