nginx支持flv MP4 扩展nginx_mod_h264_streaming,nginx-rtmp-module-master,yamdi
2015-03-03 14:44
483 查看
./configure\ --prefix=/usr/local/nginx\ --sbin-path=/usr/local/nginx/sbin/nginx\ --conf-path=/usr/local/nginx/conf/nginx.conf\ --error-log-path=/usr/local/nginx/log/error.log\ --http-log-path=/usr/local/nginx/log/access.log\ --pid-path=/usr/local/nginx/var/nginx.pid\ --lock-path=/usr/local/nginx/var/nginx.lock\ --http-client-body-temp-path=/tmp/clientbody\ --http-proxy-temp-path=/tmp/proxy\ --http-fastcgi-temp-path=/tmp/fastcgi\ --http-uwsgi-temp-path=/tmp/uwsgi\ --http-scgi-temp-path=/tmp/scgi\ --user=www\ --group=www\ --with-file-aio\ --with-http_realip_module\ --with-http_ssl_module\ --with-openssl=/usr/local/src/openssl\ --with-http_gzip_static_module\ --with-zlib=/usr/local/src/zlib\ --with-http_stub_status_module\ --with-pcre=/usr/local/src/pcre\ --without-select_module\ --without-poll_module\ --without-http_ssi_module\ --without-http_userid_module\ --without-http_geo_module\ --without-http_empty_gif_module\ --without-http_map_module\ --without-mail_pop3_module\ --without-mail_imap_module\ --without-mail_smtp_module\ --with-http_flv_module\ --with-http_mp4_module\ --add-module=/usr/local/src/nginx_mod_h264_streaming-2.2.7\ --add-module=/usr/local/src/nginx-rtmp-module-master 注意第三方模块使用的是add-module指定的绝对路径 yamdi
tarxzvfyamdi-1.4.tar.gz
cdyamdi-1.4
make&&makeinstall
使用方法:yamdi-iinput.flv-oout.flv
/usr/local/src所有的文件都在这个目录
tarxzvfnginx_mod_h264_streaming-2.2.7
tarxzvfnginx-rtmp-module-master
即可编译的时候指定路径
--with-http_flv_module\ --with-http_mp4_module\ --add-module=/usr/local/src/nginx_mod_h264_streaming-2.2.7\ --add-module=/usr/local/src/nginx-rtmp-module-master make 会出错 vinginx_mod_h264_streaming-2.2.7/src/ngx_http_streaming_module.c :setnu 158行 if(r->zero_in_uri) { returnNGX_DECLINED; } 注释掉
/*if(r->zero_in_uri) { returnNGX_DECLINED; }*/ 保存 在使用配置./configure上面的那一段↑ make makeinstall
相关文章推荐
- nginx支持flv MP4 扩展nginx_mod_h264_streaming,nginx-rtmp-module-master,yamdi
- nginx_mod_h264_streaming-2.2.7模块遇到不完整MP4文件导致nginx进程死掉( truncated mp4 make nginx crash)
- nginx添加nginx_mod_h264_streaming-2.2.7模块编译报错
- nginx搭建支持flv mp4 seek 实现拖拽
- 基于nginx-rtmp-module模块实现的基于HTTP协议的FLV直播模块(nginx-http-flv-module)
- 通过nginx扩展nginx-rtmp-module搭建流媒体服务器
- Lighttpd 插件mod_h264 streaming (mp4)安装
- ubuntu12.04 虚拟机 编译安装nginx 1.3.6 搭建支持flv mp4 流媒体服务器
- Lighttpd 插件mod_h264 streaming (mp4)安装
- nginx 编译错误make[1]: *** [objs/addon/src/ngx_http_h264_streaming_module.o] Error 1make[2]: *** [objs/a
- NGINX 添加MP4、FLV视频支持模块
- IIS,Apache,Nginx环境支持flv,f4v,mp4视频的播放
- NGINX 添加MP4、FLV视频支持模块
- nginx搭建mp4、flv流媒体服务器
- 服务器网站报错:由于扩展配置问题无法提供您请求的页面,请添加MIME映射,针对mp4,flv文件类型无法打开。
- 服务器iis支持flv,f4v,mp4
- 单虚拟机nginx-rtmp-module直播带宽测试
- Nginx mp4支持模块
- nginx搭建mp4、flv流媒体服务器
- Ubuntu下使用nginx和nginx-rtmp-module搭建流媒体服务器的正确姿势