MythTV  master
Classes | Macros | Enumerations
mpegtables.h File Reference
#include <cassert>
#include <utility>
#include "mpegdescriptors.h"
#include "pespacket.h"
#include "mythtvexp.h"
#include "mythmiscutil.h"
Include dependency graph for mpegtables.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PESStreamID
 Contains a listing of PES Stream ID's for various PES Packet types. More...
 
class  StreamID
 Contains listing of PMT Stream ID's for various A/V Stream types. More...
 
class  TableID
 Contains listing of Table ID's for various tables (PAT=0,PMT=2,etc). More...
 
class  PSIPTable
 A PSIP table is a variant of a PES packet containing an MPEG, ATSC or DVB table. More...
 
class  ProgramAssociationTable
 The Program Association Table lists all the programs in a stream, and is always found on PID 0. More...
 
class  ProgramMapTable
 A PMT table maps a program described in the ProgramAssociationTable to various PID's which describe the multimedia contents of the program. More...
 
class  ConditionalAccessTable
 The CAT is used to transmit additional ConditionalAccessDescriptor instances, in addition to the ones in the PMTs. More...
 
class  SpliceTimeView
 
class  SpliceScheduleView
 
class  SpliceInsertView
 
class  SpliceInformationTable
 
class  AdaptationFieldControl
 AdaptationFieldControl is used to transmit various important stream attributes. More...
 

Macros

#define GPS_EPOCH   315964800
 Seconds between start of GPS time and the start of UNIX time. More...
 
#define GPS_LEAP_SECONDS   16
 Leap seconds as of June 30th, 2012. More...
 

Enumerations

enum  {
  BPLIST_NULL = 0x00, BPLIST_FALSE = 0x08, BPLIST_TRUE = 0x09, BPLIST_FILL = 0x0F,
  BPLIST_UINT = 0x10, BPLIST_REAL = 0x20, BPLIST_DATE = 0x30, BPLIST_DATA = 0x40,
  BPLIST_STRING = 0x50, BPLIST_UNICODE = 0x60, BPLIST_UID = 0x70, BPLIST_ARRAY = 0xA0,
  BPLIST_SET = 0xC0, BPLIST_DICT = 0xD0, MHLogError = 1, MHLogWarning = 2,
  MHLogNotifications = 4, MHLogScenes = 8, MHLogActions = 16, MHLogLinks = 32,
  MHLogDetail = 64, VIDEO_YEAR_DEFAULT = 1895, kHasMPAA = 0x1, kHasTPG = 0x2,
  kHasCanEnglish = 0x4, kHasCanFrench = 0x8, RET_ERROR = -1, RET_OK = 0,
  MPEG_PAT_PID = 0x0000, MPEG_CAT_PID = 0x0001, MPEG_TSDT_PID = 0x0002, DVB_NIT_PID = 0x0010,
  DVB_SDT_PID = 0x0011, DVB_EIT_PID = 0x0012, DVB_RST_PID = 0x0013, DVB_TDT_PID = 0x0014,
  DVB_DNLONG_EIT_PID = 0x0300, DVB_BVLONG_EIT_PID = 0x0441, PREMIERE_EIT_DIREKT_PID = 0x0b11, PREMIERE_EIT_SPORT_PID = 0x0b12,
  ATSC_PSIP_PID = 0x1ffb, SCTE_PSIP_PID = 0x1ffc, FREESAT_SI_PID = 0x0f01, FREESAT_EIT_PID = 0x0f02,
  FREESAT_ST_EIT_PID = 0x0f03, MPEG_NULL_PID = 0x1fff, OTV_EIT_TIT_PID_START = 0x30, OTV_EIT_TIT_PID_END = 0x37,
  OTV_EIT_SUP_PID_START = 0x40, OTV_EIT_SUP_PID_END = 0x47, kDisplayNone = 0x000, kDisplayNUVTeletextCaptions = 0x001,
  kDisplayTeletextCaptions = 0x002, kDisplayAVSubtitle = 0x004, kDisplayCC608 = 0x008, kDisplayCC708 = 0x010,
  kDisplayTextSubtitle = 0x020, kDisplayDVDButton = 0x040, kDisplayRawTextSubtitle = 0x080, kDisplayAllCaptions = 0x0FF,
  kDisplayTeletextMenu = 0x100, kDisplayAllTextCaptions, kExtractPTS, kExtractDTS,
  kStartTVNoFlags = 0x00, kStartTVInPlayList = 0x02, kStartTVByNetworkCommand = 0x04, kStartTVIgnoreBookmark = 0x08,
  kStartTVIgnoreProgStart = 0x10, kStartTVAllowLastPlayPos = 0x20, kArtworkFanTimeout = 300, kArtworkBannerTimeout = 50,
  kArtworkCoverTimeout = 50, VIDEO_NONE =0, VIDEO_PAL, VIDEO_NTSC,
  S_SEARCH, S_FOUND, S_ERROR, MiscError = 1,
  EOFIndicator, IndexError
}
 

