summaryrefslogtreecommitdiff
path: root/contrib/hls/install.sh
blob: 16585f584b955453f6f53aef900e889993a12003 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

sudo aptitude install git build-essential ffmpeg pkg-config libavformat-dev runit
git clone `cat m3u8-segmenter-git-repo`
cd m3u8-segmenter
./configure
make
sudo cp m3u8-segmenter /usr/local/bin
cd ..
sudo cp start-hls.sh /usr/local/bin

echo "For improved performance add following to /etc/fstab"
echo "tmpfs     /var/www/elevate-live     tmpfs   size=1G,mode=755,uid=flumotion,gid=flumotion  0 0"