This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from moviepy.editor import * | |
from multiprocessing import Process, Semaphore | |
import sys | |
segment_length = float(sys.argv[1]) | |
frames = float(sys.argv[2]) | |
original_video = VideoFileClip("original.mp4") | |
duration = original_video.duration | |
clip_start = 0 |