m3u8
m3u8 copied to clipboard
Fails to parse manifests with Elemental-style CUE-OUT-CONT tags
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
This is fixed in https://github.com/globocom/m3u8/pull/340 , so I hope we can get that merged!
I just ran into this issue as well. Do you know how quickly these PRs tend to get reviewed in this repo?
@mauricioabreu, are you open to the change in #340 now that version 4.0.0 is out?
Any updates on merging the PR for this issue?
@DeForestt @bbayles merged. Gonna release a new version ASAP
Released