Skip to content

Instantly share code, notes, and snippets.

@fapestniegd
Created January 2, 2011 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fapestniegd/762299 to your computer and use it in GitHub Desktop.
Save fapestniegd/762299 to your computer and use it in GitHub Desktop.
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