# Nginx on Windows how to know the correct MP4 buffer sizes?

**URL:** <https://www.ruby-forum.com/t/nginx-on-windows-how-to-know-the-correct-mp4-buffer-sizes/241576>\
**Category:** NGINX\
**Created:** [April 16, 2015, 8:50am UTC](https://www.ruby-forum.com/t/nginx-on-windows-how-to-know-the-correct-mp4-buffer-sizes/241576 "2015-04-16T08:50:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [April 16, 2015, 8:50am UTC](https://www.ruby-forum.com/t/nginx-on-windows-how-to-know-the-correct-mp4-buffer-sizes/241576/1 "2015-04-16T08:50:58Z")

</div>

So i do video streaming of large videos 2GB+ in size how do i know what  
buffer sizes to use in my nginx config or should i leave it at default ?

> **[nginx for Windows](http://nginx-win.ecsds.eu/)**
>
> nginx for Windows, an event driven non-blocking high performance full featured webserver based on nginx

[http://nginx.org/en/docs/http/ngx\_http\_mp4\_module.html](http://nginx.org/en/docs/http/ngx_http_mp4_module.html)

location ~ .mp4$ {  
mp4;  
#mp4\_buffer\_size ?;  
#mp4\_max\_buffer\_size ?;  
limit\_rate\_after 2m;  
limit\_rate 1m;  
expires max;  
}

Posted at Nginx Forum:

> **[Nginx on Windows how to know the correct MP4 buffer sizes ?](https://forum.nginx.org/read.php?2,258067,258067#msg-258067)**
>
> So i do video streaming of large videos 2GB+ in size how do i know what buffer sizes to use in my nginx config or should i leave it at default ? http://nginx-win.ecsds.eu/ http://nginx.org/en/docs/http/ngx\_http\_mp4\_module.html location ~ \\.mp4$ { m
