This commit is contained in:
j 2026-01-15 16:41:29 +00:00
commit c66f9bb251

View file

@ -811,6 +811,10 @@ def generate_clips(options):
clip[type_] = target clip[type_] = target
durations.append(e.files.filter(selected=True)[0].duration) durations.append(e.files.filter(selected=True)[0].duration)
clip["duration"] = min(durations) clip["duration"] = min(durations)
# trim to a multiple of the output fps
d1 = int(clip["duration"] * 24) / 24
if d1 != clip["duration"]:
clip["duration"] = d1
if not clip["duration"]: if not clip["duration"]:
print('!!', durations, clip) print('!!', durations, clip)
continue continue