ffpb 
Not smart. Not comprehensive. Not guaranteed to work.
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.
Showcase
(yes, my laptop can’t encode shit)
Usage
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):
- argv
The arguments to pass to ffmpeg, as an argument list.
- stream
The stream to which to write the progress bar and the output messages.
- encoding
The encoding of the terminal, used to decode the ffmpeg output. Defaults to locale.getpreferredencoding(), or UTF-8 is locales are not available.
- tqdm
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.
Installation
Install from PyPI:
$ pip install --user ffpb
Alternatively, download a development version from the GitHub master branch:
$ pip install https://github.com/althonos/ffpb/archive/master.zip
Or if you use an Arch-based distro, download from the AUR
Metadata
Release files for ffpb 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ffpb-0.4.1.tar.gz | 7.1 kB | Without provenance | Details for ffpb-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ffpb-0.4.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for ffpb-0.4.1-py2.py3-none-any.whl |
Total release size: 13.3 kB
Release files / ffpb-0.4.1.tar.gz
| Download URL | ffpb-0.4.1.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ede56a6cba4c1d2d6c070daf612e1c4edc957679e49c6b4423cd7dd159577e59
|
|
BLAKE2b-256 checksum How to use checksums |
e18165fd092de53b2769cc301ea8b787ee7b83a39c416820c02a199464ba7177
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / ffpb-0.4.1-py2.py3-none-any.whl
| Download URL | ffpb-0.4.1-py2.py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0e3e2962f4812e39f29649f09785e7cd877ea7f0e14e84d17918c33618647321
|
|
BLAKE2b-256 checksum How to use checksums |
01c7ecf79fbab51a8a2a47af9b8ec01d7250a2876590c6a57c28e668dc296a4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Security for ffpb 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.