summaryrefslogtreecommitdiff
path: root/dir-to-movie.pl
diff options
context:
space:
mode:
Diffstat (limited to 'dir-to-movie.pl')
-rwxr-xr-xdir-to-movie.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir-to-movie.pl b/dir-to-movie.pl
index b109415..5bcb738 100755
--- a/dir-to-movie.pl
+++ b/dir-to-movie.pl
@@ -66,7 +66,7 @@ if ($tag =~ /\//) {
$dataset = $tag;
}
-my $ffmpeg = `ffmpeg -i ./tmp/frame_%05d.png -y -c:v libx264 -vf fps=25 -pix_fmt yuv420p -s 1024x512 $parent_dir/renders/$tag.mp4`;
+my $ffmpeg = `ffmpeg -hide_banner -i ./tmp/frame_%05d.png -y -c:v libx264 -preset slow -crf 19 -vf fps=25 -pix_fmt yuv420p -s 1024x512 $parent_dir/renders/$tag.mp4`;
my @lines = split("\n", $ffmpeg);
for my $line (@lines) {