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

Last caption missing from ts file using ts2srt #63

Open
ScottAtBlankCanvas opened this issue Feb 15, 2021 · 0 comments
Open

Last caption missing from ts file using ts2srt #63

ScottAtBlankCanvas opened this issue Feb 15, 2021 · 0 comments

Comments

@ScottAtBlankCanvas
Copy link

I will apologize for the ridiculousness of the test case in advance. Inserting captions every 50 ms is stupid, but the missing caption is easiest to repro from my side this way. This was part of a test for a client to try and identify missing captions and not a normal use case.

Steps I used:

  1. Using Wowza Media Server, injected AMF onTextData captions every 50 ms.
  2. Used Wowza's onTextData to CEA608 caption conversion
  3. Captured first HLS ts segment (attached media_1.ts)
  4. Ran ts2srt on ts segment (output in ts2srt.txt)

I noticed caption 199 is missing. It is the last one in the ts file.
I also ran caption-inspector, which did find the 199 caption. (media_1-C1.608 attached)

As a side note, the times from caption inspector and libcaption seem different by 33 ms.

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

No branches or pull requests

1 participant