Giter Site home page Giter Site logo

kichinsky / mediainfo.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from buzz/mediainfo.js

0.0 2.0 0.0 10.81 MB

mediainfo.js displays information about video and audio files.

Home Page: https://mediainfo.js.org

License: BSD 2-Clause "Simplified" License

Shell 35.70% C++ 52.99% JavaScript 11.32%

mediainfo.js's Introduction

mediainfo.js

This is a JavaScript port of the excellent MediaInfoLib and meant to be run directly in a browser. mediainfo.js was created using Emscripten.

Demo

Try it out in your browser: https://mediainfo.js.org

Build

Make sure the Emscripten tools can be found in $PATH. Something like this will do:

source ~/programs/emsdk_portable/emsdk_env.sh

First you must build the dependencies:

./build-deps.sh

Then build mediainfo.js using:

./build.sh

The resulting files are mediainfo.js and mediainfo.js.mem.

Using mediainfo.js

The API is defined in mediainfojs.cpp and currently exposes the following methods from MediaInfoLib::MediaInfo:

  • open
  • open_buffer_init
  • open_buffer_continue
  • open_buffer_continue_goto_get
  • inform
  • close

You can check out this example on how mediainfo.js is used in the browser.

See this issue on how to use mediainfo.js with Node.js.

License

This program is freeware under BSD-2-Clause license conditions: https://mediaarea.net/nn/MediaInfo/License

This product uses MediaInfo library, Copyright (c) 2002-2015 MediaArea.net SARL.

mediainfo.js's People

Contributors

buzz avatar tannerrogalsky avatar davidlyons avatar kichinsky avatar

Watchers

James Cloos avatar  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.