FFmpeg wrapper for python
Project description
pyffmpeg-bin
FFmpeg wrapper for python.
Same as pyffmpeg but its unserialised.
This unserialised version means the ffmpeg binary comes with it as a binary and needs not be built at runtime.
The beautiful thing about it is that it comes with its own FFmpeg executable. It is compressed, making it the smallest you can find. 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-bin-1.8.0.1.tar.gz
(3.8 kB
view hashes)
Built Distributions
Close
Hashes for pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dded59200d2e57c0d331efc1c3f4e5a601d621534e4df0ba020961577044d06f |
|
MD5 | 65f76cf01875783ab109a03a1ac5cf02 |
|
BLAKE2b-256 | 613feefbc31c9f98fec804706307be0dada43627b8a46ec642532f2c06712501 |
Close
Hashes for pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 937e47b8ac1ff8c5df8d4374999e166f711f422feba3ea192c8105dd3c72ea76 |
|
MD5 | f3fcd5fd0a636bddbaa732137bbae6a2 |
|
BLAKE2b-256 | 8fbdd473b474a7a75d9bc96050e4a995bbd5969c6766025ad3693cf13895cae4 |
Close
Hashes for pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-abi3-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eca501307cc56828686de9e47c5e56b93c4e6e9aa80c16b201961da8ae9c26c |
|
MD5 | 212013b8633b163cc05b795293a4c6db |
|
BLAKE2b-256 | 9c8fbbd63d30654bd51dd476bee02ca519fe6517be31904cbd88f1e124e15a02 |
Close
Hashes for pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-abi3-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eafa3a7609258fffb1d2b5cebcc3886e938e02fa02c198e1d9b6846721b99d60 |
|
MD5 | 5c9f523342406a6428c4f2a554ddb9b3 |
|
BLAKE2b-256 | f914d81f314b0757429e75b72ef1b4ea84ffad7d15292699ea8c0d28dc973100 |