Skip to content

Latest commit

 

History

History
45 lines (40 loc) · 2.48 KB

README.md

File metadata and controls

45 lines (40 loc) · 2.48 KB

DVB-T-Extractor

Simple C++ application for DVB-T parsing/demultiplexing. I implemented this application as part of course BMS (Wireless and Mobile Networks) at FIT BUT.

Usage

./bms2 <file_name>.ts

Program Features:

Program retrieves an input file (file_name.ts) that contains the transport data of the DVB-T broadcast stream. The output of the application is a file called filename.txt, which contains details for each extracted channel from the processed transport stream.

Output properties

  • The file contains information about the processed multiplex obtained from the NIT service table in the header, details about the individual programs obtained from the PAT and SDT tables, which are supplemented by the aggregated bit rate statistic for all channels belonging to one program.
  • Each line describing one multiplex program has the following format:
    PID-service_provider-service_name: <bitrate> Mbps
  • The individual rows are sorted by the PID value.
  • Bitrate count based on the number of packets of the given program relative to the total number of packets according to the formula:
    program_bitrate = packet_pack_program / total_package_package * bitrate_stream
  • If the program contains multiple video / audio tracks or service information, bitrate of all these channels is read into a common value.
  • Transfer speed is rounded to 2 decimal places.

Output example for provided example.ts file:

Network name: SIT 1 CESKA TELEVIZE
Network ID: 12560
Bandwidth: 8 MHz
Constellation: 64-QAM
Guard interval: 1/4
Code rate: 2/3

0x0100-Ceska televize-CT 1 JM: 4.31 Mbps
0x0200-Ceska televize-CT 2: 4.15 Mbps
0x0300-Ceska televize-CT 24: 3.71 Mbps
0x0400-Ceska televize-CT sport: 4.16 Mbps
0x1000-Ceska televize-CRo RADIOZURNAL: 0.17 Mbps
0x1100-Ceska televize-CRo DVOJKA: 0.17 Mbps
0x1200-Ceska televize-CRo VLTAVA: 0.20 Mbps
0x1300-Ceska televize-CRo RADIO WAVE: 0.17 Mbps
0x1400-Ceska televize-CRo D-DUR: 0.20 Mbps
0x1500-Ceska televize-CRo RADIO JUNIOR: 0.17 Mbps
0x1600-Ceska televize-CRo PLUS: 0.08 Mbps
0x1700-Ceska televize-CRo JAZZ: 0.20 Mbps

Useful links

Example file example.ts
DVB standard ETSI EN 300 468 V1.13.1
Another useful DVB-T inspecting tool DVB-Inspector