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.4.1.tar.gz
(3.0 kB
view hashes)
Built Distributions
Close
Hashes for pyffmpeg-1.4.1-cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ca03646eab4086f2328be7330c11088bbe76e722dc9f9e614e771ff7d147ca3 |
|
MD5 | 1171de3b5abfec9dc1a4e943c5d43cbc |
|
BLAKE2b-256 | 91643d240cbc8ca187b0e44b833b0a5f079c570fe2dee9e4e248fe350858c03a |
Close
Hashes for pyffmpeg-1.4.1-cp35.cp36.cp37.cp38.cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3aaed56f63f8aee91c3d0a905a67333d9a8bc7ce6b311debe8b76ac32aa4081e |
|
MD5 | 9fe0c60bbe306464cead655282bd5acc |
|
BLAKE2b-256 | 820ad1c0ffaffec59e868ad2c8539e7d11190a9200b826fe9208ab25a2915020 |
Close
Hashes for pyffmpeg-1.4.1-cp35.cp36.cp37.cp38.cp39-abi3-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d75fbb7330ef5dd6be8b0e863864aca31935594a6c56900c70b2831a50aed213 |
|
MD5 | df286ab18c52b581dbe7573b9663a998 |
|
BLAKE2b-256 | 26151f1e53e444a239c26c34ecbb742ac20e5dfe9555b01ba464358608bab1d1 |
Close
Hashes for pyffmpeg-1.4.1-cp35.cp36.cp37.cp38.cp39-abi3-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19c0a6bfb05be0f654f4d9af627c66c675f14ff13b8ae126336020e785ed646f |
|
MD5 | 8139b6235df1b3630630ccea33d43c1e |
|
BLAKE2b-256 | fe0108c9292fee5fd991caa8ea98b32e672ef2c05ca3c93f464647239b066e2a |