https://github.com/rixrix/ffmpeg_ubuntu_installer.sh
FFmpeg Ubuntu script installer from source + libraries
https://github.com/rixrix/ffmpeg_ubuntu_installer.sh
bash ffmpeg
Last synced: 11 months ago
JSON representation
FFmpeg Ubuntu script installer from source + libraries
- Host: GitHub
- URL: https://github.com/rixrix/ffmpeg_ubuntu_installer.sh
- Owner: rixrix
- License: unlicense
- Created: 2016-11-27T11:45:49.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-23T03:10:28.000Z (almost 9 years ago)
- Last Synced: 2025-01-23T05:15:26.691Z (about 1 year ago)
- Topics: bash, ffmpeg
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# FFmpeg Ubuntu Build & Installer Script
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
> This guide for supported releases of Ubuntu, Debian, and Linux Mint will provide a local install of the latest FFmpeg tools and libraries including several external encoding and decoding libraries (codecs). This will not interfere with repository packages.
## Motivation
see [blog post](http://yup-the-website-domain-is.mindginative.com/post/install-ffmpeg-from-source-ubuntu-win10/)
## Setup
All of download sources, build folder and binaries are isolated and by default located in your home folder.
* `~/.ffmpeg_sources` - all downloaded sources
* `~/.ffmpeg_build` - sources build location, some libraries have their linked libraries and binaries drop in here, so you would see a `bin`, `share or `lib` folders inside
* `~/.ffmpeg_bin` - executable binaries
## Install
Just run the script, the installer follows the sequence from the FFmpeg's [Ubuntu compilation guide](https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu).
By default, it will install all libraries.
Depending on your machine, it might take a while - go get a coffee
* `git clone https://github.com/rixrix/ffmpeg_ubuntu_installer.sh.git`
* `chmod +x path/to/build.sh`
* `/bin/bash path/to/build.sh`
## HowTo
### Quick Way
`docker run -it --rm bash`
### Best Way
mount a host folder into the container:
```
docker run -it --rm -v `pwd`/data:/mnt/data bash
```
## Uninstall
This is a throw-away machine with Docker, so you just scrap the image or the container.
* Delete the image: `docker rmi `
* Delete the container: `docker rm `
## Tested on the following OS environment
* Ubuntu 14.04.5 LTS on Windows 10 via Bash (work and dev machine) before moving to Dockerised version
* Ubuntu 16.04 on Docker machine
## Caveats
* Temporarily disabled libx265
## TODO
* Make a parameterised build aka pick-n-match libraries
* Docs