summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjules@lens <julescarbon@gmail.com>2018-10-16 19:23:01 +0200
committerjules@lens <julescarbon@gmail.com>2018-10-16 19:23:01 +0200
commitbd871b2b3d5a52abae55c7f59f640be7be01ad2e (patch)
treeb628f8f27ce95a0b288da38d26eddf4b5e2515b0
parent9934f2a1a5f3356eeab5c3320bd2184decf43c01 (diff)
bump quality setting
-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) {