mangui/flashls

Switching level before end can prevent finishing VOD

phloxic opened this issue · 5 comments

http://www.flashls.org/latest/examples/chromeless/?src=http%3A%2F%2Fedge.flowplayer.org%2Fnight1.m3u8

  • When on high level try switching to low level towards end during playback
  • page can be reloaded, so it starts with a higher level immediately, to ease replication

-> playback stops before end

  • probably before last very short segment

This is where it stops:
screen shot 2016-12-12 at 3 06 17 pm

The underlying problem is:

  1. level 0 and 1 are avc baseline w/o b-frames, all other levels feature a profile with b-frames
  2. last segment contains either 2 frames (baseline) or 1 frame: 0.04 secs difference in duration at "segment border" (25 fps)

Baseline streams are almost always slightly longer than others - other "random" example: http://www.streambox.fr/playlists/x36xhzz/x36xhzz.m3u8 (but 2. does not apply, haven't double checked though) - where the difference in duration is even higher:

@mangui - fyi, this is not of high priority for us. Can be solved in a pragmatic fashion.

good, i was not looking into it :)

so don't start ;-)