diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 04:56:35 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 04:56:35 +0200 |
| commit | 7973cf3f82a05b920927fdf5b322e074dfdc7755 (patch) | |
| tree | 469c8ba94a876f9f045a7ea63c0c049acd934df8 /test-mogrify.py | |
| parent | 4fceff3903a1e53a194b5da9bf2ac8772c8f621e (diff) | |
testy
Diffstat (limited to 'test-mogrify.py')
| -rw-r--r-- | test-mogrify.py | 3 |
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() |
