Skip to content

Video editing with Python

fix issue #341

Billy Earneycec45112ef55
diff --git a/moviepy/Clip.py b/moviepy/Clip.py
index 8655d56b..fade174a 100644
--- a/moviepy/Clip.py
+++ b/moviepy/Clip.py
@@ -378,6 +378,10 @@ class Clip:
they exist.
"""
+ if t_start < 0: #make this more python like a negative value
+ #means to move backward from the end of the clip
+ t_start = self.duration + t_start #remeber t_start is negative
+
if (self.duration is not None) and (t_start>self.duration):
raise ValueError("t_start (%.02f) "%t_start +