diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-08-26 12:19:55 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-08-26 12:19:55 +0300 |
commit | 9edce767b1abbfda5d269ce5f5f71bd583c14f2b (patch) | |
tree | 7a9c034850f6c39b958a8d95f0abcd9a4417dc11 | |
parent | cd9270faa7af6773637d9159b995c37bd87ef4e6 (diff) | |
download | benchmarker-9edce767b1abbfda5d269ce5f5f71bd583c14f2b.tar.gz |
hide handbrake output unless there's an error
-rwxr-xr-x | benchmarker | 5 |
1 files 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 } |