1.0.2 • Published 2 years ago

@tugrul/ffprobe v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

node-ffprobe main workflow

nodejs native bindings addon of ffprobe library

Installation

npm install --save @tugrul/ffprobe

Usage

const ffprobe = require('@tugrul/ffprobe');

ffprobe.getFileInfo('sample.mp4').then(result => {
    console.log(result);
});

Build Options

You can specify PKG_CONFIG_PATH env variable if you want to link library with custom build of ffmpeg

export PKG_CONFIG_PATH=/path/to/ffmpeg-build/lib/pkgconfig
npm install