Download and install ffmpeg, cross-platform.
Project description
System (architecture) |
Source |
---|---|
Linux (64-/32bit, armv7, armv8) |
|
OS X (64-/32bit, PPC) |
|
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.
# 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
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
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.
from dlffmpeg import getFFmpeg dl = getFFmpeg() dl.path = '/path/to/dir' dl.silent = True dl.pretty = True dl.verbose = False
Execute with dl.run()
~/ $ 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dlffmpeg-0.6.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19effae2ca86dcdf729f569ab8ef4b151e783e4e48adb34128a93336a45f70d6 |
|
MD5 | 00b53e97aade1a8e9a12040001382556 |
|
BLAKE2b-256 | 8256d025cf828d5476506a84af4fa29a145b908608a2df5a76f0e5a359d29e96 |