m3u8 icon indicating copy to clipboard operation
m3u8 copied to clipboard

Fails to parse manifests with Elemental-style CUE-OUT-CONT tags

Open nandhp opened this issue 1 year ago • 3 comments

Parsing of an m3u8 containing Elemental-format CUE-OUT-CONT tags (as documented at https://docs.aws.amazon.com/medialive/latest/ug/sample-manifests-hls.html) fails with an exception raised in _parse_cueout_cont. _parse_cueout_cont assumes the line contains an attribute list but, unlike the SCTE-35 enhanced format, Elemental-format CUE-OUT-CONT tags simply contain the elapsed time and duration separated by /.

#EXT-X-CUE-OUT:30.000 
.
.
.
# EXT-X-CUE-OUT-CONT: 8.308/30 
.
.
.
# EXT-X-CUE-OUT-CONT: 20.391/30
.
.
.
# EXT-X-CUE-IN 

nandhp avatar Dec 09 '23 20:12 nandhp

This is fixed in https://github.com/globocom/m3u8/pull/340 , so I hope we can get that merged!

bbayles avatar Dec 11 '23 15:12 bbayles

I just ran into this issue as well. Do you know how quickly these PRs tend to get reviewed in this repo?

DeForestt avatar Dec 11 '23 18:12 DeForestt

@mauricioabreu, are you open to the change in #340 now that version 4.0.0 is out?

bbayles avatar Dec 13 '23 17:12 bbayles

Any updates on merging the PR for this issue?

DeForestt avatar Apr 01 '24 03:04 DeForestt

@DeForestt @bbayles merged. Gonna release a new version ASAP

mauricioabreu avatar Apr 01 '24 17:04 mauricioabreu

Released

mauricioabreu avatar Apr 02 '24 13:04 mauricioabreu