Skip to main content

Cross platform ffmpeg to work on various systems.

Project description

Actions Status Actions Status Actions Status

static_ffmpeg

Version

FFMPEG Version: 4.4

About

Problem: You develop on Windows/MacOS/Linux. You want an ffmpeg that works on all the platforms but now you have to go and special case your program installation to handle each platforms ability to get the ffmpeg download. For example:

  • Win32: download binary
  • MacOS: brew install ffmpeg
  • Linux: sudo apt-get install ffmpeg

If you want to be able to quitely (re)install a python package silently and automatically using ffmpeg, well you are out of luck... until now.

Pre-installation (optional)

To easily setup a virtual environment, please see this installation script: https://raw.githubusercontent.com/zackees/static_ffmpeg/main/setupvirtualenv.py

Installation

To use simply do pip install static-ffmpeg and then after this is done you can try running static_ffmpeg -version to test out that the version has been installed.

Once this package is installed, the static_ffmpeg command will be available. This command simply passes all arguments to a real ffmpeg. Call static_ffmpeg like you would call ffmpeg in your project and it should just work.

Warning - Big

  • All three binaries for Win32/OSX/Linux ffmpeg are included. Though if you need ffmpeg then you probably have a large disk anyway.

Binary source

Testing

  • Clone this project git clone https://github.com/zackees/static_ffmpeg
  • Then setup the virtual env using the script python virtualenvsetup.py
  • Then activate . venv/bin/activate
  • Then run tox tox

Testing work arounds

  • You may get an error like 'Interpretor not found'
  • Ubuntu: `ModuleNotFoundError: No module named 'virtualenv.seed.via_app_data'
    • Uninstall the pip on your system and reinstall:
      • pip3 uninstall virtualenv
      • pip3 install virtualenv

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

static_ffmpeg-1.0.6.tar.gz (78.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

static_ffmpeg-1.0.6-py2.py3-none-any.whl (78.7 MB view details)

Uploaded Python 2Python 3

File details

Details for the file static_ffmpeg-1.0.6.tar.gz.

File metadata

  • Download URL: static_ffmpeg-1.0.6.tar.gz
  • Upload date:
  • Size: 78.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for static_ffmpeg-1.0.6.tar.gz
Algorithm Hash digest
SHA256 e6cddc37e941f63a9c25ca8770b7b67e35a07da6b4a956d79ef625ae18bdea11
MD5 fec305e4688e8d0a5d8cfd48453e6e2e
BLAKE2b-256 0a56e534263cb88a56f219250267110ccd222179e5be2b0cc80de71882d894fd

See more details on using hashes here.

File details

Details for the file static_ffmpeg-1.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: static_ffmpeg-1.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 78.7 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for static_ffmpeg-1.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 93b86c45185f844e89057cc41f070559a6e24a1864e69d276bb626e569bcc5fa
MD5 c85e9a38e7b402081fbdc4b47ef30308
BLAKE2b-256 303ac2db985e85f8c4d28c54565819607101b7aa479bcb7853308c7963169998

See more details on using hashes here.

Supported by

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