發表文章

demux handly

47 40 00 10 00 00 B0 1D 00 1C E9 00 00 00 00 program_number = 0 E0 10 111 0 0000 0001 0000 01 2C EB B8   01 2D EB C2 01 2E EB CC  01 30 EB E0 ; 44 52 BE CA 47 40 00 :1  error :1  start :1  priority :13 PID 10 :2  scrambling :2  adaptation = 01 01 = 無 adaptation field ,僅有 payload 10 = 僅有 adaptation field 11 = adaptation field 和 payload 皆俱 :4  Continuity counter Payload Data     if (tss->type == MPEGTS_SECTION) {         if (is_start) {             /* pointer field present */ When the payload of the Transport Stream packet contains PSI data, the payload_unit_start_indicator has the following significance: if the Transport Stream packet carries the first byte of a PSI section, the payload_unit_start_indicator value shall be '1', in...

continuity counter

圖片
節目專用信息  ( Program Specific Information, PSI )是一種有關節目程序與 M2T 的 元數據 ,在數位電視系統中,指出節目的特別信息, 終端機器 (如 機頂盒 )只有通過這些信息才能搜索出節目來。PSI一般包括五者: PAT (Program Association Table) PMT (Program Map Table) NIT (Network Information Table) CAT (Condition Access Table) TDT (Time and Date Table) https://zh.wikipedia.org/wiki/MPEG2-TS /* Continuity check */  /* Return if no payload in the TS packet */ /* Skip the adaptation_field if present */  /* Unit start -> skip the pointer_field and a new section begins */ When the payload of the Transport Stream packet contains PSI data, the payload_unit_start_indicator has the following significance: if the Transport Stream packet carries the first byte of a PSI section, the payload_unit_start_indicator value shall be '1', indicating that the first byte of the payload of this Transport Stream packet carries the pointer_field . If the Transport Stream packet does not carry the first byte of a PSI section,...