https://github.com/iwconfig/dlffmpeg
Download and install ffmpeg, cross-platform.
https://github.com/iwconfig/dlffmpeg
cli console cross-platform dlffmpeg download downloader ffmpeg install installer module package python script
Last synced: 3 months ago
JSON representation
Download and install ffmpeg, cross-platform.
- Host: GitHub
- URL: https://github.com/iwconfig/dlffmpeg
- Owner: iwconfig
- License: mit
- Created: 2017-02-04T19:08:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-02T13:09:55.000Z (over 8 years ago)
- Last Synced: 2025-02-21T03:33:23.867Z (4 months ago)
- Topics: cli, console, cross-platform, dlffmpeg, download, downloader, ffmpeg, install, installer, module, package, python, script
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
dlffmpeg
========| 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 -L 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 installUsage
-----``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 = FalseExecute 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:
pathoptional 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 supportContribute
''''''''''
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 `_.