Skip to content
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

Use input timescale when remuxing inband captions #5675

Merged
merged 1 commit into from Jul 18, 2023

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Jul 17, 2023

This PR will...

  • Use input timescale when remuxing inband captions
  • Catch exceptions attempting to create TextTrackCue instances and adding them to TextTracks

Why is this Pull Request needed?

The start time of 608 captions was not being remuxed from mp4 segments correctly. Negative start times resulted in addCueToTrack throwing, and then the fallback also threw because the constructor for TextTrackCue has changed in latest Safari (document fragments in cues is not to be supported until a later date).

Are there any points in the code the reviewer needs to double check?

Resolves issues:

Fixes #5669

Checklist

  • changes have been done against master branch, and PR does not conflict

@robwalch robwalch added this to the 1.4.10 milestone Jul 17, 2023
@robwalch robwalch merged commit cb3351e into master Jul 18, 2023
14 of 16 checks passed
@robwalch robwalch deleted the bugfix/mp4-sei-captions-timescale branch July 18, 2023 00:25
robwalch added a commit that referenced this pull request Jul 18, 2023
robwalch added a commit that referenced this pull request Jul 18, 2023
* patch/v1.4.x:
  Allow the odd empty segment to be skipped like a gap segment (#5676)
  Use input timescale when remuxing inband captions (#5675)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stream with captions causes internal error on Safari
1 participant