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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for pyffmpeg-1.2-cp35.cp36.cp37.cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 641db873bc2f238fe032c0ae12a72c1685776f33ebfaab24afb0858209e9b2be |
|
MD5 | 5aeac93a34f7832a6bd760036d7b382e |
|
BLAKE2b-256 | 5b58263027505846c2d50db7b89ab88e2b93927752c3feb050009f21f3b4274e |
Close
Hashes for pyffmpeg-1.2-cp35.cp36.cp37.cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 815e8bd15bae8dad8752a4ed0dcc453e40fe61e39bee2cba6529187b801efe6d |
|
MD5 | 47917202fb98cb1afa7851b10d95d1da |
|
BLAKE2b-256 | cfee9c4282948de5359695b1f5e5767fe02d9004922fce2d04900ae1fb59d8b4 |
Close
Hashes for pyffmpeg-1.2-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 513869b0035898510432adf6ed22dace55ea9e28df37d8f76d3a36f7d6332020 |
|
MD5 | 7a937fc4dfa4b6e50f86c834244272cb |
|
BLAKE2b-256 | 6fe9d88adef05f74cbf21a3dea96f4e86082d84daef2383389681cf04f29c670 |
Close
Hashes for pyffmpeg-1.2-cp35.cp36.cp37.cp38-abi3-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dc9e74d48ddf1b187ea44ab95437b0fc24afcb9af337ba79de4c910a840c62f |
|
MD5 | 3718e4197802fa3592eadd59e3d77318 |
|
BLAKE2b-256 | 79937bb514bbfac9d078ffa8a2022c812430d6d8ce538871e8aca9f642de5402 |