Skip to content

Instantly share code, notes, and snippets.

@fapestniegd
Created January 2, 2011 04:03
Show Gist options
  • Select an option

  • Save fapestniegd/762268 to your computer and use it in GitHub Desktop.

Select an option

Save fapestniegd/762268 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment