From 7973cf3f82a05b920927fdf5b322e074dfdc7755 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 15 May 2018 04:56:35 +0200 Subject: testy --- test-mogrify.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test-mogrify.py') diff --git a/test-mogrify.py b/test-mogrify.py index c1d6c2f..0efabe1 100644 --- a/test-mogrify.py +++ b/test-mogrify.py @@ -111,6 +111,9 @@ if __name__ == '__main__': frame_fn = "ren_%05d.png" video_fn = tag + "_mogrify.mp4" + if opt.mov_file: + video_fn = opt.mov_file + '.mp4' + cmd = ("ffmpeg", "-i", render_dir + frame_fn, "-y", "-c:v", "libx264", "-vf", "fps=30", "-pix_fmt", "yuv420p", "-s", "456x256", render_dir + video_fn) process = subprocess.Popen(cmd, stdout=subprocess.PIPE) output, error = process.communicate() -- cgit v1.2.3-70-g09d2