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

ffmpeg-progressbar-cli

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ffmpeg-progressbar-cli

A colored progress bar for FFmpeg. Simply use `ffmpeg-bar` instead of `ffmpeg`.

  • 1.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18
increased by12.5%
Maintainers
1
Weekly downloads
 
Created
Source

ffmpeg-progressbar-cli npm


ffmpeg-progressbar-cli is a colored progress bar for FFmpeg.
Simply use ffmpeg-bar instead of ffmpeg.

Contents

  1. Installation
  2. Usage
  3. Configuration
  4. Requirements
  5. Compatibility
  6. Contribute
  7. Author

Installation

$ npm install --global ffmpeg-progressbar-cli

Usage

The installation process adds the ffmpeg-bar command to your system.
This is a transparent wrapper, passing all commands to ffmpeg.

To use it, simply launch ffmpeg-bar instead of ffmpeg, or replace ffmpeg with ffmpeg-bar inside your scripts.

As long as no errors are encountered, the output of ffmpeg-bar will consist of a progress bar, the estimated time until process completion and a percentage.

Examples
$> ffmpeg-bar -i input.mp4 output.avi
$> ffmpeg-bar -i input.avi -b:v 64k -bufsize 64k output.avi
$> ffmpeg-bar -i in.mkv -map_metadata:s:a 0:g out.mkv

Configuration

For configuration purposes, ffmpeg-progressbar-cli exposes these environmental variables:

BAR_FILENAME_LENGTH

The maximum number of characters of the filename label displayed next to the progress bar beam (default: 20)

Example
$> BAR_FILENAME_LENGTH=7 ffmpeg-bar -i in.mp4 output.mp4
BAR_BEAM_RATIO

The share of (available) horizontal display real estate the progress bar beam should occupy (default: 0.75)

Example
$> BAR_BAR_SIZE_RATIO=0.5 ffmpeg-bar -i in.mp4 output.mp4

Requirements

Compatibility

Tested on

  • macOS 10.13, 10.14 Beta
  • Windows 10 1803
  • Ubuntu 18.04

Contribute Contributors Wanted

Read the contribution documentation.

License

MIT

Author

sidneys 2018

Keywords

FAQs

Package last updated on 10 Nov 2018

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