• Stars
    star
    206
  • Rank 190,504 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A colored progress bar for FFmpeg.

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

More Repositories

1

pb-for-desktop

The missing Desktop application for Pushbullet.
JavaScript
507
star
2

desktop-dimmer

Enable darker-than-dark dimming for internal and external screens.
JavaScript
374
star
3

electron-titlebar-windows

Adds the Windows 10 ModernUI (Metro)-style titlebars to any Electron-based desktop app.
JavaScript
141
star
4

live-wallpaper-ecorp

Animated Wallpaper featuring the E-Corp company logo from Mr. Robot.
JavaScript
36
star
5

homebrew-homebrew

sidneys.github.io Homebrew Tap
Ruby
23
star
6

youtube-playlist-player

Watch and edit YouTube playlists on the desktop.
CSS
17
star
7

cordova-plugin-progressview

Cordova+PhoneGap Extension for displaying a native determinate progress dialog.
Objective-C
7
star
8

xml-to-srt-cli

Convert XML subtitles (EBU-TT format) from online broadcasting platforms like MediathekView (Germany) or the BBC (UK) into SRT (SubRip) subtitles.
JavaScript
6
star
9

quicklook-thumbnail

Use NodeJS to generate thumbnail images for all QuickLook-enabled filetypes (e.g. .mp4 videos, iMessage transcripts, text files) on Apple OSX.
JavaScript
6
star
10

open-with-iina

Discover & open web-based media inside macOS' IINA media player
JavaScript
5
star
11

cordova-autocrosswalk

Shell / Bash script to auto-convert Cordova 3.6 projects to Cordova Crosswalk.
Shell
4
star
12

notificationcenter-settings-macos

Exposes a streamlined interface to the Notification Center settings for macOS applications.
JavaScript
3
star
13

specialkey-emulator

Emulate special keys (e.g. brightness, play/pause, increase volume) by emitting low-level global keyboard events - using NodeJS.
JavaScript
3
star
14

specialkey-emulator-cli

Emulate special keys from the command line.
JavaScript
2
star
15

macos-accessibility-keyboard

The missing interface for the hidden native virtual on-screen keyboard on macOS.
JavaScript
2
star
16

npm-check-global-updates

Find newer versions of global npm packages
JavaScript
2
star