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
Quick start
Install PFFmpeg with pip (from PyPI):
pip install pffmpeg
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 or understand how it works, please check CONTRIBUTING.md.
Any contribution is greatly appreciated.
License
Distributed under the MIT License. See LICENSE for more information.
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
File details
Details for the file pffmpeg-1.0.0.tar.gz
.
File metadata
- Download URL: pffmpeg-1.0.0.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d53e1885d2713a5f0ec69fedddd9de3bd7fb3f14bac025e28acdf431cfb7a62 |
|
MD5 | 5826919304d9055f5af8ef8373b8f111 |
|
BLAKE2b-256 | 319167aa60e330b1e8f61699507c780d505907021333b1fcbff5ae5e111717cf |
File details
Details for the file pffmpeg-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pffmpeg-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 028dd10525850fb096e08e0f26c4cc3f375149e08ef262f2e028c3fec78e3fce |
|
MD5 | b665bd0c28fa8444a4e9a4f03ece79a0 |
|
BLAKE2b-256 | b0dba96b16d47dfeed6cae353435abd759c9ca9d1e5be7b650a0f6d97560e2db |