Skip to main content

A progress bar for ffmpeg. Yay !

Project description

Not smart. Not comprehensive. Not guaranteed to work.

Source PyPI AppVeyor Format License Changelog Downloads

ffpb is an FFmpeg progress formatter. It will attempt to display a nice progress bar in the output, based on the raw ffmpeg output, as well as an adaptative ETA timer.


(yes, my laptop can’t encode shit)


ffpb is is not even self-aware. Any argument given to the ffpb command is transparently given to the ffmpeg binary on your system, without any form of validation. So if you know how to use the FFmpeg CLI, you know how to use ffpb !

Using as a library

ffpb can be used as a library: use the ffpb.main function:

ffpb.main(argv=None, stream=sys.stderr, encoding=None, tqdm=tqdm):
The arguments to pass to ffmpeg, as an argument list.
The stream to which to write the progress bar and the output messages.
The encoding of the terminal, used to decode the ffmpeg output. Defaults to locale.getpreferredencoding(), or UTF-8 is locales are not available.
The progress bar factory to use. A subclass of tqdm.tqdm is expected. Check althonos/ffpb#19 to see how you can use this to wrap ffpb in your own UI.


Install from PyPI:

$ pip install --user ffpb

Alternatively, download a development version from the GitHub master branch:

$ pip install

Or if you use an Arch-based distro, download from the AUR

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ffpb, version 0.4.1
Filename, size File type Python version Upload date Hashes
Filename, size ffpb-0.4.1-py2.py3-none-any.whl (6.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size ffpb-0.4.1.tar.gz (7.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page