From bdeafad8c58d6db493f07540ab77571b8a5f11ce Mon Sep 17 00:00:00 2001 From: James Betker Date: Wed, 27 May 2020 17:24:10 -0600 Subject: [PATCH] Only run 'convert' not magick --- codes/process_video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codes/process_video.py b/codes/process_video.py index f442a334..7fcf947f 100644 --- a/codes/process_video.py +++ b/codes/process_video.py @@ -140,7 +140,7 @@ if __name__ == "__main__": os.makedirs(src_imgs_path, exist_ok=True) for i in range(int(frames_per_vid / num_splits)): to_join = [imgs[j] for j in range(i * num_splits, i * num_splits + num_splits)] - cmd = ['magick', 'convert'] + to_join + ['+append', osp.join(src_imgs_path, "%08d.png" % (i,))] + cmd = ['convert'] + to_join + ['+append', osp.join(src_imgs_path, "%08d.png" % (i,))] procs.append(subprocess.Popen(cmd)) for p in procs: p.wait()