Giter Site home page Giter Site logo

checkcontainer's Introduction

Check video containers for issues

Install

npm install

Quickstart

node --require ts-node/register index.ts video_vp9_audio_opus.json

> video pts jump 33366 + 26633 != 66733 (expected 59999)
  video pts jump 66733 + 13266 != 100100 (expected 79999)
  video pts jump 100100 + 19900 != 133466 (expected 120000)
  video pts jump 133466 + 26533 != 166833 (expected 159999)
  video pts jump 166833 + 13166 != 200200 (expected 179999)
  video pts jump 200200 + 19800 != 233566 (expected 220000)
  video pts jump 233566 + 26433 != 266933 (expected 259999)
  video pts jump 266933 + 13066 != 300300 (expected 279999)
  video pts jump 300300 + 19700 != 333666 (expected 320000)
  video pts jump 333666 + 26333 != 367033 (expected 359999)
  video pts jump 367033 + 12966 != 400400 (expected 379999)
  video pts jump 400400 + 19600 != 433766 (expected 420000)
  video pts jump 433766 + 26233 != 467133 (expected 459999)

Usage

ffprobe -hide_banner -print_format json -show_packets video.mp4 >ffprobe.json
node --require ts-node/register index.ts ffprobe.json

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.