diff --git a/gifConvert/__init__.py b/gifConvert/__init__.py index 5e099f9..6f08ebb 100644 --- a/gifConvert/__init__.py +++ b/gifConvert/__init__.py @@ -73,7 +73,7 @@ def lambda_handler(event, context): videoLocation = tempfile.mkstemp(suffix=".mp4")[1] subprocess.call(["wget","-O",videoLocation,url],stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT) - videoLocationLooped = loop_video_until_length(videoLocation, 15) + videoLocationLooped = loop_video_until_length(videoLocation, 30) if videoLocationLooped != videoLocation: os.remove(videoLocation) videoLocation = videoLocationLooped