Using Nginx to stream h.264 video

Cliff Wells cliff at develix.com
Sat Mar 17 19:54:04 UTC 2012


On Sat, 2012-03-17 at 19:16 +0000, Kaya Saman wrote:
> On 03/17/2012 06:41 PM, Cliff Wells wrote: 
> > On Sat, 2012-03-17 at 17:53 +0000, Kaya Saman wrote:
> > 
> > > Is this the mp4 module that I need to be able to stream or is there an 
> > > embedded solution?
> > http://nginx.org/en/docs/http/ngx_http_mp4_module.html
> 
> Thanks. The links states:
> 
> " This module is not built by default, it should be enabled with the
> --with-http_mp4_module configuration parameter. "
> 
> So does this mean that from the **official** repo stated below that
> Nginx isn't built with this module???

It is.  Here's the output from "nginx -V" on one of my CentOS systems
with the official nginx installed:

--prefix=/etc/nginx/ 
--sbin-path=/usr/sbin/nginx 
--conf-path=/etc/nginx/nginx.conf 
--error-log-path=/var/log/nginx/error.log 
--http-log-path=/var/log/nginx/access.log 
--pid-path=/var/run/nginx.pid 
--lock-path=/var/run/nginx.lock 
--http-client-body-temp-path=/var/cache/nginx/client_temp 
--http-proxy-temp-path=/var/cache/nginx/proxy_temp 
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp 
--http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp 
--http-scgi-temp-path=/var/cache/nginx/scgi_temp 
--user=nginx --group=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_random_index_module 
--with-http_secure_link_module 
--with-http_stub_status_module 
--with-mail 
--with-mail_ssl_module 
--with-file-aio 
--with-ipv6 
--with-cc-opt='-O2 -g -march=i386 -mtune=i686'

> If not then where do I find the source code to get it or can I grab
> the module from the repo, as in yum install mp4_module?

The source code is available at http://nginx.org

More information on Nginx can be found at http://wiki.nginx.org
(including links to the source).

Regards,
Cliff




More information about the nginx mailing list