From c9e3cb29fedcbe7e247d5abfb61bc4f0024ce5f4 Mon Sep 17 00:00:00 2001 From: Andinus Date: Wed, 3 Nov 2021 22:07:59 +0530 Subject: Fix log-level usage in ffmpeg, update maze --- lib/Fornax/CLI.rakumod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Fornax') diff --git a/lib/Fornax/CLI.rakumod b/lib/Fornax/CLI.rakumod index 9f6c569..110f587 100644 --- a/lib/Fornax/CLI.rakumod +++ b/lib/Fornax/CLI.rakumod @@ -123,7 +123,7 @@ multi sub MAIN( put "[fornax] Creating a slideshow." if $verbose; my Str $log-level = $verbose ?? "info" !! "error"; - run «ffmpeg -loglevel "$verbose" -r "$frame-rate" -i "$output/\%08d.png" + run «ffmpeg -loglevel "$log-level" -r "$frame-rate" -i "$output/\%08d.png" -vcodec libx264 -crf 28 -pix_fmt yuv420p "$output/solution.mp4"»; put "[fornax] Output: '$output'"; } -- cgit 1.4.1-2-gfad0