You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
470 B
Bash
13 lines
470 B
Bash
#!/bin/bash
|
|
# >> Check if curl is installed or nor
|
|
if ! command -V curl > /dev/null 2>&1; then
|
|
echo "curl not installed, please install it and try again"
|
|
exit
|
|
fi
|
|
|
|
mkdir -p ffmpeg/bin
|
|
curl -L https://github.com/aandrew-me/ffmpeg-builds/releases/download/v8/ffmpeg_mac_arm64 -o ffmpeg/bin/ffmpeg
|
|
curl -L https://github.com/aandrew-me/ffmpeg-builds/releases/download/v8/ffprobe_mac_arm64 -o ffmpeg/bin/ffprobe
|
|
chmod +x ffmpeg/bin/ffmpeg
|
|
chmod +x ffmpeg/bin/ffprobe
|