FFmpeg wrapper for python
Project description
pyffmpeg
FFmpeg wrapper for python. It uses FFmpeg binary to provide both FFmpeg and FFprobe functionality (FFprobe functionality includes get_album_art
). So you can kill two birds with one stone.
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
FFmpeg
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)
FFprobe
Provides FFprobe functions and values
from pyffmpeg import FFprobe
input_file = 'path/to/music.mp3'
fp = FFprobe(input_file)
print(fp.duration)
will print
> 00:04:32:32
NB: The above digits is just for illustration
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-2.0.1.tar.gz
(7.0 kB
view hashes)
Built Distributions
Close
Hashes for pyffmpeg-2.0.1-cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2479b924441c39728602e7b16231e266dd4d7725852076329b3c49b2f0efe6e1 |
|
MD5 | 7496e5a888f3960662accd2f3708af17 |
|
BLAKE2b-256 | db1372804b3359e71f9b37403e2e2faf15931fc2ae22807aa44b1a4a19715da7 |
Close
Hashes for pyffmpeg-2.0.1-cp35.cp36.cp37.cp38.cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7bc22d39aefda1f4ae77128e4393cec135582f36e3b3f677ef3bce85da6ab1f |
|
MD5 | c627c7e4f73c15886507bf6a321b663b |
|
BLAKE2b-256 | 3a54f79734153b9ba8ff16f95b6c698f85c6924d7eb07e773b793bc9e0cf89f6 |
Close
Hashes for pyffmpeg-2.0.1-cp35.cp36.cp37.cp38.cp39-abi3-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69a86547f5eca43a66f73dd762eae7242a53412b94530152241bcb6cbf10ae04 |
|
MD5 | f7698f6631ec0f81386c1fda6a8e6967 |
|
BLAKE2b-256 | b21ac76ecd63733ae6fb4ba45706780bc5403bceddeb55d5051caecee37bd411 |
Close
Hashes for pyffmpeg-2.0.1-cp35.cp36.cp37.cp38.cp39-abi3-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c7edabc8abefdddd36838342634f518b2fe6e7a7e67a6db06e801c43a1ff392 |
|
MD5 | ab4164bfb6a6d6e87f06ef335b5c614a |
|
BLAKE2b-256 | 5440eaea71cae8059854d2d6de7aa47c6361398d81e6924aeff95e21beb4db23 |
Close
Hashes for pyffmpeg-2.0.1-cp35.cp36.cp37.cp38.cp39-abi3-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d104da55bbe6c7382c4bd252f4feaf3fd02f41d01d19ad3c98ad787fb7c9252e |
|
MD5 | 10d056aac228d34629d0e604c472dbd0 |
|
BLAKE2b-256 | 5e066082a31d733477f979be9816b8f4cec363db9537806239373879a3574a56 |