Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

simple-video-converter

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-video-converter

Simple Video Converter for node based on ffmpeg

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

version 0.2.0

Requirements

You need to have ffmpeg installed on your machine before using this package

Installation

npm install simple-video-converter

USAGE

var sfw = require('simple-video-converter');
var config = {
  video: {
    codec: "libx264",
    format: "mp4",
    quality: 25,
    resolution: "1280x720",
    bufsize: '923k',
    maxrate: '692k',
    profile: 'main',
    level: 3.1
  },
  audio: {
    codec: "aac",
    bitrate: "128k",
    rate: 48000
  }
}
var videolist = [
  ['/path/videoToConvert.mov','/path/videoConverted.mp4'],
  ...
];
var onEnd = function(){console.log('done')};

sfw.multi(config, videolist, onEnd);

sfw.single(config)('/path/videoToConvert.mov', '/path/videoConverted.mp4', onEnd);

USE IT AS CLI

if installed globally you can use it directly in command line

$ simple-video-converter
or
$ svc

Keywords

FAQs

Package last updated on 13 Apr 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc