Welcome! Log In Create A New Profile


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

May 16, 2016 12:50AM
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_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
only command mp4 work. Please help me fix this, I took a whole week to research it
Subject Author Posted

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

domsday2016 May 16, 2016 12:50AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready