GithubHelp home page GithubHelp logo

isobmff-conformance's Introduction

Software to generate MPEG Conformance reports

Dependencies

This software is developed in JavaScript for NodeJS. It uses the following tools which should be installed on the system:

  • MP4Box from the GPAC project
  • Java with the Saxon XSLT library (provided as saxon9.jar)

Install

npm install

Run

node generate.js [folder [report] ]

  • folder is the name of the folder for which the report should be generated. The default is "."
  • report is the name of the HTML file. The default is conformance_report.html, generated in the given folder

Process

The program first scans all folders for files with some specific extensions (see EXTENSIONS in generate.js).

Then, for each file, it calls MP4Box -diso to generate an XML dump of the structure of the file.

Then, for each XML, it calls an XSL transformation (count_boxes.xsl) to count the number of boxes used in the file and produce a JSON file per input file.

The XSLT uses a list of boxes defined in the different standards. This is the file "boxes.xml". This file was produced using "MP4Box -boxes" and by augmenting the result with the contents of the file "boxes-not-supported-by-mp4box.xml".

Finally, the program then aggregates incrementally all JSON files and generates the HTML report (using the template conformance_report_header.html).

isobmff-conformance's People

Contributors

podborski avatar cconcolato avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.