ffmpeg-progressbar-cli
ffmpeg-progressbar-cli is a colored progress bar for FFmpeg.
Simply use ffmpeg-bar
instead of ffmpeg
!
Contents
- Installation
- Usage
- Configuration
- Requirements
- Compatibility
- Contribute
- Author
Installation
$ npm install --global ffmpeg-progressbar-cli
Usage
The installation process adds the ffmpeg-bar
binary to your system, which is a fully transparent wrapper for ffmpeg
, forwarding all commands to FFmpeg as-is.
To use it, simply start ffmpeg-bar
instead of ffmpeg
.
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, this exposes several environmental variables:
BAR_FILENAME_LENGTH
(default: 20)
The maximum length of the filename label displayed next to the bar.
BAR_BAR_SIZE_RATIO
default: 0.4
| The share of horizontal display real estate the bar should occupy.
Examples
$ BAR_FILENAME_LENGTH=30 ffmpeg-bar -i in.mp4 out.mp4
$ BAR_BAR_SIZE_RATIO=0.5 ffmpeg-bar -i in.mp4 out.mp4
Requirements
A working installation of FFmpeg.
Compatibility
Tested on
- macOS 10.13, 10.14 Beta
- Windows 10 1803
- Ubuntu 18.04
Contribute
Read the contribution documentation.
License
MIT
Author
sidneys 2018