FFmpeg
Data Fields
AVFormatInternal Struct Reference

#include <internal.h>

Data Fields

int nb_interleaved_streams
 Number of streams relevant for interleaving. More...
 
struct PacketListpacket_buffer
 This buffer is only needed when packets were already buffered but not decoded, for example to get the codec parameters in MPEG streams. More...
 
struct PacketListpacket_buffer_end
 
int64_t data_offset
 offset of the first packet More...
 
struct PacketListraw_packet_buffer
 Raw packets from the demuxer, prior to parsing and decoding. More...
 
struct PacketListraw_packet_buffer_end
 
struct PacketListparse_queue
 Packets split by the parser get queued here. More...
 
struct PacketListparse_queue_end
 
AVPacketparse_pkt
 The generic code uses this as a temporary packet to parse packets; it may also be used for other means for short periods that are guaranteed not to overlap with calls to av_read_frame() (or ff_read_packet()) or with each other. More...
 
AVPacketpkt
 Used to hold temporary packets. More...
 
int raw_packet_buffer_remaining_size
 
int64_t offset
 Offset to remap timestamps to be non-negative. More...
 
AVRational offset_timebase
 Timebase for the timestamp offset. More...
 
int inject_global_side_data
 
int avoid_negative_ts_use_pts
 
int64_t shortest_end
 Timestamp of the end of the shortest stream. More...
 
int initialized
 Whether or not avformat_init_output has already been called. More...
 
int streams_initialized
 Whether or not avformat_init_output fully initialized streams. More...
 
AVDictionaryid3v2_meta
 ID3v2 tag useful for MP3 demuxing. More...
 
int prefer_codec_framerate
 
int chapter_ids_monotonic
 Set if chapter ids are strictly monotonic. More...
 

Detailed Description

Definition at line 64 of file internal.h.

Field Documentation

int AVFormatInternal::nb_interleaved_streams

Number of streams relevant for interleaving.

Muxing only.

Definition at line 69 of file internal.h.

Referenced by ff_interleave_packet_per_dts(), and init_muxer().

struct PacketList* AVFormatInternal::packet_buffer

This buffer is only needed when packets were already buffered but not decoded, for example to get the codec parameters in MPEG streams.

Definition at line 76 of file internal.h.

Referenced by av_read_frame(), avformat_find_stream_info(), compute_pkt_fields(), ff_interleave_add_packet(), ff_interleave_packet_per_dts(), ff_interleaved_peek(), flush_packet_queue(), mxf_interleave_get_packet(), update_initial_durations(), and update_initial_timestamps().

struct PacketList* AVFormatInternal::packet_buffer_end
int64_t AVFormatInternal::data_offset
struct PacketList* AVFormatInternal::raw_packet_buffer

Raw packets from the demuxer, prior to parsing and decoding.

This buffer is used for buffering packets until the codec can be identified, as parsing cannot be done without knowing the codec.

Definition at line 88 of file internal.h.

Referenced by avformat_queue_attached_pictures(), ff_read_packet(), and flush_packet_queue().

struct PacketList* AVFormatInternal::raw_packet_buffer_end

Definition at line 89 of file internal.h.

Referenced by avformat_queue_attached_pictures(), ff_read_packet(), and flush_packet_queue().

struct PacketList* AVFormatInternal::parse_queue

Packets split by the parser get queued here.

Definition at line 93 of file internal.h.

Referenced by compute_pkt_fields(), flush_packet_queue(), get_next_pkt(), parse_packet(), read_frame_internal(), update_initial_durations(), and update_initial_timestamps().

struct PacketList* AVFormatInternal::parse_queue_end

Definition at line 94 of file internal.h.

Referenced by flush_packet_queue(), parse_packet(), and read_frame_internal().

AVPacket* AVFormatInternal::parse_pkt

The generic code uses this as a temporary packet to parse packets; it may also be used for other means for short periods that are guaranteed not to overlap with calls to av_read_frame() (or ff_read_packet()) or with each other.

It may be used by demuxers as a replacement for stack packets (unless they call one of the aforementioned functions with their own AVFormatContext). Every user has to ensure that this packet is blank after using it.

Definition at line 107 of file internal.h.

Referenced by asf_read_header(), avformat_free_context(), extract_extradata(), flac_read_timestamp(), ipmovie_read_header(), matroska_read_header(), and parse_packet().

AVPacket* AVFormatInternal::pkt
int AVFormatInternal::raw_packet_buffer_remaining_size
int64_t AVFormatInternal::offset

Offset to remap timestamps to be non-negative.

Expressed in timebase units.

See also
AVStream.mux_ts_offset

Definition at line 124 of file internal.h.

Referenced by avformat_alloc_context(), and write_packet().

AVRational AVFormatInternal::offset_timebase

Timebase for the timestamp offset.

Definition at line 129 of file internal.h.

Referenced by write_packet().

int AVFormatInternal::inject_global_side_data
int AVFormatInternal::avoid_negative_ts_use_pts

Definition at line 137 of file internal.h.

Referenced by mkv_init(), mkv_write_track(), webm_chunk_init(), and write_packet().

int64_t AVFormatInternal::shortest_end

Timestamp of the end of the shortest stream.

Definition at line 142 of file internal.h.

Referenced by avformat_alloc_context(), and ff_interleave_packet_per_dts().

int AVFormatInternal::initialized

Whether or not avformat_init_output has already been called.

Definition at line 147 of file internal.h.

Referenced by avformat_free_context(), avformat_init_output(), avformat_write_header(), and deinit_muxer().

int AVFormatInternal::streams_initialized

Whether or not avformat_init_output fully initialized streams.

Definition at line 152 of file internal.h.

Referenced by avformat_init_output(), avformat_write_header(), and deinit_muxer().

AVDictionary* AVFormatInternal::id3v2_meta

ID3v2 tag useful for MP3 demuxing.

Definition at line 157 of file internal.h.

Referenced by avformat_free_context(), avformat_open_input(), mp3_read_header(), and set_spdif().

int AVFormatInternal::prefer_codec_framerate

Definition at line 162 of file internal.h.

Referenced by avformat_find_stream_info(), and mpegts_read_header().

int AVFormatInternal::chapter_ids_monotonic

Set if chapter ids are strictly monotonic.

Definition at line 167 of file internal.h.

Referenced by avpriv_new_chapter().


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