java ts_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. 891e717a8bc2e2d27a88b4bcef4eb7f2.png

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.

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.

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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值