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

Corrupt SRT output #156

Open
fhajji opened this issue Oct 18, 2021 · 0 comments
Open

Corrupt SRT output #156

fhajji opened this issue Oct 18, 2021 · 0 comments

Comments

@fhajji
Copy link

fhajji commented Oct 18, 2021

The timestamps are not always correctly formatted by autosub:

  • 00:03:06,0: --> 00:03:18,55
  • 00:38:58,0: --> 00:38:59,0:
  • 00:52:11,25 --> 00:52:16,0:

I have to replace the : with 0 like so:

$ sed -i -e 's/0:$/00/' -e 's/0: /00 /' somefile.srt

Otherwise, the SRT file won't load into VLC, or mkvtoolnix-gui would choke on those lines.

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