Socket
Socket
Sign inDemoInstall

avprober

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    avprober

A simplistic rewrite of node-ffprobe, written for avprobe


Version published
Weekly downloads
1
Maintainers
1
Install size
8.08 MB
Created
Weekly downloads
 

Readme

Source

AVProber

A simple rewrite of node-ffprobe, designed to work with avprobe instead.

This was done since Ubuntu 14.04 doesn't include the metapackage "ffmpeg", and instead uses "libav-tools".

It uses Promises instead of callbacks, and makes use of the es6-promises library so that the API is standard.

Installation

This has only been tested on Ununtu 14.04

First you need to get the "avprobe" executable:

$ sudo apt-get install libav-tools

Then install this package, either inside your package.json or like so:

$ npm install avprober

Usage

var avprober = require('avprober');

avprober('some/file.mp3')
	.then(
		function(data) {
			console.log('YAY', data);
		},
		function(err) {
			console.error('BOO', err);
		}
	);

License

MIT licensed.

Keywords

FAQs

Last updated on 22 May 2014

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc