diff options
| -rwxr-xr-x | dir-to-movie.pl | 4 |
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'); } |
