summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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('../..');