New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@tugrul/ffprobe

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tugrul/ffprobe

nodejs native bindings addon of ffprobe library

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

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);
});

Passing options

Available options are: probeSize, analyzeDuration


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

ffprobe.getFileInfo(sample.mp4, { probeSize: 1 * 1024 * 1024 * 1024, analyzeDuration: 1000 * 1000000 }).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

FAQs

Package last updated on 14 May 2025

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