Run FFmpeg & see percentage progress + ETA.
Project description
better-ffmpeg-progress
Runs an FFmpeg command and shows the following in the terminal:
- Percentage Progress
- Speed
- ETA (minutes and seconds)
Example: Progress: 25% | Speed: 22.3x | ETA: 1m 33s
Installation:
pip3 install better-ffmpeg-progress
Usage:
Simply import the run_ffmpeg_show_progress
function and supply a list of arguments like you would to subprocess.run()
from better_ffmpeg_progress import run_ffmpeg_show_progress
run_ffmpeg_show_progress(["ffmpeg", "-i", "input.mp4", "-c:a", "libmp3lame", "output.mp3"])
An optional ffmpeg_loglevel
argument can be supplied, to set the value of FFmpeg's -loglevel
option. Here's an example:
run_ffmpeg_show_progress(["ffmpeg", "-i", "input.mp4", "-c:a", "libmp3lame", "output.mp3"], ffmpeg_loglevel="warning")
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
Close
Hashes for better-ffmpeg-progress-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f50a5c7da82c1ab525139427ccf235b321feead0a755c34aa9f80b56a51c17cb |
|
MD5 | 95ce04a4e1fe7e0c8e17cdd1af399d6a |
|
BLAKE2b-256 | 45a44eb027a2a3c4456fa1331709a2acbb5d8ad98326e4cf6a338222ecc08c84 |
Close
Hashes for better_ffmpeg_progress-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da7228b2ffb94a718e04776895f3ec31d4e926c389b1afcb5e18a793480de22b |
|
MD5 | 21cd07a7fec8f07fe93ec8c7487994b9 |
|
BLAKE2b-256 | 83e9bc0064b68d485f4d5719e4f82f5a87d36b461b6b073644f4a6493f5835e9 |