FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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
 
int header_written
 Whether or not a header has already been written. More...
 
int write_header_ret
 
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

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

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

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

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

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

Referenced by avformat_alloc_context(), and write_packet().

AVRational AVFormatInternal::offset_timebase

Timebase for the timestamp offset.

Definition at line 113 of file internal.h.

Referenced by write_packet().

int AVFormatInternal::inject_global_side_data
int AVFormatInternal::avoid_negative_ts_use_pts

Definition at line 121 of file internal.h.

Referenced by mkv_init(), and write_packet().

int AVFormatInternal::header_written

Whether or not a header has already been written.

Definition at line 126 of file internal.h.

Referenced by av_write_frame(), av_write_trailer(), write_header_internal(), and write_packet().

int AVFormatInternal::write_header_ret

Definition at line 127 of file internal.h.

Referenced by av_write_frame(), av_write_trailer(), write_header_internal(), and write_packet().

int64_t AVFormatInternal::shortest_end

Timestamp of the end of the shortest stream.

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

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

int AVFormatInternal::streams_initialized

Whether or not avformat_init_output fully initialized streams.

Definition at line 142 of file internal.h.

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

AVDictionary* AVFormatInternal::id3v2_meta

ID3v2 tag useful for MP3 demuxing.

Definition at line 147 of file internal.h.

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

int AVFormatInternal::prefer_codec_framerate

Definition at line 152 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: