Closed FlyDogDaDa closed 1 month ago
No ValueError is raised during the process and then get printed:
314.7 315.69 315.9 316.05
getting error: ValueError: t_start (314.70) should be smaller than the clip's duration (312.01). and then get printed:
ValueError: t_start (314.70) should be smaller than the clip's duration (312.01).
314.7 315.69
from moviepy.editor import VideoFileClip original_video = VideoFileClip(video_path) clips = [] for start, end in [(314.7, 315.69), (315.9, 316.05)]: print(start, end) clips.append(original_video.subclip(start, end))
3.12.3
1.0.3
Windows 11 Pro
23H2
I've been confused for a long time why moviepy doesn't use integer milliseconds but float seconds. I'm like: (*´・д・)?
(*´・д・)?
Expected Behavior
No ValueError is raised during the process and then get printed:
Actual Behavior
getting error:
ValueError: t_start (314.70) should be smaller than the clip's duration (312.01).
and then get printed:Steps to Reproduce the Problem
Specifications
3.12.3
1.0.3
Windows 11 Pro
23H2