Skip to content

Instantly share code, notes, and snippets.

@denys281
Last active August 29, 2015 14:12
Show Gist options
  • Save denys281/c13af4413bc5585fc30c to your computer and use it in GitHub Desktop.
Save denys281/c13af4413bc5585fc30c to your computer and use it in GitHub Desktop.
HTTP-Live-Video-Stream-Segmenter-and-Distributor
## Ubuntu 14.04 ##
sudo apt-get install libav-tools
sudo apt-get install libavformat-dev
sudo apt-get install libpthread-stubs0-dev
sudo apt-get install lib32z1-dev
sudo apt-get install libavcodec-extra-54
sudo apt-get install libfaad-dev
sudo apt-get install libmp3lame-dev
install ffmpeg: https://launchpad.net/~jon-severinsson/+archive/ubuntu/ffmpeg
#Makefile:
all:
gcc -L /opt/local/lib -I /opt/local/include -Wall -g live_segmenter.c -o live_segmenter -lavformat -lavcodec -lavutil -lbz2 -lm -lz -lmp3lame -x264 -lfaad -lpthread
clean:
rm -f live_segmenter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment