Skip to main content

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


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 details)

Uploaded Source

Built Distributions

pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl (17.1 MB view details)

Uploaded CPython 3.5 CPython 3.6 CPython 3.7 CPython 3.8 CPython 3.9 Windows x86-64

pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-none-win32.whl (17.1 MB view details)

Uploaded CPython 3.5 CPython 3.6 CPython 3.7 CPython 3.8 CPython 3.9 Windows x86

pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-abi3-manylinux2010_x86_64.whl (18.2 MB view details)

Uploaded CPython 3.5+ CPython 3.6+ CPython 3.7+ CPython 3.8+ CPython 3.9+ manylinux: glibc 2.12+ x86-64

pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-abi3-macosx_10_6_intel.whl (15.5 MB view details)

Uploaded CPython 3.5+ CPython 3.6+ CPython 3.7+ CPython 3.8+ CPython 3.9+ macOS 10.6+ intel

File details

Details for the file pyffmpeg-bin-1.8.0.1.tar.gz.

File metadata

  • Download URL: pyffmpeg-bin-1.8.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for pyffmpeg-bin-1.8.0.1.tar.gz
Algorithm Hash digest
SHA256 b1c5461d64beb1f997b6b1707f5ba7fb3d1b123b9fb18f8ab099df95f5d46887
MD5 efd3ad645a21b62ac1e0d7418e1d7723
BLAKE2b-256 8ac6b37301acf1a5a75273acd66e3af15ad800226c6a71ff12248bf85b179802

See more details on using hashes here.

File details

Details for the file pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl.

File metadata

  • Download URL: pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl
  • Upload date:
  • Size: 17.1 MB
  • Tags: CPython 3.5, CPython 3.6, CPython 3.7, CPython 3.8, CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

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

See more details on using hashes here.

File details

Details for the file pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-none-win32.whl.

File metadata

  • Download URL: pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-none-win32.whl
  • Upload date:
  • Size: 17.1 MB
  • Tags: CPython 3.5, CPython 3.6, CPython 3.7, CPython 3.8, CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

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

See more details on using hashes here.

File details

Details for the file pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-abi3-manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-abi3-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 18.2 MB
  • Tags: CPython 3.5+, CPython 3.6+, CPython 3.7+, CPython 3.8+, CPython 3.9+, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

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

See more details on using hashes here.

File details

Details for the file pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-abi3-macosx_10_6_intel.whl.

File metadata

  • Download URL: pyffmpeg_bin-1.8.0.1-cp35.cp36.cp37.cp38.cp39-abi3-macosx_10_6_intel.whl
  • Upload date:
  • Size: 15.5 MB
  • Tags: CPython 3.5+, CPython 3.6+, CPython 3.7+, CPython 3.8+, CPython 3.9+, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

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

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page