Skip to main content

A simple Python wrapper for ffmpeg

Project description

Latest version Travis-CI Documentation Status

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.readthedocs.io/en/latest

See Examples section for usage examples.

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.2.tar.gz (4.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: ffmpy-0.2.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ffmpy-0.2.2.tar.gz
Algorithm Hash digest
SHA256 65abdddfa2561bb86b6c9ecfced53c7a15ea5080db4ddad08da7de5a348929f1
MD5 3ff0c653878dc6f68362489b9fd3b2c3
BLAKE2b-256 18e64309f4c02d38aef16236650766f78e949c1b8170f5d63cc4b3be7148565f

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