You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python3 ttml2srt.py Doctor\ Who:\ Unleashed\,\ 60th\ Anniversary\ Specials\,\ Wild\ Blue\ Yonder\ \[m001t439\].en.ttml Doctor\ Who:\ Unleashed\,\ 60th\ Anniversary\ Specials\,\ Wild\ Blue\ Yonder\ \[m001t439\].en.srt
Traceback (most recent call last):
File "ttml2srt.py", line 572, in <module>
ttml.write2file(getattr(args, 'output-file') or '-')
File "ttml2srt.py", line 489, in write2file
for parag in self.paragraphs(generator=True):
File "ttml2srt.py", line 462, in paragraphs
for i, s in enumerate(self.to_paragraphs()))
File "ttml2srt.py", line 380, in to_paragraphs
[self.process_parag(p) for p in self.lines], key=lambda x: x[0])
File "ttml2srt.py", line 380, in <listcomp>
[self.process_parag(p) for p in self.lines], key=lambda x: x[0])
File "ttml2srt.py", line 371, in process_parag
ms_begin, subrip_begin = self.timeexpr_to_subrip(begin)
File "ttml2srt.py", line 310, in timeexpr_to_subrip
ms = self.timeexpr_to_ms(time_expr) + self.shift
File "ttml2srt.py", line 131, in timeexpr_to_ms
return self._timeexpr_to_ms(*args)
File "ttml2srt.py", line 139, in _timeexpr_to_ms
return self.timeexpr_to_ms(time_expr)
File "ttml2srt.py", line 250, in frame_timestamp_to_ms
hh, mm, ss, frames = [int(i) for i in timestamp.split('.')[0].split(':')]
ValueError: not enough values to unpack (expected 4, got 3)
Hi,
i got this error
when trying to convert this file
231203ttmlError.zip
please have a look into it, thx!
The text was updated successfully, but these errors were encountered: