wffmpeg is a wrapper to ffmpeg command line program, written in python. Is structured as a base library, easy to extend by combining standard ffmpeg features.
requires an ffmpeg executable file. Due to this it's (almost) multi-platform.
Common behaviour needs the use of two classess:
- FFDocument, an audio/video document who is editable by apply one
or more effects
- FFmpeg, the cli wrapper. A FFmpeg instance is used to extract metadata
from files and to execute an effects chain (using one or more FFDocument objects) in order to create a new document.
A FFmpeg object can be created by specify a path for your ffmpeg executable. Thus, it can be possible to use multiple ffmpeg instances and multiple versions.
The invocation of a FFDocument's effect method returns a new modified object. This means that effects are chainable. For example:
ff = FFDocument("/home/leonardo/movie.flv")
ffresult = ff.resize("50%").ltrim(10).resample(120)
wffmpeg is developped by email@example.com .
KATO Kanryu<firstname.lastname@example.org> exposed at PyPi this about SVN-2
Here it might be not the newest version about the library.
If you want to get newer one, to visit the official HP.