Socket
Socket
Sign inDemoInstall

avprobemeta

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avprobemeta

simple avprobe wrapper for node


Version published
Maintainers
1
Created
Source

avprobemeta

Simple avprobe wrapper for node

installation

$ npm install avprobemeta

you'll also need avprobe which is available via libav-tools package on debian-like distros

$ apt-get install libav-tools

Windows users might want to check out the official static builds http://builds.libav.org/windows/

usage

var avprobemeta = require('avprobemeta');

// Get container format & streams
avprobemeta('./test.mp4', function(err, meta) {
  console.log(JSON.stringify(meta, null, '  '));
});

// Omit container format
avprobemeta('./test.mp4', { format: false }, function(err, meta) {
  console.log(JSON.stringify(meta, null, '  '));
});

// Omit streams
avprobemeta('./test.mp4', { streams: false }, function(err, meta) {
  console.log(JSON.stringify(meta, null, '  '));
});

// Specify avprobe binary path
avprobemeta('./test.mp4', {cmdPath: 'C:\\PROJEKTE\\libav\\bin\\avprobe'}, function(err, meta) {
  console.log(JSON.stringify(meta, null, '  '));
});

License

MIT licensed

Keywords

FAQs

Package last updated on 30 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc