Merge pull request #551 from GlassedSilver/master
Code Cleanup in some places, fix for conversion errors, possibly better webm support, added dependency checks in docker compose filepull/555/head
commit
0f4f5293de
@ -0,0 +1,7 @@
|
|||||||
|
.git
|
||||||
|
db
|
||||||
|
appdata
|
||||||
|
audio
|
||||||
|
video
|
||||||
|
subscriptions
|
||||||
|
users
|
@ -0,0 +1,31 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# THANK YOU TALULAH (https://github.com/nottalulah) for your help in figuring this out
|
||||||
|
# and also optimizing some code with this commit.
|
||||||
|
# xoxo :D
|
||||||
|
|
||||||
|
set -xeuo pipefail
|
||||||
|
|
||||||
|
case $(uname -m) in
|
||||||
|
x86_64)
|
||||||
|
ARCH=amd64;;
|
||||||
|
aarch64)
|
||||||
|
ARCH=arm64;;
|
||||||
|
armhf)
|
||||||
|
ARCH=armhf;;
|
||||||
|
armv7)
|
||||||
|
ARCH=armel;;
|
||||||
|
armv7l)
|
||||||
|
ARCH=armel;;
|
||||||
|
*)
|
||||||
|
echo "Unsupported architecture: $(uname -m)"
|
||||||
|
exit 1
|
||||||
|
esac
|
||||||
|
|
||||||
|
echo "Architecture: $ARCH"
|
||||||
|
wget "https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-${ARCH}-static.tar.xz" -O ffmpeg.txz
|
||||||
|
mkdir /tmp/ffmpeg
|
||||||
|
tar xf ffmpeg.txz -C /tmp/ffmpeg
|
||||||
|
cp /tmp/ffmpeg/*/ffmpeg /usr/local/bin/ffmpeg
|
||||||
|
cp /tmp/ffmpeg/*/ffprobe /usr/local/bin/ffprobe
|
||||||
|
rm -rf /tmp/ffmpeg ffmpeg.txz
|
Loading…
Reference in New Issue