-
Notifications
You must be signed in to change notification settings - Fork 481
No longer required a segment to be mark as a discontinuity in order include program date time. #115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No longer required a segment to be mark as a discontinuity in order include program date time. #115
Conversation
…include program date time
Looking at the specs:
I think we can safely assume that is part of the hls spec. |
@leandromoreira Sorry, my comment was confusing. I meant, specwise, if |
When I read the spec my understanding was: "We should apply the tag If that's the case then your input example is wrong. ;/ I also take a look at some HLS generate by elemental, woowza and ffmpeg and notice that they all respect this rule. IE: https://video-dev.github.io/streams/x36xhzz/x36xhzz.m3u8 |
I'm having the same issue, loading a m3u8 that contains The spec says:
From my understanding, you can provide My manifest is coming from AWS MediaPackage
I'm 👍 on this PR |
Since the PR doesn't have tests I forked and will submit a new one with tests. Turns out this change breaks existing behavior because our The change as suggested in this PR will break our current I think the ideal solution would be to only set @leandromoreira thoughts on this? |
I'm ok with this thus the loaded model will be the same when dumped! We should avoid to superficially add stuffs at the dump method or cutting out as the current state of the lib. Btw, nice to see you back 😄 |
on Segment.dumps() instead of only writing EXT-X-PROGRAM-DATE-TIME when EXT-X-DISCONTINUITY we always write when it was provided when we parsed. `Segment.program_date_time` is set only when EXT-X-PROGRAM-DATE-TIME is present for that segment Segment.current_program_date_time` is set when EXT-X-PROGRAM-DATE-TIME is set for this segment or any previous ones See discussion on globocom#115
Thanks, great to be back working with video :-). Pretty cool that this project is still active and well maintained! I created the pull request #142, added a new field to |
I believe this one is solved now that #142 was merged |
on Segment.dumps() instead of only writing EXT-X-PROGRAM-DATE-TIME when EXT-X-DISCONTINUITY we always write when it was provided when we parsed. `Segment.program_date_time` is set only when EXT-X-PROGRAM-DATE-TIME is present for that segment Segment.current_program_date_time` is set when EXT-X-PROGRAM-DATE-TIME is set for this segment or any previous ones See discussion on globocom#115
Hey there,
I'm not sure if this is a bug, or part of the HLS spec requirement (I tried googling around, but didn't come across anything relevant).
I came across this manipulating some m3u8 which have program dates for each segments, e.g.
Here is an example of the loading and dumping, that cause the #EXT-X-PROGRAM-DATE-TIME to be wiped on segments.
Input (original)
Output (output dumped)
Thoughts?