Opened 8 years ago
Closed 8 years ago
#1236 closed defect (wontfix)
MP4 module
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | other | Version: | 1.11.x |
Keywords: | Cc: | ||
uname -a: | 4.9.0-rc3 | ||
nginx -V: | 1.11.2 |
Description
#curl http://127.0.0.1:80/test.mp4?start=10
if start=10 is not the site of keyframe, the mp4 may have abnormal such as no picture before N second,or screen blurred.
I think the solution is to add the following step:
(1)stts:forcast the nearest sample on the basis of start=X
(2)stss:find the nearest keyframe sample on the basis of step (1)
(3)stts:find the nearest start arg on the basis of step (2)
...
Note:
See TracTickets
for help on using tickets.
This is expected behaviour. The mp4 module do not try to search for and/or introduce additional key frames, it expects a player to do requests to appropriate key frames instead.