From patchwork Tue Oct 8 11:01:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Wang X-Patchwork-Id: 15565 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 290D0448633 for ; Tue, 8 Oct 2019 14:01:56 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0A96868816E; Tue, 8 Oct 2019 14:01:56 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A1BEB687F83 for ; Tue, 8 Oct 2019 14:01:49 +0300 (EEST) Received: by mail-pl1-f169.google.com with SMTP id f21so8288606plj.10 for ; Tue, 08 Oct 2019 04:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xxgc044gjzFCI9Opzm1fTHrIoeMREhpkeMZ+3LItVz0=; b=Hj9/eaf6H+cvo7Rz/dUdB2Ntj3V48XFVIaig5JnN/5MTZcIVBzd4rOcyXCElm+1R3a t1WC8j3Vioqcp8SJMGQcj99ik0aEn/yhcT4a2B923ZXg1OBGhl+rSLO4hAM7ExlA8Fv0 hpYcB0quTaIQ31qNaZxfZOpiT011BlC43QmS4BL1UPUeGWhQMHaIww3aApLA5ghk5Gpe YADdvrd4gkoT7WdkxGqZMms/IoWjQXRMa3IcnghDD1zfTfFrD8IVphwS/aJvWwhSB718 P6X/cbR6Ufizr2wGIKgS4kY0I8Gl+8cAfxD0xChRuR2zuhZQNsmRllEouw+y6QbNjuo0 cNlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xxgc044gjzFCI9Opzm1fTHrIoeMREhpkeMZ+3LItVz0=; b=rHnzfI3EpuR7E4ozKVWrQrjrdbopdYbYobUHvE4VTnksj/hcbCXCvbmRZHhJs6CsZ9 UgeqJJj2G7hQcnkaqlpcxwHJD9sdB80aEOA1wr+IQUqfI7oCOPHbfUNOohWbKNGaV0YZ WowBiNu/RBZmmtLKpXnirxMCMQ+JT3sU6DAoDR639IqB/cnnEcoUZ+3HeSlQey+Ns3F6 SFqrnvaoLyIZ0J8AWNB7opMZbvLQMpWNuTS0MGW3sqWGcq0F/tW7s3c4Pa3AIrXjjom6 lZMPl5HrbKOtDgi0fzM0saxH4rUnxA62eG5WgtMroBFW8NAiytPcOz+/GfP9LQHYFBlp /lDA== X-Gm-Message-State: APjAAAVjBgXsmia0Ac6pkOokBK7l/k3etcWuZmQ3SvpL9i44pxII6WfK Ge1P6KuIG2hHuVkjxb65uE6CKb75 X-Google-Smtp-Source: APXvYqxbJoVsXdhaAVENqts7r5rYNliEJYJf8Peq8RbdArot+NC3Lcto7yBcF86zNod9stlshOnqyA== X-Received: by 2002:a17:902:a717:: with SMTP id w23mr3362792plq.17.1570532507631; Tue, 08 Oct 2019 04:01:47 -0700 (PDT) Received: from vpn.localdomain ([47.90.99.151]) by smtp.gmail.com with ESMTPSA id e10sm21113851pfh.77.2019.10.08.04.01.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Oct 2019 04:01:47 -0700 (PDT) From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Tue, 8 Oct 2019 19:01:32 +0800 Message-Id: <20191008110132.20806-4-lance.lmwang@gmail.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20191008110132.20806-1-lance.lmwang@gmail.com> References: <20190929132515.4093-1-lance.lmwang@gmail.com> <20191008110132.20806-1-lance.lmwang@gmail.com> Subject: [FFmpeg-devel] [PATCH v4 4/4] fate: add scdetect metadata test X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Limin Wang MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Limin Wang Reviewed-by: Paul B Mahol Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 6 ++++++ tests/ref/fate/filter-metadata-scdet | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/ref/fate/filter-metadata-scdet diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 0c6ee72432..0a83adf0e6 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -738,6 +738,12 @@ FATE_METADATA_FILTER-$(call ALLYES, $(SCENEDETECT_DEPS)) += fate-filter-metadata fate-filter-metadata-scenedetect: SRC = $(TARGET_SAMPLES)/svq3/Vertical400kbit.sorenson3.mov fate-filter-metadata-scenedetect: CMD = run $(FILTER_METADATA_COMMAND) "sws_flags=+accurate_rnd+bitexact;movie='$(SRC)',select=gt(scene\,.25)" +SCENEDCHANGE_DEPS = FFPROBE LAVFI_INDEV MOVIE_FILTER SCENECHANGEDETECT_FILTER SCALE_FILTER \ + AVCODEC AVDEVICE MOV_DEMUXER SVQ3_DECODER ZLIB +FATE_METADATA_FILTER-$(call ALLYES, $(SCENEDETECT_DEPS)) += fate-filter-metadata-scdet +fate-filter-metadata-scdet: SRC = $(TARGET_SAMPLES)/svq3/Vertical400kbit.sorenson3.mov +fate-filter-metadata-scdet: CMD = run $(FILTER_METADATA_COMMAND) "sws_flags=+accurate_rnd+bitexact;movie='$(SRC)',scdet=s=1" + CROPDETECT_DEPS = FFPROBE LAVFI_INDEV MOVIE_FILTER CROPDETECT_FILTER SCALE_FILTER \ AVCODEC AVDEVICE MOV_DEMUXER H264_DECODER FATE_METADATA_FILTER-$(call ALLYES, $(CROPDETECT_DEPS)) += fate-filter-metadata-cropdetect diff --git a/tests/ref/fate/filter-metadata-scdet b/tests/ref/fate/filter-metadata-scdet new file mode 100644 index 0000000000..58090c2a00 --- /dev/null +++ b/tests/ref/fate/filter-metadata-scdet @@ -0,0 +1,11 @@ +pkt_pts=1620|tag:lavfi.scd.mafd=60.175|tag:lavfi.scd.score=59.252|tag:lavfi.scd.time=2.7 +pkt_pts=4140|tag:lavfi.scd.mafd=44.209|tag:lavfi.scd.score=36.070|tag:lavfi.scd.time=6.9 +pkt_pts=5800|tag:lavfi.scd.mafd=55.819|tag:lavfi.scd.score=55.819|tag:lavfi.scd.time=9.66667 +pkt_pts=6720|tag:lavfi.scd.mafd=22.505|tag:lavfi.scd.score=18.580|tag:lavfi.scd.time=11.2 +pkt_pts=8160|tag:lavfi.scd.mafd=49.444|tag:lavfi.scd.score=49.240|tag:lavfi.scd.time=13.6 +pkt_pts=9760|tag:lavfi.scd.mafd=51.801|tag:lavfi.scd.score=51.497|tag:lavfi.scd.time=16.2667 +pkt_pts=14080|tag:lavfi.scd.mafd=34.337|tag:lavfi.scd.score=34.165|tag:lavfi.scd.time=23.4667 +pkt_pts=15700|tag:lavfi.scd.mafd=58.315|tag:lavfi.scd.score=58.310|tag:lavfi.scd.time=26.1667 +pkt_pts=18500|tag:lavfi.scd.mafd=19.603|tag:lavfi.scd.score=16.504|tag:lavfi.scd.time=30.8333 +pkt_pts=20040|tag:lavfi.scd.mafd=19.060|tag:lavfi.scd.score=13.764|tag:lavfi.scd.time=33.4 +pkt_pts=21760|tag:lavfi.scd.mafd=64.551|tag:lavfi.scd.score=64.451|tag:lavfi.scd.time=36.2667