summaryrefslogtreecommitdiff
path: root/test-mogrify.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-15 04:56:35 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-15 04:56:35 +0200
commit7973cf3f82a05b920927fdf5b322e074dfdc7755 (patch)
tree469c8ba94a876f9f045a7ea63c0c049acd934df8 /test-mogrify.py
parent4fceff3903a1e53a194b5da9bf2ac8772c8f621e (diff)
testy
Diffstat (limited to 'test-mogrify.py')
-rw-r--r--test-mogrify.py3
1 files changed, 3 insertions, 0 deletions
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()