Definition at line 135 of file mpegts.c.
Public Attributes | |
| AVFormatContext * | stream |
| int | raw_packet_size |
| raw packet size, including FEC if present | |
| int | auto_guess |
| if true, all pids are analyzed to find streams | |
| int | set_service_ret |
| int | mpeg2ts_raw |
| force raw MPEG2 transport stream output, if possible | |
| int | mpeg2ts_compute_pcr |
| compute exact PCR for each transport stream packet | |
| int64_t | cur_pcr |
| used to estimate the exact PCR | |
| int | pcr_incr |
| used to estimate the exact PCR | |
| int | pcr_pid |
| used to estimate the exact PCR | |
| int | scanning |
| if set, stop_parse is set when PAT/PMT is found | |
| int | stop_parse |
| stop parsing loop | |
| int | pmt_scan_state |
| set to PMT_NOT_IN_PAT in pat_cb when scanning is true and the MPEG program number "req_sid" is not found in PAT; set to PMT_FOUND when a PMT with a the "req_sid" program number is found. | |
| AVPacket * | pkt |
| packet containing Audio/Video data | |
| MpegTSFilter * | sdt_filter |
| int | nb_services |
| number of PMTs in the last PAT seen | |
| MpegTSService ** | services |
| list of PMTs in the last PAT seen | |
| SetServiceCallback * | set_service_cb |
| void * | set_service_opaque |
| MpegTSFilter * | pat_filter |
| filter for the PAT | |
| MpegTSFilter * | pmt_filter |
| filter for the PMT for the MPEG program number specified by req_sid | |
| int | req_sid |
| MPEG program number of stream we want to decode. | |
| MpegTSFilter * | pids [NB_PID_MAX] |
| filters for various streams specified by PMT + for the PAT and PMT | |
| int | pid_cnt |
| number of streams in the last PMT seen | |
| int | pmt_pids [PMT_PIDS_MAX] |
| list of streams in the last PMT seen | |
Definition at line 137 of file mpegts.c.
Referenced by add_pes_stream(), add_section_stream(), handle_packet(), handle_packets(), mpegts_open_section_filter(), mpegts_parse_open(), mpegts_read_header(), new_service(), pat_cb(), pat_scan_cb(), pmt_cb(), and sdt_cb().
raw packet size, including FEC if present
Definition at line 139 of file mpegts.c.
Referenced by handle_packets(), mpegts_get_pcr(), mpegts_parse_open(), mpegts_raw_read_packet(), mpegts_read_header(), and read_seek().
if true, all pids are analyzed to find streams
Definition at line 141 of file mpegts.c.
Referenced by handle_packet(), mpegts_parse_open(), and mpegts_read_header().
force raw MPEG2 transport stream output, if possible
Definition at line 147 of file mpegts.c.
Referenced by mpegts_read_header(), and mpegts_read_packet().
compute exact PCR for each transport stream packet
Definition at line 149 of file mpegts.c.
Referenced by mpegts_raw_read_packet(), and mpegts_read_header().
used to estimate the exact PCR
Definition at line 151 of file mpegts.c.
Referenced by mpegts_raw_read_packet(), and mpegts_read_header().
used to estimate the exact PCR
Definition at line 152 of file mpegts.c.
Referenced by mpegts_raw_read_packet(), and mpegts_read_header().
used to estimate the exact PCR
Definition at line 153 of file mpegts.c.
Referenced by mpegts_get_pcr(), mpegts_parse_pcrpid(), and mpegts_read_header().
if set, stop_parse is set when PAT/PMT is found
Definition at line 158 of file mpegts.c.
Referenced by mpegts_read_header(), pat_cb(), and pmt_cb().
stop parsing loop
Definition at line 160 of file mpegts.c.
Referenced by handle_packets(), mpegts_parse_packet(), mpegts_push_data(), mpegts_push_section(), pat_cb(), pat_scan_cb(), pmt_cb(), sdt_cb(), and set_service_cb().
set to PMT_NOT_IN_PAT in pat_cb when scanning is true and the MPEG program number "req_sid" is not found in PAT; set to PMT_FOUND when a PMT with a the "req_sid" program number is found.
Definition at line 165 of file mpegts.c.
Referenced by mpegts_read_header(), pat_cb(), and pmt_cb().
packet containing Audio/Video data
Definition at line 168 of file mpegts.c.
Referenced by mpegts_parse_packet(), mpegts_push_data(), mpegts_push_section(), and mpegts_read_packet().
number of PMTs in the last PAT seen
Definition at line 179 of file mpegts.c.
Referenced by is_pat_same(), mpegts_read_close(), mpegts_read_header(), new_service(), and pat_cb().
list of PMTs in the last PAT seen
Definition at line 181 of file mpegts.c.
Referenced by is_pat_same(), mpegts_read_close(), mpegts_read_header(), new_service(), and pat_cb().
filter for the PAT
Definition at line 190 of file mpegts.c.
Referenced by handle_packet(), mpegts_close_filter(), mpegts_read_header(), mpegts_scan_pat(), and pat_scan_cb().
filter for the PMT for the MPEG program number specified by req_sid
Definition at line 192 of file mpegts.c.
Referenced by mpegts_close_filter(), mpegts_read_header(), and pat_cb().
MPEG program number of stream we want to decode.
Definition at line 194 of file mpegts.c.
Referenced by mpegts_read_header(), pat_cb(), and pmt_cb().
| MpegTSFilter* MpegTSContext::pids[NB_PID_MAX] |
filters for various streams specified by PMT + for the PAT and PMT
Definition at line 197 of file mpegts.c.
Referenced by add_pes_stream(), add_section_stream(), handle_packet(), is_pmt_same(), mpegts_cleanup_streams(), mpegts_close_filter(), mpegts_open_pes_filter(), mpegts_open_section_filter(), mpegts_parse_close(), mpegts_read_close(), and mpegts_remove_stream().
number of streams in the last PMT seen
Definition at line 200 of file mpegts.c.
Referenced by is_pmt_same(), mpegts_add_stream(), mpegts_cleanup_streams(), mpegts_remove_stream(), and pmt_cb().
| int MpegTSContext::pmt_pids[PMT_PIDS_MAX] |
list of streams in the last PMT seen
Definition at line 202 of file mpegts.c.
Referenced by is_pmt_same(), mpegts_add_stream(), mpegts_cleanup_streams(), mpegts_remove_stream(), and pmt_cb().
1.5.5