add ffmpeg

This commit is contained in:
David Siaw 2017-06-02 20:45:25 +09:00
parent bb634b8f06
commit e1e03ac034
3 changed files with 4 additions and 2 deletions

View file

@ -19,5 +19,7 @@ ENV HTTPS_ENABLED false
#ENV TWITCH_CLIENT_ID
EXPOSE 8080
# EXPOSE 1337
# EXPOSE 8443
CMD ["sh", "run.sh"]

View file

@ -217,7 +217,7 @@ channel-blacklist: []
# server-synched raw file playback. This requires the following:
# * ffmpeg must be installed on the server
ffmpeg:
enabled: false
enabled: true
# Executable name for ffprobe if it is not "ffprobe". On Debian and Ubuntu (on which
# libav is used rather than ffmpeg proper), this is "avprobe"
ffprobe-exec: 'ffprobe'

View file

@ -1,7 +1,7 @@
#!/bin/sh
apk update
apk add build-base python git nodejs nodejs-npm mysql mysql-client curl gettext
apk add build-base python git nodejs nodejs-npm mysql mysql-client curl gettext ffmpeg
npm install npm@latest -g
npm install
npm run build-server