From 7b2d875d586669bce71e0654cc240d8b5d9302f5 Mon Sep 17 00:00:00 2001 From: MRDHR <864245039@qq.com> Date: Sun, 18 Nov 2018 20:35:17 +0800 Subject: [PATCH 1/2] fix install fail issue The file naming rules for the johnvansickle web page have changed, replacing 32bit and 64bit with i686 and amd64 --- ffmpeg-install | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ffmpeg-install b/ffmpeg-install index d0e1ea4..ec69e47 100755 --- a/ffmpeg-install +++ b/ffmpeg-install @@ -38,10 +38,10 @@ fi archs=`uname -m` case "$archs" in i?86) - ARCH=32bit + ARCH=i686 ;; x86_64) - ARCH=64bit + ARCH=amd64 ;; *) echo "Unsupported Arquitecture ($archs)" @@ -127,7 +127,6 @@ case $1 in cp -rf ffmpeg $PATH_INSTALL cp -rf ffmpeg-10bit $PATH_INSTALL cp -rf ffprobe $PATH_INSTALL - cp -rf ffserver $PATH_INSTALL cd .. rm -rf ffmpeg-* echo "Done!" From 3861c1e4443b17ab0c31d90f122cf5f0c073ea9d Mon Sep 17 00:00:00 2001 From: MRDHR <864245039@qq.com> Date: Mon, 19 Nov 2018 09:34:08 +0800 Subject: [PATCH 2/2] Update README.md add "the fastest way to install" --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 54ef027..f8c133a 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,12 @@ _Note: The script are compatible with all GNU/Linux distributions._ * `$ ffmpeg-install --help` +### The fastest way to install + + 1:wget https://raw.githubusercontent.com/MRDHR/ffmpeg-install/master/ffmpeg-install + 2:chmod a+x ffmpeg-install + 3:./ffmpeg-install --install release + ### External links: * [FFmpeg official website](https://www.ffmpeg.org/)