Analyzer

This article describes how to use the built-in analyzer

The Astra software includes an MPEG-TS analyzer.

Web interface

Run the analyzer by running the following command in the console:

astra --analyze -p 8001

the analyzer can be run in the background-in the daemon mode:

astra --analyze -p 8001 --daemon

Once launched, the web interface will be available at: http://server-ip:8001.

Image

In the upper right corner there are buttons to control the analyzer: Image

Examples of using the analyzer:

dvb:

Press "DVB Options" button In the window that appears, fill in the fields: adapter type, transponder and LNB. Example of filling:
Image After that, press the "START" button and the analyzer will start working.

Image

In the screenshot we see the signal level and its quality, the total bitrate of the transponder, as well as the PIDs of streams and data on the encryption system.

udp/rtp

Press 'UDP/RTP Options' button" In the window that appears, fill in the fields: the address of the stream, the interface on which to subscribe to the stream (or use the default routing). If the stream is RTP, set the appropriate checkbox. If you want to analyze the program from the MPTS stream - in the "PNR" field - specify its number (if known). Example of filling:
Image After that, press the "START" button and the analyzer will start working.

http

Click the "HTTP Options" button" In the window that appears - fill in the fields: url - (path to the stream).
If necessary, set the buffer size and synchronous reception in the "Sync" field" If you want to analyze the program from the MPTS stream - in the field "PNR" - specify its number (if known).
Example of filling:
Image After that, press the "START" button and the analyzer will start working. Image

Console utility

astra --analyze

Example of use:

astra --analyze udp://253.2.2.2:1234
Nov 28 00:59:28: INFO: [main] Starting Astra v.5.64
Nov 28 00:59:29: INFO: PAT tsid:21 version:1
Nov 28 00:59:29: INFO: PAT    PMT pid:115 pnr:2115
Nov 28 00:59:29: INFO: PAT crc32:0x02575D2D
Nov 28 00:59:29: INFO: PMT pnr:2115 version:1
Nov 28 00:59:29: INFO: PCR pid:215
Nov 28 00:59:29: INFO: VIDEO pid:215 type:0x1B
Nov 28 00:59:29: INFO: AUDIO pid:315 type:0x04
Nov 28 00:59:29: INFO: AUDIO    lang:rus
Nov 28 00:59:29: INFO: PMT crc32:0x9E87CF44
Nov 28 00:59:29: INFO: SDT tsid:21 version:3
Nov 28 00:59:29: INFO: SDT pnr:2115
Nov 28 00:59:29: INFO: SDT    provider:HTB+
Nov 28 00:59:29: INFO: SDT    service:Top secret
Nov 28 00:59:29: INFO: SDT crc32:0x9F98BF46
Nov 28 00:59:30: INFO: EIT tsid:21 onid:1 pnr:2115 version:17
Nov 28 00:59:30: INFO: EIT    start:Wed Nov 28 00:10:00 2018
Nov 28 00:59:30: INFO: EIT    stop:Wed Nov 28 01:05:00 2018
Nov 28 00:59:30: INFO: EIT    content:News
Nov 28 00:59:30: INFO: EIT    lang:rus title:DOCUMENTARY
Nov 28 00:59:30: INFO: EIT crc32:0xC0BCCA18
Nov 28 00:59:30: INFO: Bitrate: 2323 Kbit/s
Nov 28 00:59:30: INFO: EIT tsid:21 onid:1 pnr:2115 version:17
Nov 28 00:59:30: INFO: EIT    start:Wed Nov 28 01:05:00 2018
Nov 28 00:59:30: INFO: EIT    stop:Wed Nov 28 03:05:00 2018
Nov 28 00:59:30: INFO: EIT    content:Education/Science
Nov 28 00:59:30: INFO: EIT    lang:rus title:AUDIENCE (16+)
Nov 28 00:59:30: INFO: EIT crc32:0xE9257DFA
Nov 28 00:59:31: INFO: Bitrate: 2397 Kbit/s
Nov 28 00:59:32: INFO: Bitrate: 2755 Kbit/s
Nov 28 00:59:33: INFO: Bitrate: 4446 Kbit/s
Nov 28 00:59:34: INFO: Bitrate: 3674 Kbit/s
Nov 28 00:59:35: INFO: Bitrate: 3512 Kbit/s
Nov 28 00:59:36: INFO: Bitrate: 2328 Kbit/s
Nov 28 00:59:37: INFO: Bitrate: 3810 Kbit/s
Nov 28 00:59:38: INFO: Bitrate: 3490 Kbit/s
Nov 28 00:59:39: INFO: Bitrate: 4164 Kbit/s
Nov 28 00:59:40: INFO: Bitrate: 4266 Kbit/s
Nov 28 00:59:41: INFO: Bitrate: 4334 Kbit/s
Nov 28 00:59:42: INFO: Bitrate: 4094 Kbit/s
Nov 28 00:59:43: INFO: Bitrate: 4550 Kbit/s
Nov 28 00:59:44: INFO: Bitrate: 3820 Kbit/s

Media address format

UDP:

RTP:

File:

HTTP: