summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-20 15:05:57 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-20 15:05:57 +0200
commit8682f5ff221f336bb6597ef818c1829a6f681a0a (patch)
tree8de5402de7e87ced96bead3ff9dda1b710778224
parentfce8a69e04876379794d91e7cdc0d74ab8a36c80 (diff)
parentdab0ed9311602979a226b597cc401ef7a7dc9622 (diff)
Merge branch 'master' of asdf.us:pix2pixhd
-rwxr-xr-xdir-to-movie.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/dir-to-movie.pl b/dir-to-movie.pl
index 7e74eec..a7b2321 100755
--- a/dir-to-movie.pl
+++ b/dir-to-movie.pl
@@ -30,9 +30,11 @@ system("ffmpeg",
"-i", "./tmp/frame_%05d.png",
"-y", "-c:v", "libx264", "-vf", "fps=25", "-pix_fmt", "yuv420p",
"-s", "1024x512",
- $tag . ".mp4"
+ "../../renders/" . $tag . ".mp4"
);
+print "rendered: $tag.mp4";
+
END {
system('rm', '-rf', 'tmp');
chdir('../..');