TSParser (Java MPEG2 Analyzer)

1 Introduction

TSParser is a powerful cross-platform DVB/ MPEG stream analyzer. It works well under Windows, Linux, and Mac OS. TSParser (Java MPEG2 Analyzer)_第1张图片

2 Features

2.1 Web based application

TSParser is a web-based application. User can install it on a server, and the client will access the application via a browser. Main

2.2 Easy to configure PID/ Table ID

User can customize the PID filters easily for runtime usage. Notice that PMT filter will be disabled if PAT is disabled. Besides, decreasing the number of filters can make parser faster. system_setting_pid

Table ID filters can also be customized. User can enable/disable a special Table when parsing a stream.system_setting_tid

2.3 Easy to add new Section/ Descriptor syntax

TSParser uses Section/Descriptor syntax to parse sections/ descriptors. It has the ability to let user modify the Section & Descriptor syntax at runtime. Once the syntax is changed, the stream’s analysis result will be updated meanwhile. Syntax files locate under %INSTALL_DIR%\syntax. User can also modify these syntax files outside of the system.

TSParser has already integrated SPEC listed as below. The main work is to copy syntax from SPEC and paste it into the application.

  • 13818

  • ETSI EN 300 468

  • ETSI TS 102 809

  • ETSI TS 102 812

  • DTG D-Book

  • ETSI TR 101 202

  • Polsat_stb

2.4 Dynamically load Section/ Descriptor script

TSParser has both Lexer and Parser, which can help recognize the Section/ Descriptor scripts. (ThanksAntlr)

TSParser translates the scripts into java source code at first, then to compile java code into byte code, finally to dynamically load byte code into JVM at runtime. (Thanks Janino)

2.5 Friendly presentation of Section/Descriptor

For a specific section, TSParser has three methods to show the section/descriptor data.

  • Tree view

  • Text view

  • Raw data view

  • Syntax view

2.6 Export SI/SPI data to file

Usually, the size of stream is very large. It costs time to transfer the stream for analysis. TSParser supports a way to export only SI/ PSI data. It can be very useful since the size of SI/ PSI data becomes very small while audio/ video data is ignored. Especially, it makes quite convenient when field try.

2.7 Support 3rd to add new application in Java

User can write third party applications based on stream data in Java with Java1.5 style. Third party Applications locate in %INSTALL_DIR%/3rd/src. When TSParser startups, these applications will be auto registered into the system.

There are 3 build-in applications in TSParser:

  • Service List application base on SDT(Show service list )

  • EPG Application base on EIT (show EPG)

  • Demo Application (simple demo)

3 Run and Build

Please see file "HowToRun" for detail

4 LICENSE

TSParser is licensed under the Apache 2 License, which means user can use it for free, and without strings attached in commercial or non-commercial projects.

5 Explanation

Most codes are open source except for Lexer and Parser which are compiled in tsp_core.jar.


你可能感兴趣的:(rap,analyzer,MPEG)