Skip to main content

Progress bar for FFmpeg

Project description

PFFmpeg

PFFmpeg logo

Progress bar for FFmpeg

Language License Documentation Style Lint Security PyPI - Version Tests Coverage

Pull Request · Bug Report · Feature Request


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:

Demo pffmpeg

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.

Download files

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

Source Distribution

pffmpeg-1.0.1.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pffmpeg-1.0.1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

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

Hashes for pffmpeg-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6455c880d122debfe5ca3ee347fafe35a211039f05e5a0e5450cdb8abab51676
MD5 63ac2e8a0e0deb0abcf1fbd2e2a04821
BLAKE2b-256 0590915170dd01d63138d8c5a372e9880d2241b4167fd1a44aab8c806ba57b47

See more details on using hashes here.

Provenance

The following attestation bundles were made for pffmpeg-1.0.1.tar.gz:

Publisher: release.yml on CGuichard/pffmpeg

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for pffmpeg-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 198a060bc3ee9e65d96a5f7585f4c07aab860d97661c0064c354d0e91a7b31e8
MD5 b0f1b203d088d8efb9ccb917599cd59f
BLAKE2b-256 b045d539d6c2b82feb6768dbb23b4ebe1e09967cbc9f19959dd7f1184bc5daf6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pffmpeg-1.0.1-py3-none-any.whl:

Publisher: release.yml on CGuichard/pffmpeg

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page