1.0.1 • Published 4 years ago

ffprobe-mini v1.0.1

Weekly downloads
161
License
MIT
Repository
github
Last release
4 years ago

ffprobe-mini

License npm Downloads

Simple implementation of FFprobe file analize

Usage Example

const ffprobe = require('ffprobe-mini');

var opts = {
	ffprobePath: '/path/to/ffprobe', // Optional (uses bin in $PATH by default)
	filePath: '/path/to/video.mkv',  // Path to media file (required)
	promise: false                   // Optional (data in callback by default)
}

ffprobe(opts, (err, data) =>
{
	if(err) return console.error(err);

	console.log(data);
});