FFmpeg  4.0
Data Fields
AVFormatInternal Struct Reference

#include <libavformat/internal.h>

Data Fields

int nb_interleaved_streams
 Number of streams relevant for interleaving. More...
 
struct AVPacketListpacket_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 AVPacketListpacket_buffer_end
 
int64_t data_offset
 offset of the first packet More...
 
struct AVPacketListraw_packet_buffer
 Raw packets from the demuxer, prior to parsing and decoding. More...
 
struct AVPacketListraw_packet_buffer_end
 
struct AVPacketListparse_queue
 Packets split by the parser get queued here. More...
 
struct AVPacketListparse_queue_end
 
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
 

Detailed Description

Definition at line 66 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 71 of file internal.h.

Referenced by ff_interleave_packet_per_dts(), and init_muxer().

◆ packet_buffer

struct AVPacketList* 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 78 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().

◆ packet_buffer_end

struct AVPacketList* AVFormatInternal::packet_buffer_end

◆ data_offset

int64_t AVFormatInternal::data_offset

◆ raw_packet_buffer

struct AVPacketList* 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 90 of file internal.h.

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

◆ raw_packet_buffer_end

struct AVPacketList* AVFormatInternal::raw_packet_buffer_end

Definition at line 91 of file internal.h.

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

◆ parse_queue

struct AVPacketList* AVFormatInternal::parse_queue

Packets split by the parser get queued here.

Definition at line 95 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().

◆ parse_queue_end

struct AVPacketList* AVFormatInternal::parse_queue_end

Definition at line 96 of file internal.h.

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

◆ raw_packet_buffer_remaining_size

int AVFormatInternal::raw_packet_buffer_remaining_size

◆ 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 108 of file internal.h.

Referenced by avformat_alloc_context(), and write_packet().

◆ offset_timebase

AVRational AVFormatInternal::offset_timebase

Timebase for the timestamp offset.

Definition at line 113 of file internal.h.

Referenced by write_packet().

◆ inject_global_side_data

int AVFormatInternal::inject_global_side_data

◆ avoid_negative_ts_use_pts

int AVFormatInternal::avoid_negative_ts_use_pts

Definition at line 121 of file internal.h.

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

◆ shortest_end

int64_t AVFormatInternal::shortest_end

Timestamp of the end of the shortest stream.

Definition at line 126 of file internal.h.

Referenced by avformat_alloc_context(), and ff_interleave_packet_per_dts().

◆ initialized

int AVFormatInternal::initialized

Whether or not avformat_init_output has already been called.

Definition at line 131 of file internal.h.

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

◆ streams_initialized

int AVFormatInternal::streams_initialized

Whether or not avformat_init_output fully initialized streams.

Definition at line 136 of file internal.h.

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

◆ id3v2_meta

AVDictionary* AVFormatInternal::id3v2_meta

ID3v2 tag useful for MP3 demuxing.

Definition at line 141 of file internal.h.

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

◆ prefer_codec_framerate

int AVFormatInternal::prefer_codec_framerate

Definition at line 146 of file internal.h.

Referenced by avformat_find_stream_info(), and mpegts_read_header().


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