MP4 - start time is out mp4 stts samples

sibsoft nginx-forum at nginx.us
Tue Apr 10 10:10:34 UTC 2012


Dealing with this trouble again (nginx 1.0.12, 1.0.14):

2012/04/10 12:06:59 [alert] 22812#0: *1571 pread() read only 0 of
1048576 from "/var/www/cgi-bin/uploads/03/00364/z46j20qdp6gt" while
sending mp4 to client, client: ....., server: ....., request: "GET
/mgobz2aj6gu4rqukwztlpbbrdqzwmtcoid2bk6t6xenwqd3fwvt6z3pyqy/video.mp4?start=1190.84
HTTP/1.1", host: "....."
2012/04/10 12:07:00 [error] 22815#0: *1630 start time is out mp4 stts
samples in "/var/www/cgi-bin/uploads/03/00001/k2hhvgyfdmmu", client:
....., server: ....., request: "GET
/mgobznkw5ku4tqukwyf3nfjxilouln5pl5abqotvftlq7rqggvegaydxva/video.flv?start=0
HTTP/1.1", host: "....."

I believe that I have this patch already applied:
if (start_time < (uint64_t) count * duration) {
start_sample += (ngx_uint_t) (start_time / duration);
count -= start_sample;
ngx_mp4_set_32value(entry->count, count);
goto found;
}

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,218451,225104#msg-225104



More information about the nginx mailing list