Bug #2250

HLS crash if segment can't be opened

Added by Leonid Protasov over 6 years ago. Updated over 6 years ago.

Status:FixedStart date:09/06/2014
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

100%

Category:Video playback
Target version:4.8
Found in version:4.7.185 Platform:Linux

Associated revisions

Revision aea40192
Added by Andreas Smas over 6 years ago

hls: Skip over spaces when parsing key=value attribute lists

refs #2250

Change included in version 4.7.305

Revision addd7535
Added by Andreas Smas over 6 years ago

hls: Don't crash if finding segment by PTS fails

Fixes #2250

Change included in version 4.7.375

Revision c6fcf6bb
Added by Andreas Smas over 6 years ago

hls: Skip duplicate bitrate to avoid desync issues on some live streams

refs #2250

Change included in version 4.7.376

History

#1 Updated by Leonid Protasov over 6 years ago

The bug still reproducible in 4.7.186. The test link is:

http://www.metafilegenerator.de/DWelle/tv-europa/ios/master.m3u8

#2 Updated by Leonid Protasov over 6 years ago

Partially this problem is because HLS player doesn't care about spaces in m3u8 EXT-X-STREAM-INF tag:

#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=1700000

BANDWIDTH param has empty space so ST in the dump lists wrong bitrates.

To cope that just strip spaces before compare...

#4 Updated by Leonid Protasov over 6 years ago

  • Priority changed from High to Normal

#5 Updated by Andreas Smas over 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF