Created
January 2, 2011 04:59
-
-
Save fapestniegd/762299 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get build-dep -y ffmpeg | |
apt-get install -y ffmpeg libsdl1.2-dev libfaad-dev libfaad2 libconfig8-dev \ | |
libavformat-dev libfaac-dev libmp3lame-dev libx264-dev \ | |
ruby rubygems | |
git-clone git://github.com/carsonmcdonald/HTTP-Live-Video-Stream-Segmenter-and-Distributor.git segmenter | |
(cd segmenter; make) | |
a "grep require *" shows that http_streamer.rb requires the other .rb files, | |
so I have to guess that we need to start there... wtf? | |
cp example-configs/config-recommended-iphone-16x9-multirate.yml config.yml | |
$ ./http_streamer.rb | |
Usage: http_streamer.rb <config file> | |
$ ./http_streamer.rb config.yml | |
Unknown encoder 'libx264' | |
mkdir tmp && cd tmp | |
apt-get source ffmpeg | |
(cd ffmpeg-0.5.1; fakeroot debian/rules binary) # wait a fucking half-hour | |
sudo dpkg -i *.deb | |
$ ./http_streamer.rb config.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment