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

ffmpeg-batch-converter

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ffmpeg-batch-converter

Node.js script for batch video conversions with ffmpeg

  • 0.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

node-ffmpeg-batch-converter

Node.js script for batch video conversions with ffmpeg.

Installation

  1. Install ffmpeg first:

    • Ubuntu

      $ sudo apt install ffmpeg
      
  2. Install this package globally:

    $ npm install -g ffmpeg-batch-converter
    
  3. Convert video files:

    $ ffmpeg-batch-converter --input /path/to/input/directory --input-extension avi --output-extension mkv
    

Examples

  • Convert avi files to mkv:

    $ ffmpeg-batch-converter --input /path/to/input/directory --input-extension avi --output-extension mkv
    
  • Convert files recursively:

    $ ffmpeg-batch-converter --input /path/to/input/directory --input-extension avi --output-extension mkv --recursive
    
  • Convert files to another output directory:

    $ ffmpeg-batch-converter --input /path/to/input/directory --input-extension avi --output-extension mkv --output /path/to/output/directory
    
  • Convert files naming output files by their modification date:

    $ ffmpeg-batch-converter --input /path/to/input/directory --input-extension avi --output-extension mkv --output-naming date
    
  • Convert few input directories at once:

    $ ffmpeg-batch-converter --input /path/to/input/directory1 /path/to/input/directory2 --input-extension avi --output-extension mkv
    
  • Provide additional ffmpeg options.

    $ ffmpeg-batch-converter --input /path/to/input/directory --input-extension avi --output-extension mkv --ffmpeg-args="-r 25 -b:v 6000k -b:a 192k"
    
  • Display conversions without actually doing them:

    $ ffmpeg-batch-converter --input /path/to/input/directory --input-extension avi --output-extension mkv --dry
    

License

MIT

FAQs

Package last updated on 22 Jan 2020

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