summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjules@lens <julescarbon@gmail.com>2018-06-20 15:05:40 +0200
committerjules@lens <julescarbon@gmail.com>2018-06-20 15:05:40 +0200
commitdab0ed9311602979a226b597cc401ef7a7dc9622 (patch)
treee9988e3cb634a9e7e163ad5bf937554ebec29015
parent2c14047ff0e8143c21d9ebc2a598168ae9f6b6f2 (diff)
rendir dirrrrrrrr
-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 7bc48c5..0f1a412 100755
--- a/dir-to-movie.pl
+++ b/dir-to-movie.pl
@@ -23,9 +23,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');
}