Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,23 @@ Installation

Open your command line and run (needs curl to be installed):

```
bash <(curl -s https://raw.githubusercontent.com/markus-perl/ffmpeg-build-script/master/web-install.sh?v1)
```bash
bash <(curl -s "https://raw.githubusercontent.com/markus-perl/ffmpeg-build-script/master/web-install.sh?v1")
```
This command downloads the build script and automatically starts the build process.

### Common installation

```
```bash
git clone https://github.com/markus-perl/ffmpeg-build-script.git
cd ffmpeg-build-script
./ffmpeg-build-script --help
./build-ffmpeg --help
```

Usage
------

```
```bash
./build-ffmpeg --help Display usage information
./build-ffmpeg --build Starts the build process
./build-ffmpeg --cleanup Remove all working dirs
Expand Down
8 changes: 7 additions & 1 deletion build-ffmpeg
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,13 @@ echo "Building done. The binary can be found here: $WORKSPACE/bin/ffmpeg"
echo ""


if [[ ! $SKIPINSTALL == "yes" ]]; then
if [[ $AUTOINSTALL == "yes" ]]; then
if command_exists "sudo"; then
sudo cp "$WORKSPACE/bin/ffmpeg" "$INSTALL_FOLDER/ffmpeg"
sudo cp "$WORKSPACE/bin/ffprobe" "$INSTALL_FOLDER/ffprobe"
echo "Done. ffmpeg is now installed to your system"
fi
elif [[ ! $SKIPINSTALL == "yes" ]]; then
if command_exists "sudo"; then

read -r -p "Install the binary to your $INSTALL_FOLDER folder? [Y/n] " response
Expand Down