diff --git a/render.py b/render.py index ef74e1b..5464b23 100644 --- a/render.py +++ b/render.py @@ -251,7 +251,8 @@ def compose(clips, fragment, target=150, base=1024, voice_over=None, options=Non else: vo_b = None - while int((vo['duration'] + sub_offset) * fps) > scene_duration: + min_end = 2 + while int((vo['duration'] + sub_offset + min_end) * fps) > scene_duration: if not vo_keys: vo = None break