FFmpeg
Data Fields
MpegTSContext Struct Reference

Data Fields

const AVClassclass
 
AVFormatContextstream
 
int raw_packet_size
 raw packet size, including FEC if present More...
 
int64_t pos47_full
 
int auto_guess
 if true, all pids are analyzed to find streams More...
 
int mpeg2ts_compute_pcr
 compute exact PCR for each transport stream packet More...
 
int fix_teletext_pts
 fix dvb teletext pts
More...
 
int64_t cur_pcr
 used to estimate the exact PCR More...
 
int64_t pcr_incr
 used to estimate the exact PCR More...
 
int stop_parse
 stop parsing loop More...
 
AVPacketpkt
 packet containing Audio/Video data More...
 
int64_t last_pos
 to detect seek More...
 
int skip_changes
 
int skip_clear
 
int skip_unknown_pmt
 
int scan_all_pmts
 
int resync_size
 
int merge_pmt_versions
 
int max_packet_size
 
unsigned int nb_prg
 structure to keep track of Program->pids mapping More...
 
struct Programprg
 
int8_t crc_validity [NB_PID_MAX]
 
MpegTSFilterpids [NB_PID_MAX]
 filters for various streams specified by PMT + for the PAT and PMT More...
 
int current_pid
 
AVStreamepg_stream
 
AVBufferPoolpools [32]
 

Detailed Description

Definition at line 129 of file mpegts.c.

Field Documentation

◆ class

const AVClass* MpegTSContext::class

Definition at line 130 of file mpegts.c.

◆ stream

AVFormatContext* MpegTSContext::stream

◆ raw_packet_size

int MpegTSContext::raw_packet_size

raw packet size, including FEC if present

Definition at line 134 of file mpegts.c.

Referenced by avpriv_mpegts_parse_open(), handle_packet(), handle_packets(), mpegts_get_dts(), mpegts_get_pcr(), mpegts_raw_read_packet(), mpegts_read_header(), and mpegts_resync().

◆ pos47_full

int64_t MpegTSContext::pos47_full

Definition at line 136 of file mpegts.c.

Referenced by handle_packet(), mpegts_get_dts(), and mpegts_get_pcr().

◆ auto_guess

int MpegTSContext::auto_guess

if true, all pids are analyzed to find streams

Definition at line 139 of file mpegts.c.

Referenced by avpriv_mpegts_parse_open(), handle_packet(), and mpegts_read_header().

◆ mpeg2ts_compute_pcr

int MpegTSContext::mpeg2ts_compute_pcr

compute exact PCR for each transport stream packet

Definition at line 142 of file mpegts.c.

Referenced by mpegts_raw_read_packet().

◆ fix_teletext_pts

int MpegTSContext::fix_teletext_pts

fix dvb teletext pts

Definition at line 145 of file mpegts.c.

Referenced by mpegts_push_data().

◆ cur_pcr

int64_t MpegTSContext::cur_pcr

used to estimate the exact PCR

Definition at line 147 of file mpegts.c.

Referenced by mpegts_raw_read_packet(), and mpegts_read_header().

◆ pcr_incr

int64_t MpegTSContext::pcr_incr

used to estimate the exact PCR

Definition at line 148 of file mpegts.c.

Referenced by mpegts_raw_read_packet(), and mpegts_read_header().

◆ stop_parse

int MpegTSContext::stop_parse

stop parsing loop

Definition at line 152 of file mpegts.c.

Referenced by avpriv_mpegts_parse_packet(), eit_cb(), handle_packets(), mpegts_push_data(), pmt_cb(), and scte_data_cb().

◆ pkt

AVPacket* MpegTSContext::pkt

packet containing Audio/Video data

Definition at line 154 of file mpegts.c.

Referenced by avpriv_mpegts_parse_packet(), eit_cb(), mpegts_push_data(), mpegts_read_packet(), pmt_cb(), and scte_data_cb().

◆ last_pos

int64_t MpegTSContext::last_pos

to detect seek

Definition at line 156 of file mpegts.c.

Referenced by handle_packets().

◆ skip_changes

int MpegTSContext::skip_changes

Definition at line 158 of file mpegts.c.

Referenced by mpegts_push_data(), pat_cb(), pmt_cb(), and sdt_cb().

◆ skip_clear

int MpegTSContext::skip_clear

Definition at line 159 of file mpegts.c.

Referenced by pat_cb(), and pmt_cb().

◆ skip_unknown_pmt

int MpegTSContext::skip_unknown_pmt

Definition at line 160 of file mpegts.c.

Referenced by pmt_cb().

◆ scan_all_pmts

int MpegTSContext::scan_all_pmts

Definition at line 162 of file mpegts.c.

Referenced by handle_packet(), and pmt_cb().

◆ resync_size

int MpegTSContext::resync_size

Definition at line 164 of file mpegts.c.

Referenced by mpegts_read_header(), and mpegts_resync().

◆ merge_pmt_versions

int MpegTSContext::merge_pmt_versions

Definition at line 165 of file mpegts.c.

Referenced by mpegts_push_data(), and pmt_cb().

◆ max_packet_size

int MpegTSContext::max_packet_size

Definition at line 166 of file mpegts.c.

Referenced by avpriv_mpegts_parse_open(), buffer_pool_get(), and mpegts_push_data().

◆ nb_prg

unsigned int MpegTSContext::nb_prg

structure to keep track of Program->pids mapping

Definition at line 172 of file mpegts.c.

Referenced by add_program(), clear_programs(), discard_pid(), get_program(), handle_packet(), and pat_cb().

◆ prg

struct Program* MpegTSContext::prg

Definition at line 173 of file mpegts.c.

Referenced by add_program(), clear_programs(), discard_pid(), get_program(), handle_packet(), and pat_cb().

◆ crc_validity

int8_t MpegTSContext::crc_validity[NB_PID_MAX]

Definition at line 175 of file mpegts.c.

Referenced by write_section_data().

◆ pids

MpegTSFilter* MpegTSContext::pids[NB_PID_MAX]

filters for various streams specified by PMT + for the PAT and PMT

Definition at line 177 of file mpegts.c.

Referenced by ff_parse_mpeg2_descriptor(), handle_packet(), handle_packets(), m4sl_cb(), mpegts_close_filter(), mpegts_free(), mpegts_open_filter(), mpegts_push_data(), mpegts_read_packet(), pat_cb(), pmt_cb(), and scte_data_cb().

◆ current_pid

int MpegTSContext::current_pid

Definition at line 178 of file mpegts.c.

Referenced by handle_packet(), pat_cb(), and pmt_cb().

◆ epg_stream

AVStream* MpegTSContext::epg_stream

Definition at line 180 of file mpegts.c.

Referenced by eit_cb().

◆ pools

AVBufferPool* MpegTSContext::pools[32]

Definition at line 181 of file mpegts.c.

Referenced by buffer_pool_get(), and mpegts_free().


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