From 9f7b4e3383c10723ecdad9ca3687d667fc4e91aa Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 19 Apr 2018 02:23:33 +0200 Subject: scp and copy --- recursive.sh | 1 + test.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recursive.sh b/recursive.sh index 4255210..31f34da 100755 --- a/recursive.sh +++ b/recursive.sh @@ -4,6 +4,7 @@ python test.py \ --start_img /home/lens/Desktop/thumbs/woodscaled/A/train/frame_0000.png \ --how_many 2000 \ --model test \ + --aspect_ratio 1.777777 \ --which_model_netG unet_256 \ --which_direction AtoB \ --dataset_mode recursive \ diff --git a/test.py b/test.py index adfce67..5c7a01f 100644 --- a/test.py +++ b/test.py @@ -50,7 +50,7 @@ if __name__ == '__main__': webpage.save() - cmd = ("/usr/bin/ffmpeg", "-i", "frame_%04d.png", "-c:v", "libx264", "-vf", "fps=30", "-pix_fmt", "yuv420p", render_dir + opt.name + "_" + opt.experiment + ".mp4") + cmd = ("/usr/bin/ffmpeg", "-i", "frame_%05d.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() -- cgit v1.2.3-70-g09d2