From patchwork Tue Oct 8 09:08:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Wang X-Patchwork-Id: 15561 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 19A0044A919 for ; Tue, 8 Oct 2019 12:08:28 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0436E68816E; Tue, 8 Oct 2019 12:08:28 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 90A4F68816C for ; Tue, 8 Oct 2019 12:08:21 +0300 (EEST) Received: by mail-pl1-f170.google.com with SMTP id t10so8191277plr.8 for ; Tue, 08 Oct 2019 02:08:21 -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=FsEsip+mYTa0PuEaqYQHMiq/RwZ6/fNnW5qqGIOwzBo=; b=n1Dvw8+x5y+6Rp16lvXqWUhJExR8j1f+LD4sd1E1tFvMImdaYnMRZH86mqs7tjyJRr wdjxesgX6gZBYo0on9O0F+AMsdzKn1Gvph18hhwzFm+uEcqzkDuOXq116HeMExwC/qp4 FqNJIVwLL5k65g6OFhZpwKDxvZoc8TNCUi/qcTnYdxeZIUWpVpvRqaSFBjCsJHAY2k3F bYOA1zYC5Uw0y5Y8lZ44vqFPheSg81/TnwxZ+d/92CE2UtyIisnyrRcZD3xS6Wo0KPxD PkyL7Seq/yzdBDs8kkrEZDVj+HGWL1pf5BgkznpUmPz9Jgk03waQbD4VTTjvGXpVPj8U hz+g== 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=FsEsip+mYTa0PuEaqYQHMiq/RwZ6/fNnW5qqGIOwzBo=; b=Gn7car3aIgHTDPH2G+ojX6St/tQ0GpvMt8EFYwlAK0FL77z2xDafAeoJAvHBs5LwQl IdyGjN65+CM8tgPqX15yqhyAazJc5FAE4Hbs8saAcRnRHmvd6+bYxzLer+gCoJ0BHdMo 94b21ugatwspaRbkpQCxpjMqidCfyUailuJ58zTiNntiqKKkVWuxJ68Lltw/d4iumobf PIP999U20FI1ID3htFzMh+sKpVtzj+X0gRVM7rW3tlXT2OA3sndt/FRt68iFvDF3eqva o7SSIpuzUE3ogSs29nlpkvp42GSjebBzyMO8WJTsYOMHLFgfITn7zi4mBZNKyN0DEvHH SnYg== X-Gm-Message-State: APjAAAX2+T99m1FRBQTzSRhOBZlYbfG4VIOMiD2r47jtYGcyEpD61tG3 S73dgDOzqXZIIJTcNUBL7f+lBBN+ X-Google-Smtp-Source: APXvYqxciqq8HjRuM6klV0PlKHH+w+EnVqkv0Syync4mjLATkqYgImuVLJo8AR2VRFdUbiUbBOLRjA== X-Received: by 2002:a17:902:24c:: with SMTP id 70mr35253685plc.41.1570525699589; Tue, 08 Oct 2019 02:08:19 -0700 (PDT) Received: from vpn.localdomain ([47.90.99.151]) by smtp.gmail.com with ESMTPSA id l24sm17045699pff.151.2019.10.08.02.08.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Oct 2019 02:08:19 -0700 (PDT) From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Tue, 8 Oct 2019 17:08:03 +0800 Message-Id: <20191008090803.20295-4-lance.lmwang@gmail.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20191008090803.20295-1-lance.lmwang@gmail.com> References: <20190929132515.4093-1-lance.lmwang@gmail.com> <20191008090803.20295-1-lance.lmwang@gmail.com> Subject: [FFmpeg-devel] [PATCH v3 4/4] fate: add scenechangedetect 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 Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 6 ++++++ tests/ref/fate/filter-metadata-scenechangedetect | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/ref/fate/filter-metadata-scenechangedetect diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 0c6ee72432..cd0a58290d 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-scenechangedetect +fate-filter-metadata-scenechangedetect: SRC = $(TARGET_SAMPLES)/svq3/Vertical400kbit.sorenson3.mov +fate-filter-metadata-scenechangedetect: 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-scenechangedetect b/tests/ref/fate/filter-metadata-scenechangedetect new file mode 100644 index 0000000000..58090c2a00 --- /dev/null +++ b/tests/ref/fate/filter-metadata-scenechangedetect @@ -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