Detailed Description

special ATSC restrictions on PMT,PAT tables
max 400ms,100ms between PMTs,PATs, resp.
no adaptation headers in PMT,PAT or PSIP packets
(?unless version number is discontinuous?)
PES Payload must not be scrambled (1999 Sarnoff)
No Clock in PES, no MPEG-1 System Fields, no CRC or priv. data
no more than one frame per PES packet
program 0 is network information table in DVB streams

Definition in file mpegtables.h.

Macro Definition Documentation

◆ GPS_EPOCH

#define GPS_EPOCH   315964800

Seconds between start of GPS time and the start of UNIX time.

i.e. from Jan 1st, 1970 UTC to Jan 6th, 1980 UTC

Definition at line 31 of file mpegtables.h.

◆ GPS_LEAP_SECONDS

#define GPS_LEAP_SECONDS   16

Leap seconds as of June 30th, 2012.

Definition at line 34 of file mpegtables.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
BPLIST_NULL 
BPLIST_FALSE 
BPLIST_TRUE 
BPLIST_FILL 
BPLIST_UINT 
BPLIST_REAL 
BPLIST_DATE 
BPLIST_DATA 
BPLIST_STRING 
BPLIST_UNICODE 
BPLIST_UID 
BPLIST_ARRAY 
BPLIST_SET 
BPLIST_DICT 
MHLogError 
MHLogWarning 
MHLogNotifications 
MHLogScenes 
MHLogActions 
MHLogLinks 
MHLogDetail 
VIDEO_YEAR_DEFAULT 
kHasMPAA 
kHasTPG 
kHasCanEnglish 
kHasCanFrench 
RET_ERROR 
RET_OK 
MPEG_PAT_PID 
MPEG_CAT_PID 
MPEG_TSDT_PID 
DVB_NIT_PID 
DVB_SDT_PID 
DVB_EIT_PID 
DVB_RST_PID 
DVB_TDT_PID 
DVB_DNLONG_EIT_PID 
DVB_BVLONG_EIT_PID 
PREMIERE_EIT_DIREKT_PID 
PREMIERE_EIT_SPORT_PID 
ATSC_PSIP_PID 
SCTE_PSIP_PID 
FREESAT_SI_PID 
FREESAT_EIT_PID 
FREESAT_ST_EIT_PID 
MPEG_NULL_PID 

The all-ones PID value 0x1FFF indicates a Null TS Packet introduced to maintain a constant bit rate of a TS Multiplex.

OTV_EIT_TIT_PID_START 
OTV_EIT_TIT_PID_END 
OTV_EIT_SUP_PID_START 
OTV_EIT_SUP_PID_END 
kDisplayNone 
kDisplayNUVTeletextCaptions 
kDisplayTeletextCaptions 
kDisplayAVSubtitle 
kDisplayCC608 
kDisplayCC708 
kDisplayTextSubtitle 
kDisplayDVDButton 
kDisplayRawTextSubtitle 
kDisplayAllCaptions 
kDisplayTeletextMenu 
kDisplayAllTextCaptions 
kExtractPTS 
kExtractDTS 
kStartTVNoFlags 
kStartTVInPlayList 
kStartTVByNetworkCommand 
kStartTVIgnoreBookmark 
kStartTVIgnoreProgStart 
kStartTVAllowLastPlayPos 
kArtworkFanTimeout 
kArtworkBannerTimeout 
kArtworkCoverTimeout 
VIDEO_NONE 
VIDEO_PAL 
VIDEO_NTSC 
S_SEARCH 
S_FOUND 
S_ERROR 
MiscError 
EOFIndicator 
IndexError 

Definition at line 203 of file mpegtables.h.

nv_python_libs.bbciplayer.bbciplayer_api.version
string version
Definition: bbciplayer_api.py:81