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.tar.gz
(3.0 kB
view hashes)
Built Distributions
Close
Hashes for pyffmpeg-1.4-cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0543ee5bb1e46afc9a7cc0fa469c06711f85553adc74987edcf21cd8e51caf54 |
|
MD5 | 6acaf11a4fa3562c13708be5c5e538af |
|
BLAKE2b-256 | 7401c2cdf46eca58e49385e6b257a8a89169f10ecd01ee3d4be9755027c48dee |
Close
Hashes for pyffmpeg-1.4-cp35.cp36.cp37.cp38.cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8128328ace65e7cb851b220555c2fb7acbd529c307382202218f6b2a30b9790 |
|
MD5 | 1cbec02c375ff8059fbeb7f36daa0ff1 |
|
BLAKE2b-256 | 385f6335c6263b417d18b659e213576bbcc515cb7d3ec13387e00109d1a1ce87 |
Close
Hashes for pyffmpeg-1.4-cp35.cp36.cp37.cp38.cp39-abi3-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 422dfee14aebd487e01f659a982a4fda82778b8c01efffa53b521bdfefb3139a |
|
MD5 | 0ce34bfe6b109367fb2cde30ed34ff7a |
|
BLAKE2b-256 | 35c48b924ac6cd03ddd615697238a9dc2642eea06a2aa60b94b478991c01f17b |
Close
Hashes for pyffmpeg-1.4-cp35.cp36.cp37.cp38.cp39-abi3-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea38b280dcc7c4955ca9490b93278d070b1a63537a7f22cb23e65f428792c572 |
|
MD5 | ad5e3511a59dfe2913ac5cfe9fa733b9 |
|
BLAKE2b-256 | af87446be7fdbf4ea724c9d2f31978603f4a9a6c7b95c5148b319e5c98da0f3b |