Note: this module is not distributed with the Nginx source. Installation instructions are [#installation below] .
mod_mp4_streaming_lite will seek to a certain time within H.264/MP4 files when provided with a "start" parameter in the URL.
All users installed this module before Nov 20, 2008 are encouraged to upgrade to the latest source package.
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 at:
- - start=0 (or 0.0) was allowed in order to send the re-indexed whole file.
- - a directio-related neglect was 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.
- - directio-related bug fixed.
- - The access denials and pread() errors, which caused by an uninitialized variable, are fixed.
- - Another Content-Length bug fixed.
- - An 'off-by-one' bug fixed.
- - more return value checks (reported by Jan Ślusarczyk).
- [#mp4 mp4]
Enable MP4 streaming at a particular location.
Download the tarball as described above and 'tar jx' it.
After extracting, add the following option to your Nginx ./configure command:
By default, nginx uses -O to compile the source code. You should use
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