summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-20 12:51:08 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-20 12:51:08 +0200
commitb0d1616f1be8e7a4abd608c3b06dd67c6d048772 (patch)
treec993e49f31b9e5041fddacb14f65e3cf37b0d4c6 /test.py
parent84bb9e7c1208c366dbba361f3b260283e258d10b (diff)
expand
Diffstat (limited to 'test.py')
-rw-r--r--test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.py b/test.py
index 858db98..e2ed114 100644
--- a/test.py
+++ b/test.py
@@ -62,7 +62,7 @@ if __name__ == '__main__':
os.remove(render_dir + "frame_00000.png")
- cmd = ("/usr/bin/ffmpeg", "-i", render_dir + "test_latest/images/frame_%05d_fake_B.png", "-c:v", "libx264", "-vf", "fps=30", "-pix_fmt", "yuv420p", render_dir + opt.name + "_" + opt.experiment + ".mp4")
+ cmd = ("/usr/bin/ffmpeg", "-i", opt.results_dir + opt.name + "/frame_%05d_fake_B.png", "-c:v", "libx264", "-vf", "fps=30", "-pix_fmt", "yuv420p", render_dir + opt.name + "_" + opt.experiment + ".mp4")
process = subprocess.Popen(cmd, stdout=subprocess.PIPE)
output, error = process.communicate()