From 988584591a3fd4488d98c42860ed5d242a73e01e Mon Sep 17 00:00:00 2001 From: debuggeek Date: Fri, 19 Jan 2018 05:07:38 -0600 Subject: [PATCH] Update release script ffmpeg versions (#59) --- scripts/ffmpeg-dl/dl.sh | 11 ++++++----- scripts/ffmpeg-dl/extract.sh | 16 ++++++++-------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/scripts/ffmpeg-dl/dl.sh b/scripts/ffmpeg-dl/dl.sh index c86c4a42..380a1abd 100755 --- a/scripts/ffmpeg-dl/dl.sh +++ b/scripts/ffmpeg-dl/dl.sh @@ -1,9 +1,10 @@ +#!/usr/bin/env bash ffmpeg_linux_ia32=https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-32bit-static.tar.xz ffmpeg_linux_x64=https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz -ffmpeg_darwin_x64=http://evermeet.cx/ffmpeg/ffmpeg-3.2.7z -ffmpeg_win32_ia32=https://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-3.1.5-win32-static.zip -ffmpeg_win32_x64=https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-3.1.5-win64-static.zip -ffprobe_darwin_x64=http://evermeet.cx/ffmpeg/ffprobe-3.2.7z +ffmpeg_darwin_x64=http://evermeet.cx/ffmpeg/ffmpeg-3.4.1.7z +ffmpeg_win32_ia32=https://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-3.4.1-win32-static.zip +ffmpeg_win32_x64=https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-3.4.1-win64-static.zip +ffprobe_darwin_x64=http://evermeet.cx/ffmpeg/ffprobe-3.4.1.7z OUT_DIR=ffmpeg-tmp/archives @@ -12,7 +13,7 @@ if [ -d "$OUT_DIR" ]; then exit fi -mkdir "$OUT_DIR" && +mkdir -p "$OUT_DIR" && (cd "$OUT_DIR" && wget -O ffmpeg_linux_ia32.tar.xz "${ffmpeg_linux_ia32}" && wget -O ffmpeg_linux_x64.tar.xz "${ffmpeg_linux_x64}" && diff --git a/scripts/ffmpeg-dl/extract.sh b/scripts/ffmpeg-dl/extract.sh index 51edc2e5..779232fe 100755 --- a/scripts/ffmpeg-dl/extract.sh +++ b/scripts/ffmpeg-dl/extract.sh @@ -19,14 +19,14 @@ mkdir -p binaries/linux_x64 && mkdir -p binaries/win32_ia32 && mkdir -p binaries/win32_x64 && mkdir -p binaries/darwin_x64 && -mv extracted/linux_ia32/ffmpeg-3.2.2-32bit-static/ffmpeg binaries/linux_ia32 && -mv extracted/linux_ia32/ffmpeg-3.2.2-32bit-static/ffprobe binaries/linux_ia32 && -mv extracted/linux_x64/ffmpeg-3.2.2-64bit-static/ffmpeg binaries/linux_x64 && -mv extracted/linux_x64/ffmpeg-3.2.2-64bit-static/ffprobe binaries/linux_x64 && -mv extracted/win32_ia32/ffmpeg-3.1.5-win32-static/bin/ffmpeg.exe binaries/win32_ia32 && -mv extracted/win32_ia32/ffmpeg-3.1.5-win32-static/bin/ffprobe.exe binaries/win32_ia32 && -mv extracted/win32_x64/ffmpeg-3.1.5-win64-static/bin/ffmpeg.exe binaries/win32_x64 && -mv extracted/win32_x64/ffmpeg-3.1.5-win64-static/bin/ffprobe.exe binaries/win32_x64 && +mv extracted/linux_ia32/ffmpeg-3.4.1-32bit-static/ffmpeg binaries/linux_ia32 && +mv extracted/linux_ia32/ffmpeg-3.4.1-32bit-static/ffprobe binaries/linux_ia32 && +mv extracted/linux_x64/ffmpeg-3.4.1-64bit-static/ffmpeg binaries/linux_x64 && +mv extracted/linux_x64/ffmpeg-3.4.1-64bit-static/ffprobe binaries/linux_x64 && +mv extracted/win32_ia32/ffmpeg-3.4.1-win32-static/bin/ffmpeg.exe binaries/win32_ia32 && +mv extracted/win32_ia32/ffmpeg-3.4.1-win32-static/bin/ffprobe.exe binaries/win32_ia32 && +mv extracted/win32_x64/ffmpeg-3.4.1-win64-static/bin/ffmpeg.exe binaries/win32_x64 && +mv extracted/win32_x64/ffmpeg-3.4.1-win64-static/bin/ffprobe.exe binaries/win32_x64 && mv extracted/darwin_x64/ffmpeg binaries/darwin_x64 && mv extracted/darwin_x64/ffprobe binaries/darwin_x64 && echo Done