# Http\_mp4\_module broken in v1.0.8?

**URL:** <https://www.ruby-forum.com/t/http-mp4-module-broken-in-v1-0-8/213309>\
**Category:** NGINX\
**Created:** [October 29, 2011, 10:31pm UTC](https://www.ruby-forum.com/t/http-mp4-module-broken-in-v1-0-8/213309 "2011-10-29T22:31:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [October 29, 2011, 10:31pm UTC](https://www.ruby-forum.com/t/http-mp4-module-broken-in-v1-0-8/213309/1 "2011-10-29T22:31:39Z")

</div>

Hello list,

the new mp4 module (–with-http\_mp4\_module) doesn’t work for me at all  
in v1.0.8 (JWPlayer just stalls and keeps buffering after seeking), but  
it works great with nginx v1.1.6. Same configuration, same mp4 file.

Please see the following HTTP HEAD on the MP4 file, first request  
against nginx/1.0.8, second against nginx/1.1.6, please compare  
Content-Length:

> Cache-Control: max-age=10  
> Anyone with --with-http\_mp4\_module working in nginx/1.0.8?

---

<div class="post-metadata">

**Author:** ![luk\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/3da27b/32.png) [@luk\_t](https://www.ruby-forum.com/u/luk_t)\
**Post date:** [October 30, 2011, 12:34am UTC](https://www.ruby-forum.com/t/http-mp4-module-broken-in-v1-0-8/213309/2 "2011-10-30T00:34:19Z")

</div>

Hello!

On Sat, Oct 29, 2011 at 10:31:02PM +0200, Lukas T. wrote:

> the new mp4 module (–with-http\_mp4\_module) doesn’t work for me  
> at all in v1.0.8 (JWPlayer just stalls and keeps buffering after  
> seeking), but it works great with nginx v1.1.6. Same  
> configuration, same mp4 file.
> 
> Please see the following HTTP HEAD on the MP4 file, first  
> request against nginx/1.0.8, second against nginx/1.1.6, please  
> compare Content-Length:

The mp4 module in 1.1.6 has some bugfixes which aren’t yet merged  
into 1.0.x. Likely you are facing one of this bugs, most likely the  
problem with 32-bit platforms.

Maxim D.

---

<div class="post-metadata">

**Author:** ![luk\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/3da27b/32.png) [@luk\_t](https://www.ruby-forum.com/u/luk_t)\
**Post date:** [October 30, 2011, 12:42am UTC](https://www.ruby-forum.com/t/http-mp4-module-broken-in-v1-0-8/213309/3 "2011-10-30T00:42:56Z")

</div>

Yesterday Oct 29, 2011 at 22:31 Lukas T. wrote:

> the new mp4 module (–with-http\_mp4\_module) doesn’t work for me at all in v1.0.8  
> (JWPlayer just stalls and keeps buffering after seeking), but it works great with  
> nginx v1.1.6. Same configuration, same mp4 file.

[http://nginx.org/en/CHANGES](http://nginx.org/en/CHANGES)  
Changes with nginx 1.1.6  
\*) Bugfix: the module ngx\_http\_mp4\_module did not support seeking on  
32-bit platforms.

[http://trac.nginx.org/nginx/changeset/4190/nginx](http://trac.nginx.org/nginx/changeset/4190/nginx)

–  
WNGS-RIPE

---

<div class="post-metadata">

**Author:** ![luk\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/3da27b/32.png) [@luk\_t](https://www.ruby-forum.com/u/luk_t)\
**Post date:** [October 30, 2011, 2:04am UTC](https://www.ruby-forum.com/t/http-mp4-module-broken-in-v1-0-8/213309/4 "2011-10-30T02:04:04Z")

</div>

That was a hit. I applied changeset 4190 to v1.0.8, now everything works  
fine and I can work with stable:

> dev:~#curl -I “[http://localhost/test.mp4?start=1170.00](http://localhost/test.mp4?start=1170.00)”  
> HTTP/1.1 200 OK  
> Server: nginx/1.0.8  
> Date: Sun, 30 Oct 2011 07:36:49 GMT  
> Content-Type: video/mp4  
> Content-Length: 5816030  
> Last-Modified: Sun, 30 Oct 2011 02:44:36 GMT  
> Connection: keep-alive  
> Expires: Sun, 30 Oct 2011 07:36:59 GMT  
> Cache-Control: max-age=10

Thanks guys!

* * *
