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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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