The get_time_code function sometimes delivers the microseconds incorrectly causing the following caption to appear before the previous caption is removed.
I corrected the issue by overriding the function with the code below:
Format and return a string that contains the converted number of seconds into WebVTT format
The get_time_code function sometimes delivers the microseconds incorrectly causing the following caption to appear before the previous caption is removed.
I corrected the issue by overriding the function with the code below:
Format and return a string that contains the converted number of seconds into WebVTT format
def get_time_code( aws_timecode ): timedelta = datetime.timedelta(seconds=float(aws_timecode))