Progress bar for FFmpeg
Project description
PFFmpeg
Documentation: https://cguichard.github.io/pffmpeg
Source Code: https://github.com/CGuichard/pffmpeg
The FFmpeg command line tool is a universal media converter. It can read a wide variety of inputs, filter and transcode them into a plethora of output formats. For new user it can be extremely convoluted to use, and read the output. When converting a video file for the first time, understanding the progress of the current task from the output is quite the confusing task.
This is where PFFmpeg comes in. It's CLI is just on top of FFmpeg's, and delegates everything to it.
The output of the FFmpeg is parsed and "patched" to display a progress bar while running an action
such as a video compression. PFFmpeg philosophy is to alter as little as possible the FFmpeg experience,
and simply add the progress bar when needed, unlike other project who just wrap and hide all of the
output behind a progress bar. In terms of style, the
rich progress bar was chosen.
Table of Contents
Getting started
Installation
Install pffmpeg with pip:
pip install pffmpeg
Install pffmpeg with pip from source:
pip install git+https://github.com/CGuichard/pffmpeg.git
# pip install git+https://github.com/CGuichard/pffmpeg.git@<tag>
Usage
You can use any ffmpeg command with pffmpeg:
# Print help
pffmpeg -h
# Print version
pffmpeg -version
# Video processing
pffmpeg -i input.mp4 output.mp4
Demo:
Contributing
If you want to contribute to this project please check CONTRIBUTING.md.
Everyone contributing to this project is expected to treat other people with respect, and more generally to follow the guidelines articulated by our Code of Conduct.
License
Copyright © 2026, Clément GUICHARD
PFFmpeg is licensed under the MIT license. A copy of this license is provided in the LICENSE file.
Acknowledgements
This package was created with Cookiecutter from the project template CGuichard/cookiecutter-pypackage.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pffmpeg-1.0.1.tar.gz.
File metadata
- Download URL: pffmpeg-1.0.1.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6455c880d122debfe5ca3ee347fafe35a211039f05e5a0e5450cdb8abab51676
|
|
| MD5 |
63ac2e8a0e0deb0abcf1fbd2e2a04821
|
|
| BLAKE2b-256 |
0590915170dd01d63138d8c5a372e9880d2241b4167fd1a44aab8c806ba57b47
|
Provenance
The following attestation bundles were made for pffmpeg-1.0.1.tar.gz:
Publisher:
release.yml on CGuichard/pffmpeg
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pffmpeg-1.0.1.tar.gz -
Subject digest:
6455c880d122debfe5ca3ee347fafe35a211039f05e5a0e5450cdb8abab51676 - Sigstore transparency entry: 885739607
- Sigstore integration time:
-
Permalink:
CGuichard/pffmpeg@870e077527bbd8763083e75e716750d260394ca8 -
Branch / Tag:
refs/tags/1.0.1 - Owner: https://github.com/CGuichard
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@870e077527bbd8763083e75e716750d260394ca8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pffmpeg-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pffmpeg-1.0.1-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
198a060bc3ee9e65d96a5f7585f4c07aab860d97661c0064c354d0e91a7b31e8
|
|
| MD5 |
b0f1b203d088d8efb9ccb917599cd59f
|
|
| BLAKE2b-256 |
b045d539d6c2b82feb6768dbb23b4ebe1e09967cbc9f19959dd7f1184bc5daf6
|
Provenance
The following attestation bundles were made for pffmpeg-1.0.1-py3-none-any.whl:
Publisher:
release.yml on CGuichard/pffmpeg
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pffmpeg-1.0.1-py3-none-any.whl -
Subject digest:
198a060bc3ee9e65d96a5f7585f4c07aab860d97661c0064c354d0e91a7b31e8 - Sigstore transparency entry: 885739691
- Sigstore integration time:
-
Permalink:
CGuichard/pffmpeg@870e077527bbd8763083e75e716750d260394ca8 -
Branch / Tag:
refs/tags/1.0.1 - Owner: https://github.com/CGuichard
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@870e077527bbd8763083e75e716750d260394ca8 -
Trigger Event:
push
-
Statement type: