tools/process-motion-timecodes: modify format

This commit is contained in:
Evgeny Zinoviev 2022-06-07 01:18:59 +03:00
parent 04030c08f1
commit 5af3432a04

View File

@ -70,8 +70,10 @@ if __name__ == '__main__':
if start < 0:
start = 0
duration = end - start
dt1 = (file_dt + timedelta(seconds=start)).strftime(DATETIME_FORMAT)
dt2 = (file_dt + timedelta(seconds=end)).strftime(DATETIME_FORMAT)
filename = f'{dt1}__{dt2}.mp4'
print(f'{start} {end} {filename}')
print(f'{start} {duration} {filename}')