Skip to main content

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

This version

0.0.8

Download files

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

Source Distribution

better-ffmpeg-progress-0.0.8.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

better_ffmpeg_progress-0.0.8-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file better-ffmpeg-progress-0.0.8.tar.gz.

File metadata

  • Download URL: better-ffmpeg-progress-0.0.8.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for better-ffmpeg-progress-0.0.8.tar.gz
Algorithm Hash digest
SHA256 f50a5c7da82c1ab525139427ccf235b321feead0a755c34aa9f80b56a51c17cb
MD5 95ce04a4e1fe7e0c8e17cdd1af399d6a
BLAKE2b-256 45a44eb027a2a3c4456fa1331709a2acbb5d8ad98326e4cf6a338222ecc08c84

See more details on using hashes here.

File details

Details for the file better_ffmpeg_progress-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: better_ffmpeg_progress-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for better_ffmpeg_progress-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 da7228b2ffb94a718e04776895f3ec31d4e926c389b1afcb5e18a793480de22b
MD5 21cd07a7fec8f07fe93ec8c7487994b9
BLAKE2b-256 83e9bc0064b68d485f4d5719e4f82f5a87d36b461b6b073644f4a6493f5835e9

See more details on using hashes here.

Supported by

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