$ tsanalyze /tmp/sample.ts
===============================================================================
| TRANSPORT STREAM ANALYSIS REPORT |
|=============================================================================|
| Transport Stream Id: .......... 6 (0x0006) | Services: .............. 1 |
| Bytes: ......................... 9,004,824 | PID's: Total: ......... 12 |
| TS packets: ....................... 47,898 | Clear: .......... 9 |
| With invalid sync: .................. 0 | Scrambled: ...... 3 |
| With transport error: ............... 0 | With PCR's: ..... 1 |
| Suspect and ignored: ................ 0 | Unreferenced: ... 0 |
|-----------------------------------------------------------------------------|
| Transport stream bitrate, based on ....... 188 bytes/pkt 204 bytes/pkt |
| User-specified: ................................... None None |
| Estimated based on PCR's: ................ 7,638,408 b/s 8,288,485 b/s |
| Selected reference bitrate: .............. 7,638,408 b/s 8,288,485 b/s |
|-----------------------------------------------------------------------------|
| Broadcast time: ..................................... 9 sec (0 min 9 sec) |
|-----------------------------------------------------------------------------|
| Srv Id Service Name Access Bitrate |
| 0x0083 Sky Cinema Premieren HD ...................... S 6,908,343 b/s |
| |
| Note 1: C=Clear, S=Scrambled |
| Note 2: Unless specified otherwise, bitrates are based on 188 bytes/pkt |
===============================================================================
===============================================================================
| SERVICES ANALYSIS REPORT |
|=============================================================================|
| Global PID's |
| TS packets: 4,578, PID's: 6 (clear: 6, scrambled: 0) |
|-----------------------------------------------------------------------------|
| PID Usage Access Bitrate |
| Total Global PID's ................................. C 730,065 b/s |
| Subt. Global PSI/SI PID's (0x00-0x1F) .............. C 724,164 b/s |
| 0x0000 PAT .......................................... C 14,990 b/s |
| 0x0001 CAT .......................................... C 14,990 b/s |
| 0x0010 NIT .......................................... C 2,871 b/s |
| 0x0011 SDT/BAT ...................................... C 1,914 b/s |
| 0x0012 EIT .......................................... C 689,399 b/s |
| 0x1008 NDS EMM ...................................... C 0 b/s |
| 0x1FFF Stuffing ..................................... C 5,900 b/s |
|=============================================================================|
| Service: 0x0083 (131), TS: 0x0006 (6), Original Netw: 0x0085 (133) |
| Service name: Sky Cinema Premieren HD, provider: SKY |
| Service type: 0x19 (Advanced codec HD digital television service) |
| TS packets: 43,320, PID's: 7 (clear: 4, scrambled: 3) |
| PMT PID: 0x0064 (100), PCR PID: 0x04FF (1279) |
|-----------------------------------------------------------------------------|
| PID Usage Access Bitrate |
| Total Advanced codec HD digital television service . S 6,908,343 b/s |
| 0x0064 PMT .......................................... C 15,150 b/s |
| 0x04FF AVC video .................................... S 6,288,953 b/s |
| 0x0503 AC-3 Audio (deu, clean effects) .............. S 394,854 b/s |
| 0x0504 AC-3 Audio (eng, clean effects) .............. S 197,586 b/s |
| 0x1AB6 NDS ECM ...................................... C 5,900 b/s |
| 0x1BB6 NDS ECM ...................................... C 5,900 b/s |
| 0x1CB6 NDS ECM ...................................... C 0 b/s |
| (C=Clear, S=Scrambled, +=Shared) |
===============================================================================