ffmpeg.libavformat.avformat

Undocumented in source.

Members

Aliases

AVOpenCallback
alias AVOpenCallback = int function(AVFormatContext* s, AVIOContext** pb, const(char)* url, int flags, const(AVIOInterruptCB)* int_cb, AVDictionary** options)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_control_message
alias av_format_control_message = int function(AVFormatContext* s, int type, void* data, size_t data_size)

Callback used by devices to communicate with application.

Enums

AVDurationEstimationMethod
enum AVDurationEstimationMethod

The duration of a video can be estimated through various ways, and this enum can be used to know how the duration was estimated.

AVStreamParseType
enum AVStreamParseType

@}

AVTimebaseSource
enum AVTimebaseSource
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

av_add_index_entry
int av_add_index_entry(AVStream* st, long pos, long timestamp, int size, int distance, int flags)

Add an index entry into a sorted list. Update the entry if the list already contains it.

av_append_packet
int av_append_packet(AVIOContext* s, AVPacket* pkt, int size)

Read data and append it to the current content of the AVPacket. If pkt->size is 0 this is identical to av_get_packet. Note that this uses av_grow_packet and thus involves a realloc which is inefficient. Thus this function should only be used when there is no reasonable way to know (an upper bound of) the final size.

av_apply_bitstream_filters
int av_apply_bitstream_filters(AVCodecContext* codec, AVPacket* pkt, AVBitStreamFilterContext* bsfc)

Apply a list of bitstream filters to a packet.

av_codec_get_id
AVCodecID av_codec_get_id(const(AVCodecTag*)* tags, uint tag)

Get the AVCodecID for the given codec tag tag. If no codec id is found returns AV_CODEC_ID_NONE.

av_codec_get_tag
uint av_codec_get_tag(const(AVCodecTag*)* tags, AVCodecID id)

Get the codec tag for the given codec id id. If no codec tag is found returns 0.

av_codec_get_tag2
int av_codec_get_tag2(const(AVCodecTag*)* tags, AVCodecID id, uint* tag)

Get the codec tag for the given codec id.

av_demuxer_iterate
const(AVInputFormat)* av_demuxer_iterate(void** opaque)

Iterate over all registered demuxers.

av_demuxer_open
int av_demuxer_open(AVFormatContext* ic)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_dump_format
void av_dump_format(AVFormatContext* ic, int index, const(char)* url, int is_output)

Print detailed information about the input or output format, such as duration, bitrate, streams, container, programs, metadata, side data, codec and time base.

av_filename_number_test
int av_filename_number_test(const(char)* filename)

Check whether filename actually is a numbered sequence generator.

av_find_best_stream
int av_find_best_stream(AVFormatContext* ic, AVMediaType type, int wanted_stream_nb, int related_stream, AVCodec** decoder_ret, int flags)

Find the "best" stream in the file. The best stream is determined according to various heuristics as the most likely to be what the user expects. If the decoder parameter is non-NULL, av_find_best_stream will find the default decoder for the stream's codec; streams for which no decoder can be found are ignored.

