Skip to main content

Download and install ffmpeg, cross-platform.

Project description

Simple python module/standalone script to download and install the latest (static binary) release of FFmpeg from different sources. You can find the links to these sources on the official homepage of FFmpeg.

Supported systems are Linux, OS X and Windows. Currently armv7 and armv8 architectures are only available for Linux systems.

System (architecture)


Linux (64-/32bit, armv7, armv8)

OS X (64-/32bit, PPC) and

Windows (64-/32bit)

Quick run!

In a hurry or feeling lazy? Run one of these oneliners to download and execute the latest binary release. No python needed.

Linux and OS X:
# Using cURL
curl | sudo bash

# Using wget (not installed by default on OSX)
wget -O - | sudo bash

At the moment windows users are stuck with downloading and running the latest binary file manually (as admin). But not for long!


Using pip: sudo pip install -U dlffmpeg

or pip with git: sudo pip install git+

From source code:
git clone
cd dlffmpeg
sudo python install


dlffmpeg._run() installs into default path if no argument, else string as path.

getFFmpeg() contains all options, e.g.:
from dlffmpeg import getFFmpeg
dl = getFFmpeg()
dl.path = '/path/to/dir'
dl.silent = True
dl.pretty = True
dl.verbose = False

Execute with

Standalone takes one argument for custom path or no argument for default.
~/ $ dlffmpeg --help
usage: [-h] [-s] [-lv] [-p] [--version] [path]

specify installation path. no path equals to default path.

positional arguments:

optional arguments:
  -h, --help           show this help message and exit
  -s, --silent
  -lv, --less-verbose
  -p, --pretty
  --version            show program's version number and exit


  • Use logging module instead

  • Ability to compile and install from source, cross-platform

  • Better module support


I am certain my code needs better perspective and from what this script represent i’m currently not capable of comprehending better principles. Please feel free to fork and improve. :)


This project is licensed under the terms of the MIT license.

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

dlffmpeg-0.6.3.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

dlffmpeg-0.6.3-py2.py3-none-any.whl (7.6 kB 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