Shaka-player: keepOriginalTimestamps will not adjust caption and ID3 timestamps in a future mux.js version

Created on 13 Aug 2018  路  5Comments  路  Source: google/shaka-player

馃憢 I'm currently working on https://github.com/videojs/mux.js/pull/213, which we plan to release as a new major version once merged.

As I understand it, Shaka uses mux.js to transmux TS to mp4 on platforms without native HLS support, and uses the cea-608 captions parsed out from the segments as well? The PR I linked will no longer adjust caption timings when the keepOriginalTimestamps is set, as the timing adjustment may not actually be accurate when using the original timestamps.

I plan to post in this issue when the major version of mux.js is released, so the dependency version can be locked down if necessary.

archived question

All 5 comments

Thanks a lot for letting us know! Yes, we are using mux.js.

@michellezhuogg could you please take a look, see what the impact is going to be for us?

@joeyparrish FYI

I'm sorry, I don't understand why the keepOriginalTimestamps option will no longer work. Is the option being removed? How can we keep the behavior we have now after your change?

Oh, never mind. I think I understand now that I've read https://github.com/videojs/mux.js/pull/213. Tell me if I have this right:

  1. The keepOriginalTimestamps option will still be there.
  2. The behavior for video & audio will not change.
  3. The behavior change is for captions, which will now have their original timestamps as well. This was not the case before the change.

Is that correct?

Yes, correct for all three. If Shaka were to update to include the upcoming mux.js change, you would need to apply a similar adjustment to caption start/end times as is currently applied to video and audio.

Gotcha. Thanks! We'll keep an eye on that as we work on upgrading.

I'll go ahead and close the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rosenbjerg picture rosenbjerg  路  5Comments

alexandercerutti picture alexandercerutti  路  5Comments

mdownplane picture mdownplane  路  4Comments

diogoazevedos picture diogoazevedos  路  5Comments

interpegasus picture interpegasus  路  3Comments