From dab0ed9311602979a226b597cc401ef7a7dc9622 Mon Sep 17 00:00:00 2001 From: "jules@lens" Date: Wed, 20 Jun 2018 15:05:40 +0200 Subject: rendir dirrrrrrrr --- dir-to-movie.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'); } -- cgit v1.2.3-70-g09d2