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:
This module is not distributed with the NGINX source. See the installation instructions.
mp4_directiodirective was removed and the module now follows the server-wide directio setting.
Content-Lengthcalculation bug was fixed. Thanks go to Nick Melnikov.
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
By default, NGINX uses
-O to compile the source code. You should use:
./configure to retrieve maximum performance.
More widely MP4 files supported can be found here:
And you may ask arjen for help if you have some questions