Skip to main content

A simple Python wrapper for FFmpeg

Project description

Tests Coverage Documentation Latest version

ffmpy

ffmpy is a simple FFmpeg command line wrapper. It implements a Pythonic interface for FFmpeg command line compilation and uses Python’s subprocess to execute the compiled command line.

ffmpy requires Python 3.9 or greater.

Installation

pip install ffmpy

Quick example

from ffmpy import FFmpeg
ff = FFmpeg(
    inputs={'input.mp4': None},
    outputs={'output.avi': None}
)
ff.run()

This will take the input.mp4 file in the current directory as the input, change the video container from MP4 to AVI without changing any other video parameters, and create a new output file output.avi in the current directory.

Documentation

https://ffmpy.readthedocs.io/

See Examples section for usage examples.

License

ffmpy is licensed under the terms of MIT license

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

ffmpy-1.0.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

ffmpy-1.0.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file ffmpy-1.0.0.tar.gz.

File metadata

  • Download URL: ffmpy-1.0.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ffmpy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b12932e95435c8820f1cd041024402765f821971e4bae753b327fc02a6e12f8b
MD5 48e5c7248109417eea46b71970cb389e
BLAKE2b-256 7dd21c4c582d71bcc65c76fa69fab85de6257d50fdf6fd4a2317c53917e9a581

See more details on using hashes here.

Provenance

The following attestation bundles were made for ffmpy-1.0.0.tar.gz:

Publisher: ci.yml on Ch00k/ffmpy

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

File details

Details for the file ffmpy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ffmpy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ffmpy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5640e5f0fd03fb6236d0e119b16ccf6522db1c826fdf35dcb87087b60fd7504f
MD5 18d932d5fac5afa72cb7a00d50365cea
BLAKE2b-256 5556dd3669eccebb6d8ac81e624542ebd53fe6f08e1b8f2f8d50aeb7e3b83f99

See more details on using hashes here.

Provenance

The following attestation bundles were made for ffmpy-1.0.0-py3-none-any.whl:

Publisher: ci.yml on Ch00k/ffmpy

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