summaryrefslogtreecommitdiff
path: root/contrib/hls/install.sh
blob: 179c8082032b9333fba83d32f798616948fb6106 (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/live     tmpfs   size=1G,mode=755,uid=flumotion,gid=flumotion  0 0"