Accept cookies for analytics, social media, and advertising, or learn more and adjust your preferences. These cookies are on by default for visitors outside the UK and EEA. Privacy Notice.
mod_mp4_streaming_lite - seeks a certain time within H.264/MP4 files when provided when a “start” parameter is provided in the URL.
This module is written by Jiang Hong. You can contact him for a full (but commercial) version which supports a wider variety of MP4 files.
The most recent package can be downloaded here:
http://i.6.cn/nginx_mp4_streaming_public_20081229.tar.bz2.
Note
This module is not distributed with the NGINX source. See the installation instructions.
Content-Length
bug fixed.mp4_directio
directive was removed and the module now follows the server-wide directio setting.Content-Length
calculation bug was fixed. Thanks go to Nick Melnikov.Download the tarball as described above and tar jx
it.
After extracting, add the following option to your NGINX ./configure
command:
--add-module=path/to/mp4_streaming_lite/directory
By default, NGINX uses -O
to compile the source code. You should use:
--with-cc-opt='-O3'
with ./configure
to retrieve maximum performance.
More widely MP4 files supported can be found here:
http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Nginx-Version2.
And you may ask arjen for help if you have some questions