From 9edce767b1abbfda5d269ce5f5f71bd583c14f2b Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 26 Aug 2020 12:19:55 +0300 Subject: hide handbrake output unless there's an error --- benchmarker | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/benchmarker b/benchmarker index 25a9997..fe37cba 100755 --- a/benchmarker +++ b/benchmarker @@ -23,13 +23,14 @@ cpubench() { gotfile "$1" gotcmd HandBrakeCLI - time HandBrakeCLI --main-feature \ + echo "CPU benchmark (HandBrake video transcoding)" + time chronic HandBrakeCLI --main-feature \ -Z "H.265 MKV 720p30" \ --all-audio \ --subtitle-lang-list fin \ --first-subtitle \ -i "$1" \ - -o /dev/null + -o /dev/null 2>&1 } -- cgit v1.2.1