Skip to main content
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)

Source

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

https://johnvansickle.com/ffmpeg

OS X (64-/32bit, PPC)

http://evermeet.cx/ffmpeg and http://www.ffmpegmac.net

Windows (64-/32bit)

https://ffmpeg.zeranoe.com

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 https://git.io/vDdvo | sudo bash

# Using wget (not installed by default on OSX)
wget -O - https://git.io/vDdvo | sudo bash
Windows:

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

Installation

Using pip: sudo pip install -U dlffmpeg

or pip with git: sudo pip install git+https://github.com/iwconfig/dlffmpeg.git

From source code:
git clone https://github.com/iwconfig/dlffmpeg.git
cd dlffmpeg
sudo python setup.py install

Usage

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 dl.run()

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

specify installation path. no path equals to default path.

positional arguments:
  path

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

Todo

  • Use logging module instead

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

  • Better module support

Contribute

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. :)

License

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

Metadata

Release files for dlffmpeg 0.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dlffmpeg 0.6.3
File Size Uploaded
dlffmpeg-0.6.3.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dlffmpeg 0.6.3
File Interpreter ABI Platform
dlffmpeg-0.6.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 14.7 kB

Release files / dlffmpeg-0.6.3.tar.gz

Download URL dlffmpeg-0.6.3.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9af23ce4c7b0f64b2c8a290223b546b877f37c17beec4c07b748051c93d760e1
BLAKE2b-256 checksum
How to use checksums
15195e73aa0df17681c11d478961af96634458ca5212aec19b1014b3623f1656
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dlffmpeg-0.6.3-py2.py3-none-any.whl

Download URL dlffmpeg-0.6.3-py2.py3-none-any.whl
Size 7.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
19effae2ca86dcdf729f569ab8ef4b151e783e4e48adb34128a93336a45f70d6
BLAKE2b-256 checksum
How to use checksums
8256d025cf828d5476506a84af4fa29a145b908608a2df5a76f0e5a359d29e96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.6.3 This release

2 release files

0.5

1 release 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