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.8 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

http://ffmpy.rtfd.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-0.6.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

ffmpy-0.6.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ffmpy-0.6.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.9

File hashes

Hashes for ffmpy-0.6.0.tar.gz
Algorithm Hash digest
SHA256 332dd93198a162db61e527e866a04578d3713e577bfe68f2ed26ba9d09dbc948
MD5 9ba2836d905d7519edac3b9b5e65d26d
BLAKE2b-256 380d5d2411c1db5d734fbbc547d1049c679536513cea2c97124b3b90228dfb41

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ffmpy-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.9

File hashes

Hashes for ffmpy-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8369bf45f8bd5285ebad94c4a789a79e7af86eded74c1f8c36eccf57aaea58c
MD5 8b86fddffb256763c3da7f0bb7691473
BLAKE2b-256 cb2f932f05d6c63e206baf1cb8ad6034f6eac6fe8dfdae86a74044216d4987fc

See more details on using hashes here.

Supported by

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