2017-06-15 12:17:04 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Download FFmpeg and HM decoder and place them in $PATH.
|
|
|
|
|
|
|
|
set -euvo pipefail
|
|
|
|
|
|
|
|
mkdir -p "${HOME}/bin"
|
|
|
|
|
2020-10-09 06:28:58 +00:00
|
|
|
wget http://ultravideo.fi/ffmpeg-release-4.2.1-32bit-static.tar.xz
|
2017-06-15 12:17:04 +00:00
|
|
|
sha256sum -c - << EOF
|
2019-09-11 11:52:30 +00:00
|
|
|
226f55f8a94d71f3d231a20fe59fcbb7f6100cabf663f9bcb887d17b332a91c5 ffmpeg-release-4.2.1-32bit-static.tar.xz
|
2017-06-15 12:17:04 +00:00
|
|
|
EOF
|
2019-09-11 11:52:30 +00:00
|
|
|
tar xf ffmpeg-release-4.2.1-32bit-static.tar.xz
|
|
|
|
cp ffmpeg-4.2.1-i686-static/ffmpeg "${HOME}/bin/ffmpeg"
|
2017-06-15 12:17:04 +00:00
|
|
|
chmod +x "${HOME}/bin/ffmpeg"
|
|
|
|
|
2020-12-09 10:12:06 +00:00
|
|
|
wget http://ultravideo.fi/ubuntu-vtm-11.0.tgz
|
2017-06-15 12:17:04 +00:00
|
|
|
sha256sum -c - << EOF
|
2020-12-09 10:12:06 +00:00
|
|
|
0f1655a308ccba82976d11ed70ceb5a9cb4291db950558c707f0dfd84d5462ca ubuntu-vtm-11.0.tgz
|
2017-06-15 12:17:04 +00:00
|
|
|
EOF
|
2020-12-09 10:12:06 +00:00
|
|
|
tar xf ubuntu-vtm-11.0.tgz
|
|
|
|
cp DecoderApp "${HOME}/bin/DecoderAppStatic"
|
2020-10-09 06:28:58 +00:00
|
|
|
chmod +x "${HOME}/bin/DecoderAppStatic"
|
2017-06-15 12:17:04 +00:00
|
|
|
|
|
|
|
export PATH="${HOME}/bin:${PATH}"
|