Add build instructions (README.md)

This commit is contained in:
q3aql 2021-12-30 11:10:00 +01:00
parent ff22ca4c83
commit 60fcdc2481
3 changed files with 35 additions and 2 deletions

View File

@ -25,7 +25,7 @@ FFmpeg builds for GNU/Linux & Windows (with Cygwin)
* [ffmpeg-4.4.1-win-32bit-build-cygwin.zip](https://github.com/q3aql/ffmpeg-builds/releases/download/v4.4.1/ffmpeg-4.4.1-win-32bit-build-cygwin.zip) * [ffmpeg-4.4.1-win-32bit-build-cygwin.zip](https://github.com/q3aql/ffmpeg-builds/releases/download/v4.4.1/ffmpeg-4.4.1-win-32bit-build-cygwin.zip)
* [ffmpeg-4.4.1-win-64bit-build-cygwin.zip](https://github.com/q3aql/ffmpeg-builds/releases/download/v4.4.1/ffmpeg-4.4.1-win-64bit-build-cygwin.zip) * [ffmpeg-4.4.1-win-64bit-build-cygwin.zip](https://github.com/q3aql/ffmpeg-builds/releases/download/v4.4.1/ffmpeg-4.4.1-win-64bit-build-cygwin.zip)
### How to install: ### HOW TO INSTALL:
* **GNU/Linux instructions:** * **GNU/Linux instructions:**
@ -34,12 +34,45 @@ FFmpeg builds for GNU/Linux & Windows (with Cygwin)
```shell ```shell
$ sudo tar jxvf ffmpeg-4.4.1-linux-gnu-[arch]-build.tar.bz2 -C / $ sudo tar jxvf ffmpeg-4.4.1-linux-gnu-[arch]-build.tar.bz2 -C /
```` ````
_Note: Replace `[arch]` with `linux32` or `linux64` depending on your architecture._
* **Windows instructions:** * **Windows instructions:**
* Download the package ([32 bits](https://github.com/q3aql/ffmpeg-builds/releases/download/v4.4.1/ffmpeg-4.4.1-win-32bit-build-cygwin.zip) or [64 bits](https://github.com/q3aql/ffmpeg-builds/releases/download/v4.4.1/ffmpeg-4.4.1-win-64bit-build-cygwin.zip))
* Unzip the package with [7-zip](http://www.7-zip.org/) or [Winrar](http://www.rarlab.com/). * Unzip the package with [7-zip](http://www.7-zip.org/) or [Winrar](http://www.rarlab.com/).
* Copy the files to a folder. For example: `C:\Program Files\FFmpeg` * Copy the files to a folder. For example: `C:\Program Files\FFmpeg`
* Add the path `C:\Program Files\FFmpeg` to [PATH](https://www.google.es/search?q=add+folder+to+PATH+on+Windows) variable. * Add the path `C:\Program Files\FFmpeg` to [PATH](https://www.google.es/search?q=add+folder+to+PATH+on+Windows) variable.
### HOW TO CREATE YOUR BUILD:
* **GNU/Linux instructions:**
* Install dependencies in your Linux distro:
* Dependencies: `wget`, `git`, `gcc`, `g++`, `yasm`, `nasm`, `make`, `meson`, `ninja`. `gperf`, `autoconf` and `libtool`
* Type the following commands:
```shell
$ git clone https://github.com/q3aql/ffmpeg-builds/
$ cd ffmpeg-builds
$ sudo ./ffmpeg-static-build-[arch].sh
````
_Note: Replace `[arch]` with `linux32` or `linux64` depending on your architecture._
* **Windows instructions:**
* Install Cywin for [32bits](https://cygwin.com/setup-x86.exe) or [64bits](https://cygwin.com/setup-x86_64.exe).
* During installation, configure the repository and install `git` and `wget`.
* Open Cygwin terminal and type the following commands:
```shell
$ git clone https://github.com/q3aql/ffmpeg-builds/
$ cd ffmpeg-builds
$ ./ffmpeg-share-build-[arch].sh
````
_Note: Replace `[arch]` with `cygwin32` or `cygwin64` depending on your architecture._
### Related links: ### Related links:

0
ffmpeg-shared-build-cywin32.sh Normal file → Executable file
View File

0
ffmpeg-shared-build-cywin64.sh Normal file → Executable file
View File