diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 01:48:59 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 01:48:59 +0200 |
| commit | 8a906ba5507d5bc50dd2f27f5635b61c9b88bb38 (patch) | |
| tree | 8b21018059d01eae93d3e3749ff56da51ff378a2 /test-mogrify.py | |
| parent | 91141b1aa1f91221c3890edbd3c0b52532afae04 (diff) | |
args
Diffstat (limited to 'test-mogrify.py')
| -rw-r--r-- | test-mogrify.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/test-mogrify.py b/test-mogrify.py index fad8e6c..ee8111b 100644 --- a/test-mogrify.py +++ b/test-mogrify.py @@ -18,13 +18,6 @@ import time import subprocess from time import sleep -blur = 3 -sigma = 0 -canny_lo = 10 -canny_hi = 220 -frac_a = 0.99 -frac_b = 1 - frac_a - if __name__ == '__main__': opt = TestOptions().parse() data_opt = DatasetOptions().parse(opt.unknown) @@ -132,7 +125,7 @@ if __name__ == '__main__': # blur, sigma, canny_lo, canny_hi, int(t)) - cmd = ("/usr/bin/ffmpeg", "-i", render_dir + "ren_%05d.png", "-y", "-c:v", "libx264", "-vf", "fps=30", "-pix_fmt", "yuv420p", render_dir + video_fn) + cmd = ("ffmpeg", "-i", render_dir + "ren_%05d.png", "-y", "-c:v", "libx264", "-vf", "fps=30", "-pix_fmt", "yuv420p", render_dir + video_fn) process = subprocess.Popen(cmd, stdout=subprocess.PIPE) output, error = process.communicate() |
