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

ValueError: invalid literal for int() with base 10: '990 align:start position:0%' #1

Open
sylwesterdigital opened this issue Sep 20, 2020 · 0 comments

Comments

@sylwesterdigital
Copy link

➜ srt2txt git:(master) ✗ python2 vtt2txt.py dupa.vtt dupa.txt
Traceback (most recent call last):
File "vtt2txt.py", line 111, in
convert(args.vttfile, args.txtfile, args.format, args.gap)
File "vtt2txt.py", line 90, in convert
last_end = to_frames(times[1])
File "vtt2txt.py", line 63, in to_frames
return ((int(elts[0])*3600 + int(elts[1])*60 + int(elts[2]))*1000 + int(ms)) * fps / 1000
ValueError: invalid literal for int() with base 10: '990 align:start position:0%'

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