Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

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.8a0.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file pyffmpeg-bin-1.8a0.tar.gz.

File metadata

  • Download URL: pyffmpeg-bin-1.8a0.tar.gz
  • Upload date:
  • Size: 3.7 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.8a0.tar.gz
Algorithm Hash digest
SHA256 068457206c302b8d6dbfed42c4837911c383533d844160c987409f8e7b42a774
MD5 fd64fe0c07434cbb5345c2cebc8cc6f2
BLAKE2b-256 738a4ff00f5f74fbf255f4fe404fd641f6f8bbcfebf87f29c32eed9f7543b8ff

See more details on using hashes here.

Release history Release notifications | RSS feed

1.8.0.1

5 files

1.8

4 files

This release

1.8a0 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page