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

◆ nb_interleaved_streams

int AVFormatInternal::nb_interleaved_streams

Number of streams relevant for interleaving.

Muxing only.

Definition at line 69 of file internal.h.

◆ packet_buffer

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 avformat_find_stream_info().

◆ packet_buffer_end

struct PacketList* AVFormatInternal::packet_buffer_end

Definition at line 77 of file internal.h.

Referenced by avformat_find_stream_info().

◆ data_offset

int64_t AVFormatInternal::data_offset

offset of the first packet

Definition at line 80 of file internal.h.

Referenced by estimate_timings_from_bit_rate().

◆ raw_packet_buffer

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.

◆ raw_packet_buffer_end

struct PacketList* AVFormatInternal::raw_packet_buffer_end

Definition at line 89 of file internal.h.

◆ parse_queue

struct PacketList* AVFormatInternal::parse_queue

Packets split by the parser get queued here.

Definition at line 93 of file internal.h.

◆ parse_queue_end

struct PacketList* AVFormatInternal::parse_queue_end

Definition at line 94 of file internal.h.

◆ parse_pkt

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.

◆ pkt

AVPacket* AVFormatInternal::pkt

Used to hold temporary packets.

Definition at line 112 of file internal.h.

Referenced by avformat_find_stream_info(), and estimate_timings_from_pts().

◆ raw_packet_buffer_remaining_size

int AVFormatInternal::raw_packet_buffer_remaining_size

Definition at line 117 of file internal.h.

Referenced by avformat_alloc_context().

◆ offset

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().

◆ offset_timebase

AVRational AVFormatInternal::offset_timebase

Timebase for the timestamp offset.

Definition at line 129 of file internal.h.

◆ inject_global_side_data

int AVFormatInternal::inject_global_side_data

Definition at line 135 of file internal.h.

◆ avoid_negative_ts_use_pts

int AVFormatInternal::avoid_negative_ts_use_pts

Definition at line 137 of file internal.h.

Referenced by webm_chunk_init().

◆ shortest_end

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().

◆ initialized

int AVFormatInternal::initialized

Whether or not avformat_init_output has already been called.

Definition at line 147 of file internal.h.

◆ streams_initialized

int AVFormatInternal::streams_initialized

Whether or not avformat_init_output fully initialized streams.

Definition at line 152 of file internal.h.

◆ id3v2_meta

AVDictionary* AVFormatInternal::id3v2_meta

ID3v2 tag useful for MP3 demuxing.

Definition at line 157 of file internal.h.

◆ prefer_codec_framerate

int AVFormatInternal::prefer_codec_framerate

Definition at line 162 of file internal.h.

Referenced by avformat_find_stream_info().

◆ chapter_ids_monotonic

int AVFormatInternal::chapter_ids_monotonic

Set if chapter ids are strictly monotonic.

Definition at line 167 of file internal.h.


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