FFmpeg
Data Fields
AVFormatInternal Struct Reference

#include <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 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 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 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 AVPacketList* AVFormatInternal::packet_buffer_end
int64_t AVFormatInternal::data_offset
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 88 of file internal.h.

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

struct AVPacketList* 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 AVPacketList* 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 AVPacketList* AVFormatInternal::parse_queue_end

Definition at line 94 of file internal.h.

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

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

Referenced by avformat_alloc_context(), and write_packet().

AVRational AVFormatInternal::offset_timebase

Timebase for the timestamp offset.

Definition at line 111 of file internal.h.

Referenced by write_packet().

int AVFormatInternal::inject_global_side_data
int AVFormatInternal::avoid_negative_ts_use_pts

Definition at line 119 of file internal.h.

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

int64_t AVFormatInternal::shortest_end

Timestamp of the end of the shortest stream.

Definition at line 124 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 129 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 134 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 139 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 144 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: