FFmpeg wrapper for python
Project description
pyffmpeg
FFmpeg wrapper for python. The beautiful thing about it is that it comes with its own FFmpeg executable. And becuase its cross-platform and python 3, it is the only option available for building cross-platform apps with ffmpeg in python
Installation
pip install pyffmpeg
Usage
from pyffmpeg import FFmpeg
inp = 'path/to/music_folder/f.mp4'
out = 'path/to/music_folder/f.mp3'
ff = FFmpeg()
output_file = ff.convert(inp, out)
print(output_file)
Advanced Usage
from pyffmpeg import FFmpeg
Use a global directory to store all converted files
ff = FFmpeg('path/to/app_folder')
ff.convert('path/to/music_folder/f.mp3', 'f.wav')
Overwrite (Default is set to True)
ff.overwrite = False # do not overwrite but exit immediately
Wiki
The wiki can be located here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyffmpeg-1.5.tar.gz
(3.7 kB
view hashes)
Built Distributions
Close
Hashes for pyffmpeg-1.5-cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 082ffa08b96b050e04672900b75898cc5208cc03f51a82c1a8cb04556459240a |
|
MD5 | 0661147cdf2729a6583b072a966d3ea5 |
|
BLAKE2b-256 | 36e8097caa784d570b8216605149d377302bd86fa3e2458a4841634f348146c4 |
Close
Hashes for pyffmpeg-1.5-cp35.cp36.cp37.cp38.cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b84f938248347985dca1b268c75367fc700e95161180c8f3838cf18691e71901 |
|
MD5 | ee5e8eb12ec690e9896975ac274ec274 |
|
BLAKE2b-256 | 628b5a8071038bb26997db022f245af8b44f4a899a1527e951114d1db760c4cc |
Close
Hashes for pyffmpeg-1.5-cp35.cp36.cp37.cp38.cp39-abi3-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a9e87f0e1d436389a3d0814cd4daa2a00416de21c1e0424ecaecec1e7f85323 |
|
MD5 | 17a4d26cd6f1390e5f1a6804f37f1b47 |
|
BLAKE2b-256 | 5fe71939a135f7e08634407d46744ab090a1ebb95c8a35b27e9b1d7b511b7a63 |
Close
Hashes for pyffmpeg-1.5-cp35.cp36.cp37.cp38.cp39-abi3-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdc457d04c014e4fa250a3774185b47f19189d18512b15d2451f755ac39d8bb0 |
|
MD5 | ad4f921252619b5db94525f2afa039f5 |
|
BLAKE2b-256 | b3363990c6d266ad5466ca75be1ab9d676e9f102971aa6f3810a1bc46cacd635 |