Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.