Skip to content

Instantly share code, notes, and snippets.

@Ivlyth
Created February 8, 2015 17:04
Show Gist options
  • Save Ivlyth/61cbd5fe7b298729b08a to your computer and use it in GitHub Desktop.
Save Ivlyth/61cbd5fe7b298729b08a to your computer and use it in GitHub Desktop.
install nginx rtmp module and ffmpeg etc
# configure nginx with rtmp module
# about more set headers module - http://wiki.nginx.org/HttpHeadersMoreModule
# get download uri from : https://github.com/openresty/headers-more-nginx-module/tags
wget https://github.com/openresty/headers-more-nginx-module/archive/v0.25.tar.gz
# about rtmp module - https://github.com/arut/nginx-rtmp-module
# fork and clone the repo to localhost
# get nginx
wget http://nginx.org/download/nginx-1.7.9.tar.gz
# remember add module when configure nginx
./configure --with-http_ssl_module --with-http_spdy_module --with-http_realip_module --with-http_addition_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_auth_request_module --with-mail --with-pcre --add-module=/home/myth/workspace/github/nginx-rtmp-module --add-module=/home/myth/software/more_set_headers
# yasm - http://yasm.tortall.net/Download.html
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
# ffmpeg - https://www.ffmpeg.org/download.html
wget https://www.ffmpeg.org/releases/ffmpeg-2.5.3.tar.gz
# M3U8 Segmenter - http://m3u8-segmenter.inodes.org
# clone from git
git clone https://github.com/johnf/m3u8-segmenter
# then configure / make and make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment