Opened 11 years ago

Closed 11 years ago

#470 closed defect (worksforme)

http_mp4_module is not seeking

Reported by: Serkan Kirmizi Owned by:
Priority: major Milestone:
Component: nginx-core Version: 1.3.x
Keywords: Cc:
uname -a: Linux server038.local 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 23:43:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: --user=nginx --group=nginx --with-http_flv_module --with-http_mp4_module --with-http_secure_link_module --with-http_stub_status_module


I have 2 servers. One of them has nginx 1.2.4 installed and the other has nginx 1.4.4 installed. Both builded with same configure string and both have same mp4 file. nginx 1.2.4 can seek with start=xxx but nginx 1.4.4 cant.

Change History (1)

comment:1 by Maxim Dounin, 11 years ago

Resolution: worksforme
Status: newclosed

Try looking into error log. Most likely, the mp4 file in question has some short tracks which can't be seeked and these tracks were previously skipped based on type, but no longer skipped after the following change in nginx 1.3.5:

    *) Change: the ngx_http_mp4_module module no longer skips tracks in
       formats other than H.264 and AAC.

The change itself is intended to make it possible to stream various subtitle tracks. The are reports that it breaks files processed with mp4box with some flags though, see ticket #414.

If this is indeed your case, removing short tracks from a file should fix things for you.

Note: See TracTickets for help on using tickets.