Socket
Socket
Sign inDemoInstall

node-ffmpeg-wrapper

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-ffmpeg-wrapper

Node.JS FFmpeg wrapper


Version published
Weekly downloads
3
Maintainers
1
Created
Weekly downloads
 

Readme

Source

node-ffmpeg-wrapper

Node.JS FFmpeg wrapper

Requirements

Install FFmpeg

Installation

npm install node-ffmpeg-wrapper

Usage

const node_ffmpeg_wrapper = require('node-ffmpeg-wrapper');

//no need to supply bindir if ffmpeg/ffprobe is in the system PATH
const ffmpeg = new node_ffmpeg_wrapper({bindir: 'C:/ffmpeg/bin'});

//probe file to get streams and other details
ffmpeg.probe({path: '/path/to/media/file.mkv'}, function(err, output) {
    if(err) {
        console.log('Error: ' + err);
    } else {
        console.log(output);
    }
});

Keywords

FAQs

Last updated on 02 Jan 2022

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