summaryrefslogtreecommitdiff
path: root/contrib/hls/install.sh
blob: b6561cb1c0d084f9a159991af35c2054c0c01120 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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 "******* finished ********"
echo ""
echo "For improved performance add following to /etc/fstab"
echo "tmpfs     /var/www/live     tmpfs   size=1G,mode=755,uid=flumotion,gid=flumotion  0 0"