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.0.0-windows.tar.gz
(22.6 MB
view hashes)
Built Distributions
pyffmpeg-1.0.0-py3-linux-any.whl
(24.2 MB
view hashes)
pyffmpeg-1.0.0-py3-darwin-any.whl
(20.9 MB
view hashes)
Close
Hashes for pyffmpeg-1.0.0-py3-windows-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed53ba68c27c48f85020a5ac7ba5f4a584f30289de41cad2aebe930b85a9b69d |
|
MD5 | 6c12020532d8fa8c487ab206eada3be1 |
|
BLAKE2b-256 | 5b2882429509c0d88a2e5014955c52066c5516e092f4de157241bde0b4eecde0 |
Close
Hashes for pyffmpeg-1.0.0-py3-linux-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25fa5a78c18f6876ca772fee285755ba4f1703808a040f710586f2ac3eb6747f |
|
MD5 | ece170e991643469a70bb4f0464ef42f |
|
BLAKE2b-256 | 3b9a5431373d3aa0f6e6d3d14e0f45b5ad6f6354be00647df71a1d9a9488963c |
Close
Hashes for pyffmpeg-1.0.0-py3-darwin-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c2be9a3e5ea81821fe311607f549a9871ea32d4e05c318a572c05d3eb6a9863 |
|
MD5 | 304139419fe86c043e8ea6e1be2e891e |
|
BLAKE2b-256 | dc4da02d9612d6e4534a77d012504fc844b3bf96cafe0fca8754997c880f1b88 |