Skip to main content

A simple Python wrapper for ffmpeg

Project description

Tests Documentation Latest version

ffmpy

ffmpy is a simplystic FFmpeg command line wrapper. It implements a Pythonic interface for FFmpeg command line compilation and uses Python subprocess module to execute compiled command line.

Installation

You guessed it:

pip install ffmpy

Quick example

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

This will take 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.2.3.tar.gz (4.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: ffmpy-0.2.3.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for ffmpy-0.2.3.tar.gz
Algorithm Hash digest
SHA256 c52a86f530f1caefddc15b50193f86d1bfe009855893b06e683d8a9445af99fb
MD5 fd37b0cbb761b744630f4c9f2a19ae2a
BLAKE2b-256 9e12896dbb507a02a46eb6488fefc0b74a8c33eec59257ee3c35a2f41563c48e

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