ngx_http_mp4_module. Help me !!!!!!!!!!

domsday2016 nginx-forum at forum.nginx.org
Mon May 16 04:50:47 UTC 2016


I compiling nginx for streaming videos on my web site by these options : 
nginx version: nginx/1.9.15
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
built with OpenSSL 1.0.1e-fips 11 Feb 2013
TLS SNI support enabled
configure arguments: --user=root --group=root --prefix=/usr/local/nginx
--sbin-path=/usr/local/nginx/nginx --conf-path=/usr/local/nginx/nginx.conf
--error-log-path=/usr/local/nginx/logs/error.log
--http-log-path=/usr/local/nginx/logs/access.log
--http-client-body-temp-path=/usr/local/nginx/tmp/client_body
--http-proxy-temp-path=/usr/local/nginx/tmp/proxy
--http-fastcgi-temp-path=/usr/local/nginx/tmp/fastcgi
--pid-path=/usr/local/nginx/nginx.pid --lock-path=/var/lock/subsys/nginx
--with-http_ssl_module --with-http_realip_module --with-http_addition_module
--with-http_sub_module --with-http_dav_module --with-http_flv_module
--with-http_mp4_module --with-http_gzip_static_module
--with-http_stub_status_module --with-http_perl_module --with-mail
--with-mail_ssl_module --with-pcre --with-pcre=/root/pcre-8.38
--with-zlib=/root/zlib-1.2.8
--add-module=/root/Nginx-limit-traffic-rate-module-master/
--add-module=/home/ngx_http_hls_module-master

and this is my configuration on Nginx for pseudo streaming on nginx.conf :
 location /video/ {
                autoindex on;
                autoindex_exact_size off;
                limit_conn addr 5;
                limit_rate_after 1m;
                limit_rate 20k;
                mp4;
                mp4_buffer_size       100k;
                mp4_max_buffer_size   5M;
}
in file nginx.conf I add some lines:
http {
    include       mime.types;
    include /usr/local/nginx/site-enable/*.conf;
    limit_conn_zone $binary_remote_addr zone=addr:32m;

I want to limit the download speed video and limit buffer but when I run the
video, the command will not work
http://www.example.com/video/1111.mp4?start=100
only command mp4 work. Please help me fix this, I took a whole week to
research it

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266914,266914#msg-266914



More information about the nginx mailing list