Http_mp4_module broken in v1.0.8?

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?

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.

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
Changes with nginx 1.1.6
*) Bugfix: the module ngx_http_mp4_module did not support seeking on
32-bit platforms.

Changeset 4190:d434191a147f – nginx


WNGS-RIPE

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/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!