Skip to main content

Utilities for working with ffmpeg

Project description

ffutils

Utilities for working with ffmpeg, such as downloading ffmpeg executables and displaying progress for ffmpeg commands.

Installation

To install the library, use pip:

pip install ffutils

Alternatively, install the latest directly from the GitHub repository:

pip install git+https://github.com/dsymbol/ffutils.git

Usage

from ffutils import get_ffmpeg_exe, ffprog

# Download ffmpeg executable if not found in PATH
get_ffmpeg_exe()

# Example ffmpeg command to convert a video with progress
command = ["ffmpeg", "-i", "input.mp4", "output.mkv"]
ffprog(command, desc="Converting video")

Combine ffmpeg-python and a progress bar:

import ffmpeg
from ffutils import get_ffmpeg_exe, ffprog

get_ffmpeg_exe()

command = (
    ffmpeg
    .input('video.mp4')
    .output('output.mkv')
).get_args()

ffprog(
    command,
    desc="Converting video"
)

Project details


Download files

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

Source Distribution

ffutils-2025.3.11.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

ffutils-2025.3.11-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file ffutils-2025.3.11.tar.gz.

File metadata

  • Download URL: ffutils-2025.3.11.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for ffutils-2025.3.11.tar.gz
Algorithm Hash digest
SHA256 237276ca7225031a25dd59df6a4e08091bea7ed5099c54fb0b62082a2ddbf21d
MD5 5508c4b39781f57f9290aa6aff6e94a9
BLAKE2b-256 441f03d195461cd78b6b07cc44ab7ce2172c96b5087cd308caa68e97d4428d6a

See more details on using hashes here.

File details

Details for the file ffutils-2025.3.11-py3-none-any.whl.

File metadata

  • Download URL: ffutils-2025.3.11-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for ffutils-2025.3.11-py3-none-any.whl
Algorithm Hash digest
SHA256 b18c70157c67afda28cf15706846a0f2c63af7903f6fe7ee099e4a4b5efccfeb
MD5 c70468430aa6b1734a3bd0ed6b1be9c2
BLAKE2b-256 105692b1669d95ad4ce5708b80e473aadda73fe87a815fc5bca36657b22cc617

See more details on using hashes here.

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