Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an nginx/1.2.3 server compiled with --with-http_mp4_module as a pseudostreaming server.

Streaming and seeking works fine except buffering. Tt seems like the buffer directives are being completely ignored.

Here are the location declaration for the streaming part;

location  /video_dump/ {
        alias /var/www/mp4/;
        mp4_buffer_size     512k;
        mp4_max_buffer_size 1m;

The above location is in the server block of an https server.

I know that the buffer directives are being ignored because as soon as the video starts streaming it starts getting downloaded without stopping at the declared limit.

Any takers?

share|improve this question
up vote 2 down vote accepted

mp4_buffer_size and mp4_max_buffer_size refer to the memory used by nginx to process the MP4 file (read MOOV atom etc) to be served and not to the client-side steam buffer.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.