Skip to main content

A simple Python wrapper for ffmpeg

Project description

Latest version Travis-CI Documentation Status

ffmpy

ffmpy is the simplest ffmpeg wrapper one can imagine. Under the hood it uses Python’s subprocess module to run ffmpeg executable.

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

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for ffmpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5bb2206b4ec5de2a5097404c38eea802dee132d5c3bed0714261a794f87da898
MD5 5ad1ba94cff73943196d3336ec5f9a85
BLAKE2b-256 2b3e533a056e4e2fb4628d9c1426515e3dbd035f43d631ee09ed70fd7abd042c

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