Created
February 8, 2015 17:04
-
-
Save Ivlyth/61cbd5fe7b298729b08a to your computer and use it in GitHub Desktop.
install nginx rtmp module and ffmpeg etc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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