qcli 1.2.1

* qcli 1.2.1
* qcli: fix test

Closes #95251.

Signed-off-by: Michka Popoff <3406519+iMichka@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Maxime Gervais 2022-02-16 20:43:07 +01:00 committed by BrewTestBot
parent 25b1de2971
commit 592ce73fe7
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 3 additions and 4 deletions

View File

@ -1,10 +1,9 @@
class Qcli < Formula
desc "Report audiovisual metrics via libavfilter"
homepage "https://bavc.org/preserve-media/preservation-tools"
url "https://github.com/bavc/qctools/archive/v1.2.tar.gz"
sha256 "d648a5fb6076c6367e4eac320018ccbd1eddcb2160ce175b361b46fcf0d4a710"
url "https://github.com/bavc/qctools/archive/v1.2.1.tar.gz"
sha256 "17cdc326819d3b332574968ee99714ac982c3a8e19a9c80bcbd3dc6dcb4db2b1"
license "GPL-3.0-or-later"
revision 5
head "https://github.com/bavc/qctools.git", branch: "master"
bottle do
@ -39,7 +38,7 @@ class Qcli < Formula
test do
# Create an example mp4 file
mp4out = testpath/"video.mp4"
system "ffmpeg", "-filter_complex", "testsrc=rate=1:duration=1", mp4out
system "#{Formula["ffmpeg@4"].bin}/ffmpeg", "-filter_complex", "testsrc=rate=1:duration=1", mp4out
# Create a qcli report from the mp4
qcliout = testpath/"video.mp4.qctools.xml.gz"
system bin/"qcli", "-i", mp4out, "-o", qcliout