av_find_default_stream_index
int av_find_default_stream_index(AVFormatContext* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_find_input_format
AVInputFormat* av_find_input_format(const(char)* short_name)

Find AVInputFormat based on the short name of the input format.

av_find_program_from_stream
AVProgram* av_find_program_from_stream(AVFormatContext* ic, AVProgram* last, int s)

Find the programs which belong to a given stream.

av_fmt_ctx_get_duration_estimation_method
AVDurationEstimationMethod av_fmt_ctx_get_duration_estimation_method(const(AVFormatContext)* ctx)

Returns the method used to set ctx->duration.

av_format_get_audio_codec
AVCodec* av_format_get_audio_codec(const(AVFormatContext)* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_get_control_message_cb
av_format_control_message av_format_get_control_message_cb(const(AVFormatContext)* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_get_data_codec
AVCodec* av_format_get_data_codec(const(AVFormatContext)* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_get_metadata_header_padding
int av_format_get_metadata_header_padding(const(AVFormatContext)* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_get_opaque
void* av_format_get_opaque(const(AVFormatContext)* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_get_open_cb
AVOpenCallback av_format_get_open_cb(const(AVFormatContext)* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_get_probe_score
int av_format_get_probe_score(const(AVFormatContext)* s)

Accessors for some AVFormatContext fields. These used to be provided for ABI compatibility, and do not need to be used anymore.

av_format_get_subtitle_codec
AVCodec* av_format_get_subtitle_codec(const(AVFormatContext)* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_get_video_codec
AVCodec* av_format_get_video_codec(const(AVFormatContext)* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_inject_global_side_data
void av_format_inject_global_side_data(AVFormatContext* s)

This function will cause global side data to be injected in the next packet of each stream as well as after any subsequent seek.

av_format_set_audio_codec
void av_format_set_audio_codec(AVFormatContext* s, AVCodec* c)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_set_control_message_cb
void av_format_set_control_message_cb(AVFormatContext* s, av_format_control_message callback)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_set_data_codec
void av_format_set_data_codec(AVFormatContext* s, AVCodec* c)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_set_metadata_header_padding
void av_format_set_metadata_header_padding(AVFormatContext* s, int c)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_set_opaque
void av_format_set_opaque(AVFormatContext* s, void* opaque)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_set_open_cb
void av_format_set_open_cb(AVFormatContext* s, AVOpenCallback callback)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_set_subtitle_codec
void av_format_set_subtitle_codec(AVFormatContext* s, AVCodec* c)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_format_set_video_codec
void av_format_set_video_codec(AVFormatContext* s, AVCodec* c)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_get_frame_filename
int av_get_frame_filename(char* buf, int buf_size, const(char)* path, int number)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_get_frame_filename2
int av_get_frame_filename2(char* buf, int buf_size, const(char)* path, int number, int flags)

Return in 'buf' the path with '%d' replaced by a number.

av_get_output_timestamp
int av_get_output_timestamp(AVFormatContext* s, int stream, long* dts, long* wall)

Get timing information for the data currently output. The exact meaning of "currently output" depends on the format. It is mostly relevant for devices that have an internal buffer and/or work in real time. @param s media file handle @param stream stream in the media file @paramout dts DTS of the last packet output for the stream, in stream time_base units @paramout wall absolute time when that packet whas output, in microsecond @return 0 if OK, AVERROR(ENOSYS) if the format does not support it Note: some formats or devices may not allow to measure dts and wall atomically.

av_get_packet
int av_get_packet(AVIOContext* s, AVPacket* pkt, int size)

Allocate and read the payload of a packet and initialize its fields with default values.

av_guess_codec
AVCodecID av_guess_codec(AVOutputFormat* fmt, const(char)* short_name, const(char)* filename, const(char)* mime_type, AVMediaType type)

Guess the codec ID based upon muxer and filename.

av_guess_format
AVOutputFormat* av_guess_format(const(char)* short_name, const(char)* filename, const(char)* mime_type)

Return the output format in the list of registered output formats which best matches the provided parameters, or return NULL if there is no match.

av_guess_frame_rate
AVRational av_guess_frame_rate(AVFormatContext* ctx, AVStream* stream, AVFrame* frame)

Guess the frame rate, based on both the container and codec information.

av_guess_sample_aspect_ratio
AVRational av_guess_sample_aspect_ratio(AVFormatContext* format, AVStream* stream, AVFrame* frame)

Guess the sample aspect ratio of a frame, based on both the stream and the frame aspect ratio.

av_hex_dump
void av_hex_dump(FILE* f, const(ubyte)* buf, int size)

Send a nice hexadecimal dump of a buffer to the specified file stream.

av_hex_dump_log
void av_hex_dump_log(void* avcl, int level, const(ubyte)* buf, int size)

Send a nice hexadecimal dump of a buffer to the log.

av_iformat_next
AVInputFormat* av_iformat_next(const(AVInputFormat)* f)

If f is NULL, returns the first registered input format, if f is non-NULL, returns the next registered input format after f or NULL if f is the last one.

av_index_search_timestamp
int av_index_search_timestamp(AVStream* st, long timestamp, int flags)

Get the index for a specific timestamp.

av_interleaved_write_frame
int av_interleaved_write_frame(AVFormatContext* s, AVPacket* pkt)

Write a packet to an output media file ensuring correct interleaving.

av_interleaved_write_uncoded_frame
int av_interleaved_write_uncoded_frame(AVFormatContext* s, int stream_index, AVFrame* frame)

Write an uncoded frame to an output media file.

av_match_ext
int av_match_ext(const(char)* filename, const(char)* extensions)

Return a positive value if the given filename has one of the given extensions, 0 otherwise.

av_muxer_iterate
const(AVOutputFormat)* av_muxer_iterate(void** opaque)

Iterate over all registered muxers.

av_new_program
AVProgram* av_new_program(AVFormatContext* s, int id)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_oformat_next
AVOutputFormat* av_oformat_next(const(AVOutputFormat)* f)

If f is NULL, returns the first registered output format, if f is non-NULL, returns the next registered output format after f or NULL if f is the last one.

av_pkt_dump2
void av_pkt_dump2(FILE* f, const(AVPacket)* pkt, int dump_payload, const(AVStream)* st)

Send a nice dump of a packet to the specified file stream.

av_pkt_dump_log2
void av_pkt_dump_log2(void* avcl, int level, const(AVPacket)* pkt, int dump_payload, const(AVStream)* st)

Send a nice dump of a packet to the log.

av_probe_input_buffer
int av_probe_input_buffer(AVIOContext* pb, AVInputFormat** fmt, const(char)* url, void* logctx, uint offset, uint max_probe_size)

Like av_probe_input_buffer2() but returns 0 on success

av_probe_input_buffer2
int av_probe_input_buffer2(AVIOContext* pb, AVInputFormat** fmt, const(char)* url, void* logctx, uint offset, uint max_probe_size)

Probe a bytestream to determine the input format. Each time a probe returns with a score that is too low, the probe buffer size is increased and another attempt is made. When the maximum probe size is reached, the input format with the highest score is returned.

av_probe_input_format
AVInputFormat* av_probe_input_format(AVProbeData* pd, int is_opened)

Guess the file format.

av_probe_input_format2
AVInputFormat* av_probe_input_format2(AVProbeData* pd, int is_opened, int* score_max)

Guess the file format.

av_probe_input_format3
AVInputFormat* av_probe_input_format3(AVProbeData* pd, int is_opened, int* score_ret)

Guess the file format.

av_program_add_stream_index
void av_program_add_stream_index(AVFormatContext* ac, int progid, uint idx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_read_frame
int av_read_frame(AVFormatContext* s, AVPacket* pkt)

Return the next frame of a stream. This function returns what is stored in the file, and does not validate that what is there are valid frames for the decoder. It will split what is stored in the file into frames and return one for each call. It will not omit invalid data between valid frames so as to give the decoder the maximum information possible for decoding.

av_read_pause
int av_read_pause(AVFormatContext* s)

Pause a network-based stream (e.g. RTSP stream).

av_read_play
int av_read_play(AVFormatContext* s)

Start playing a network-based stream (e.g. RTSP stream) at the current position.

av_register_all
void av_register_all()

Initialize libavformat and register all the muxers, demuxers and protocols. If you do not call this function, then you can select exactly which formats you want to support.

av_register_input_format
void av_register_input_format(AVInputFormat* format)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_register_output_format
void av_register_output_format(AVOutputFormat* format)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_sdp_create
int av_sdp_create(AVFormatContext** ac, int n_files, char* buf, int size)

Generate an SDP for an RTP session.

av_seek_frame
int av_seek_frame(AVFormatContext* s, int stream_index, long timestamp, int flags)

Seek to the keyframe at timestamp. 'timestamp' in 'stream_index'.

av_stream_add_side_data
int av_stream_add_side_data(AVStream* st, AVPacketSideDataType type, ubyte* data, size_t size)

Wrap an existing array as stream side data.

av_stream_get_codec_timebase
AVRational av_stream_get_codec_timebase(const(AVStream)* st)

Get the internal codec timebase from a stream.

av_stream_get_end_pts
long av_stream_get_end_pts(const(AVStream)* st)

Returns the pts of the last muxed packet + its duration

av_stream_get_parser
AVCodecParserContext* av_stream_get_parser(const(AVStream)* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_stream_get_r_frame_rate
AVRational av_stream_get_r_frame_rate(const(AVStream)* s)

Accessors for some AVStream fields. These used to be provided for ABI compatibility, and do not need to be used anymore.

av_stream_get_recommended_encoder_configuration
char* av_stream_get_recommended_encoder_configuration(const(AVStream)* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_stream_get_side_data
ubyte* av_stream_get_side_data(const(AVStream)* stream, AVPacketSideDataType type, int* size)

Get side information from stream.

av_stream_new_side_data
ubyte* av_stream_new_side_data(AVStream* stream, AVPacketSideDataType type, int size)

Allocate new information from stream.

av_stream_set_r_frame_rate
void av_stream_set_r_frame_rate(AVStream* s, AVRational r)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_stream_set_recommended_encoder_configuration
void av_stream_set_recommended_encoder_configuration(AVStream* s, char* configuration)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_url_split
void av_url_split(char* proto, int proto_size, char* authorization, int authorization_size, char* hostname, int hostname_size, int* port_ptr, char* path, int path_size, const(char)* url)

Split a URL string into components.

av_write_frame
int av_write_frame(AVFormatContext* s, AVPacket* pkt)

Write a packet to an output media file.

av_write_trailer
int av_write_trailer(AVFormatContext* s)

Write the stream trailer to an output media file and free the file private data.

av_write_uncoded_frame
int av_write_uncoded_frame(AVFormatContext* s, int stream_index, AVFrame* frame)

Write an uncoded frame to an output media file.

av_write_uncoded_frame_query
int av_write_uncoded_frame_query(AVFormatContext* s, int stream_index)

Test whether a muxer supports uncoded frame.

avformat_alloc_context
AVFormatContext* avformat_alloc_context()

Allocate an AVFormatContext. avformat_free_context() can be used to free the context and everything allocated by the framework within it.

avformat_alloc_output_context2
int avformat_alloc_output_context2(AVFormatContext** ctx, AVOutputFormat* oformat, const(char)* format_name, const(char)* filename)

Allocate an AVFormatContext for an output format. avformat_free_context() can be used to free the context and everything allocated by the framework within it.

avformat_close_input
void avformat_close_input(AVFormatContext** s)

Close an opened input AVFormatContext. Free it and all its contents and set *s to NULL.

avformat_configuration
const(char)* avformat_configuration()

Return the libavformat build-time configuration.

avformat_find_stream_info
int avformat_find_stream_info(AVFormatContext* ic, AVDictionary** options)

Read packets of a media file to get stream information. This is useful for file formats with no headers such as MPEG. This function also computes the real framerate in case of MPEG-2 repeat frame mode. The logical file position is not changed by this function; examined packets may be buffered for later processing.

avformat_flush
int avformat_flush(AVFormatContext* s)

Discard all internally buffered data. This can be useful when dealing with discontinuities in the byte stream. Generally works only with formats that can resync. This includes headerless formats like MPEG-TS/TS but should also work with NUT, Ogg and in a limited way AVI for example.

avformat_free_context
void avformat_free_context(AVFormatContext* s)

Free an AVFormatContext and all its streams. @param s context to free

avformat_get_class
const(AVClass)* avformat_get_class()

Get the AVClass for AVFormatContext. It can be used in combination with AV_OPT_SEARCH_FAKE_OBJ for examining options.

avformat_get_mov_audio_tags
const(AVCodecTag)* avformat_get_mov_audio_tags()

@return the table mapping MOV FourCCs for audio to AVCodecID.

avformat_get_mov_video_tags
const(AVCodecTag)* avformat_get_mov_video_tags()

@return the table mapping MOV FourCCs for video to libavcodec AVCodecID.

avformat_get_riff_audio_tags
const(AVCodecTag)* avformat_get_riff_audio_tags()

@return the table mapping RIFF FourCCs for audio to AVCodecID.

avformat_get_riff_video_tags
const(AVCodecTag)* avformat_get_riff_video_tags()

@return the table mapping RIFF FourCCs for video to libavcodec AVCodecID.

avformat_init_output
int avformat_init_output(AVFormatContext* s, AVDictionary** options)

Allocate the stream private data and initialize the codec, but do not write the header. May optionally be used before avformat_write_header to initialize stream parameters before actually writing the header. If using this function, do not pass the same options to avformat_write_header.

avformat_license
const(char)* avformat_license()

Return the libavformat license.

avformat_match_stream_specifier
int avformat_match_stream_specifier(AVFormatContext* s, AVStream* st, const(char)* spec)

Check if the stream st contained in s is matched by the stream specifier spec.

avformat_network_deinit
int avformat_network_deinit()

Undo the initialization done by avformat_network_init. Call it only once for each time you called avformat_network_init.

avformat_network_init
int avformat_network_init()

Do global initialization of network libraries. This is optional, and not recommended anymore.

avformat_new_stream
AVStream* avformat_new_stream(AVFormatContext* s, const(AVCodec)* c)

Add a new stream to a media file.

avformat_open_input
int avformat_open_input(AVFormatContext** ps, const(char)* url, AVInputFormat* fmt, AVDictionary** options)

Open an input stream and read the header. The codecs are not opened. The stream must be closed with avformat_close_input().

avformat_query_codec
int avformat_query_codec(const(AVOutputFormat)* ofmt, AVCodecID codec_id, int std_compliance)

Test if the given container can store a codec.

avformat_queue_attached_pictures
int avformat_queue_attached_pictures(AVFormatContext* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
avformat_seek_file
int avformat_seek_file(AVFormatContext* s, int stream_index, long min_ts, long ts, long max_ts, int flags)

Seek to timestamp ts. Seeking will be done so that the point from which all active streams can be presented successfully will be closest to ts and within min/max_ts. Active streams are all streams that have AVStream.discard < AVDISCARD_ALL.

avformat_transfer_internal_stream_timing_info
int avformat_transfer_internal_stream_timing_info(const(AVOutputFormat)* ofmt, AVStream* ost, const(AVStream)* ist, AVTimebaseSource copy_tb)

Transfer internal timing information from one stream to another.

avformat_version
uint avformat_version()

Return the LIBAVFORMAT_VERSION_INT constant.

avformat_write_header
int avformat_write_header(AVFormatContext* s, AVDictionary** options)

Allocate the stream private data and write the stream header to an output media file.

Manifest constants

AVFMTCTX_NOHEADER
enum AVFMTCTX_NOHEADER;

< signal that no header is present (streams are added dynamically)

AVFMTCTX_UNSEEKABLE
enum AVFMTCTX_UNSEEKABLE;

< signal that the stream is definitely not seekable, and attempts to call the seek function will fail. For some network protocols (e.g. HLS), this can change dynamically at runtime.

AVFMT_ALLOW_FLUSH
enum AVFMT_ALLOW_FLUSH;

< Format allows flushing. If not set, the muxer will not receive a NULL packet in the write_packet function.

AVFMT_AVOID_NEG_TS_AUTO
enum AVFMT_AVOID_NEG_TS_AUTO;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE
enum AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_AVOID_NEG_TS_MAKE_ZERO
enum AVFMT_AVOID_NEG_TS_MAKE_ZERO;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_EVENT_FLAG_METADATA_UPDATED
enum AVFMT_EVENT_FLAG_METADATA_UPDATED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_AUTO_BSF
enum AVFMT_FLAG_AUTO_BSF;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_BITEXACT
enum AVFMT_FLAG_BITEXACT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_CUSTOM_IO
enum AVFMT_FLAG_CUSTOM_IO;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_DISCARD_CORRUPT
enum AVFMT_FLAG_DISCARD_CORRUPT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_FAST_SEEK
enum AVFMT_FLAG_FAST_SEEK;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_FLUSH_PACKETS
enum AVFMT_FLAG_FLUSH_PACKETS;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_GENPTS
enum AVFMT_FLAG_GENPTS;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_IGNDTS
enum AVFMT_FLAG_IGNDTS;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_IGNIDX
enum AVFMT_FLAG_IGNIDX;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_KEEP_SIDE_DATA
enum AVFMT_FLAG_KEEP_SIDE_DATA;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_MP4A_LATM
enum AVFMT_FLAG_MP4A_LATM;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_NOBUFFER
enum AVFMT_FLAG_NOBUFFER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_NOFILLIN
enum AVFMT_FLAG_NOFILLIN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_NONBLOCK
enum AVFMT_FLAG_NONBLOCK;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_NOPARSE
enum AVFMT_FLAG_NOPARSE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_PRIV_OPT
enum AVFMT_FLAG_PRIV_OPT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_SHORTEST
enum AVFMT_FLAG_SHORTEST;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_FLAG_SORT_DTS
enum AVFMT_FLAG_SORT_DTS;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFMT_GENERIC_INDEX
enum AVFMT_GENERIC_INDEX;

< Use generic index building code.

AVFMT_GLOBALHEADER
enum AVFMT_GLOBALHEADER;

< Format wants global header.

AVFMT_NEEDNUMBER
enum AVFMT_NEEDNUMBER;

< Needs '%d' in filename.

AVFMT_NOBINSEARCH
enum AVFMT_NOBINSEARCH;

< Format does not allow to fall back on binary search via read_timestamp

AVFMT_NODIMENSIONS
enum AVFMT_NODIMENSIONS;

< Format does not need width/height

AVFMT_NOFILE
enum AVFMT_NOFILE;

Demuxer will use avio_open, no opened file should be provided by the caller.

AVFMT_NOGENSEARCH
enum AVFMT_NOGENSEARCH;

< Format does not allow to fall back on generic search

AVFMT_NOSTREAMS
enum AVFMT_NOSTREAMS;

< Format does not require any streams

AVFMT_NOTIMESTAMPS
enum AVFMT_NOTIMESTAMPS;

< Format does not need / have any timestamps.

AVFMT_NO_BYTE_SEEK
enum AVFMT_NO_BYTE_SEEK;

< Format does not allow seeking by bytes

AVFMT_SEEK_TO_PTS
enum AVFMT_SEEK_TO_PTS;

< Seeking is based on PTS

AVFMT_SHOW_IDS
enum AVFMT_SHOW_IDS;

< Show format stream IDs numbers.

AVFMT_TS_DISCONT
enum AVFMT_TS_DISCONT;

< Format allows timestamp discontinuities. Note, muxers always require valid (monotone) timestamps

AVFMT_TS_NEGATIVE
enum AVFMT_TS_NEGATIVE;

< Format allows muxing negative timestamps. If not set the timestamp will be shifted in av_write_frame and av_interleaved_write_frame so they start from 0. The user or muxer can override this through AVFormatContext.avoid_negative_ts

AVFMT_TS_NONSTRICT
enum AVFMT_TS_NONSTRICT;

< Format does not require strictly increasing timestamps, but they must still be monotonic

AVFMT_VARIABLE_FPS
enum AVFMT_VARIABLE_FPS;

< Format allows variable fps.

AVINDEX_DISCARD_FRAME
enum AVINDEX_DISCARD_FRAME;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVINDEX_KEYFRAME
enum AVINDEX_KEYFRAME;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVPROBE_PADDING_SIZE
enum AVPROBE_PADDING_SIZE;

< extra allocated bytes at the end of the probe buffer

AVPROBE_SCORE_EXTENSION
enum AVPROBE_SCORE_EXTENSION;

< score for file extension

AVPROBE_SCORE_MAX
enum AVPROBE_SCORE_MAX;

< maximum score

AVPROBE_SCORE_MIME
enum AVPROBE_SCORE_MIME;

< score for file mime type

AVPROBE_SCORE_RETRY
enum AVPROBE_SCORE_RETRY;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVPROBE_SCORE_STREAM_RETRY
enum AVPROBE_SCORE_STREAM_RETRY;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVSEEK_FLAG_ANY
enum AVSEEK_FLAG_ANY;

< seek to any frame, even non-keyframes

AVSEEK_FLAG_BACKWARD
enum AVSEEK_FLAG_BACKWARD;

* @} *////< seek backwar

AVSEEK_FLAG_BYTE
enum AVSEEK_FLAG_BYTE;

< seeking based on position in bytes

AVSEEK_FLAG_FRAME
enum AVSEEK_FLAG_FRAME;

< seeking based on frame number

AVSTREAM_EVENT_FLAG_METADATA_UPDATED
enum AVSTREAM_EVENT_FLAG_METADATA_UPDATED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVSTREAM_INIT_IN_INIT_OUTPUT
enum AVSTREAM_INIT_IN_INIT_OUTPUT;

< stream parameters initialized in avformat_init_output

AVSTREAM_INIT_IN_WRITE_HEADER
enum AVSTREAM_INIT_IN_WRITE_HEADER;

* @addtogroup lavf_encoding * @{ *////< stream parameters initialized in avformat_write_heade

AV_DISPOSITION_ATTACHED_PIC
enum AV_DISPOSITION_ATTACHED_PIC;

The stream is stored in the file as an attached picture/"cover art" (e.g. APIC frame in ID3v2). The first (usually only) packet associated with it will be returned among the first few packets read from the file unless seeking takes place. It can also be accessed at any time in AVStream.attached_pic.

AV_DISPOSITION_CAPTIONS
enum AV_DISPOSITION_CAPTIONS;

To specify text track kind (different from subtitles default).

AV_DISPOSITION_CLEAN_EFFECTS
enum AV_DISPOSITION_CLEAN_EFFECTS;

< stream without voice

AV_DISPOSITION_COMMENT
enum AV_DISPOSITION_COMMENT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AV_DISPOSITION_DEFAULT
enum AV_DISPOSITION_DEFAULT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AV_DISPOSITION_DEPENDENT
enum AV_DISPOSITION_DEPENDENT;

< dependent audio stream (mix_type=0 in mpegts)

AV_DISPOSITION_DESCRIPTIONS
enum AV_DISPOSITION_DESCRIPTIONS;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AV_DISPOSITION_DUB
enum AV_DISPOSITION_DUB;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AV_DISPOSITION_FORCED
enum AV_DISPOSITION_FORCED;

Track should be used during playback by default. Useful for subtitle track that should be displayed even when user did not explicitly ask for subtitles.

AV_DISPOSITION_HEARING_IMPAIRED
enum AV_DISPOSITION_HEARING_IMPAIRED;

< stream for hearing impaired audiences

AV_DISPOSITION_KARAOKE
enum AV_DISPOSITION_KARAOKE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AV_DISPOSITION_LYRICS
enum AV_DISPOSITION_LYRICS;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AV_DISPOSITION_METADATA
enum AV_DISPOSITION_METADATA;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AV_DISPOSITION_ORIGINAL
enum AV_DISPOSITION_ORIGINAL;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AV_DISPOSITION_STILL_IMAGE
enum AV_DISPOSITION_STILL_IMAGE;

< still images in video stream (still_picture_flag=1 in mpegts)

AV_DISPOSITION_TIMED_THUMBNAILS
enum AV_DISPOSITION_TIMED_THUMBNAILS;

The stream is sparse, and contains thumbnail images, often corresponding to chapter markers. Only ever used with AV_DISPOSITION_ATTACHED_PIC.

AV_DISPOSITION_VISUAL_IMPAIRED
enum AV_DISPOSITION_VISUAL_IMPAIRED;

< stream for visual impaired audiences

AV_FRAME_FILENAME_FLAGS_MULTIPLE
enum AV_FRAME_FILENAME_FLAGS_MULTIPLE;

< Allow multiple %d

AV_PROGRAM_RUNNING
enum AV_PROGRAM_RUNNING;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AV_PTS_WRAP_ADD_OFFSET
enum AV_PTS_WRAP_ADD_OFFSET;

< add the format specific offset on wrap detection

AV_PTS_WRAP_IGNORE
enum AV_PTS_WRAP_IGNORE;

* Options for behavior on timestamp wrap detection. *////< ignore the wra

AV_PTS_WRAP_SUB_OFFSET
enum AV_PTS_WRAP_SUB_OFFSET;

< subtract the format specific offset on wrap detection

FF_FDEBUG_TS
enum FF_FDEBUG_TS;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MAX_REORDER_DELAY
enum MAX_REORDER_DELAY;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MAX_STD_TIMEBASES
enum MAX_STD_TIMEBASES;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

AVChapter
struct AVChapter
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVCodecTag
struct AVCodecTag
AVDeviceCapabilitiesQuery
struct AVDeviceCapabilitiesQuery
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVDeviceInfoList
struct AVDeviceInfoList

@defgroup libavf libavformat I/O and Muxing/Demuxing Library

AVFormatContext
struct AVFormatContext

Format I/O context. New fields can be added to the end with minor version bumps. Removal, reordering and changes to existing fields require a major version bump. sizeof(AVFormatContext) must not be used outside libav*, use avformat_alloc_context() to create an AVFormatContext.

AVFormatInternal
struct AVFormatInternal
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVIndexEntry
struct AVIndexEntry
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVInputFormat
struct AVInputFormat

@addtogroup lavf_decoding @{

AVOutputFormat
struct AVOutputFormat

@addtogroup lavf_encoding @{

AVPacketList
struct AVPacketList
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVProbeData
struct AVProbeData

This structure contains the data a format has to probe a file.

AVProgram
struct AVProgram

New fields can be added to the end with minor version bumps. Removal, reordering and changes to existing fields require a major version bump. sizeof(AVProgram) must not be used outside libav*.

AVStream
struct AVStream

Stream structure. New fields can be added to the end with minor version bumps. Removal, reordering and changes to existing fields require a major version bump. sizeof(AVStream) must not be used outside libav*.

AVStreamInternal
struct AVStreamInternal
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta