Node implementation of MediaArea's MediaInfo WebAssembly binary.
$ npm install --save node-mediainfo
// Using ES6 imports
import mediainfo from 'node-mediainfo';
// Using Node.js `require()`
const mediainfo = require('node-mediainfo');
async function main() {
const result = await mediainfo('path to media file');
console.log(result);
}
main();
- Source: github.com/m-rots/mediainfo
- Package: npmjs.com/package/node-mediainfo
This package uses MediaInfo library, Copyright (c) 2002-2019 MediaArea.net SARL