From patchwork Tue Jul 18 11:21:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Liu X-Patchwork-Id: 42803 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:b813:b0:130:ccc6:6c4b with SMTP id fi19csp413701pzb; Tue, 18 Jul 2023 04:22:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlHRvaR8/QwLWvmFYIrrRt+Rgg2ZfQVfcuN2QDzlHhzdNbfKqjOLRkUGsau5G4ARbsY9IlJb X-Received: by 2002:a17:906:5e:b0:994:554b:7f27 with SMTP id 30-20020a170906005e00b00994554b7f27mr10277709ejg.2.1689679371547; Tue, 18 Jul 2023 04:22:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689679371; cv=none; d=google.com; s=arc-20160816; b=rB955K8NTzqEVFQmnFNTk2/jxd7W3TMuBlTU+oVWaO9npvIosz3pHqDxCLd/x6OQJO vKJJeqGxckALoupOxzVxBVQ/4xb3oZeaJG2H66oxius2t882Jsg98be0hBRhMC2S8yf2 m/HQhfe9t0WXs4wgD4DSli33jvnlP1QiieFb+0g7NqryiwiUkd+M2v7RG8DyGiu3bEQq BGDkDee72RkJKqh3qCPuObMpVqCdelFIRcLJLsvyFDorby8DNjYJTImJqChLALlXNTxM 4rAlVU2KuRrFhZwLL9SJ6FO6Nh1cY25s966lC3kQ9dMxAvT/US0I8Vrjguf2XLltdcCV 8WRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:feedback-id:mime-version:references :in-reply-to:message-id:date:to:from:delivered-to; bh=81fpJ6raTMrM1gNrZOk595/Avx1OnPWLVLAAib461y8=; fh=UbKzVxiKqWMRVKHrgyn1mg7tw/nuokz5Lr8G3ZXebqo=; b=OnLwm6cQ2RbO/UW8gC0dSZNpJuX+0Mss2o+9cTn8yx6Poqn+ngqWDiAD8vgIMOZIL4 PKzHQEhiLPo4j8Ztvv1wdV2dbZlAvMeic6qzAkpWnWdg8Rch3+CFvexzBCmBTDGndj0m OuTgzJBXlP5I3+213z2gRTSJnLOv1JnSW0FTQ2yIJeW/5riYveW61ufvtCzrI/gemq6g Wq8QqqbsD12vfdrsOtlLAY16ChCcRtYw13rEnJkmwCwbDHuELnFjwky1S0wB3nzaDDoi eONbmmHRPmc/DqxQ1OxUv2jYk58Cp88WXD/i7zrLAB2QmSA2uXuu1AuiAo/T2bG01XXW SMKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id y6-20020a17090668c600b009827e17b069si980408ejr.1029.2023.07.18.04.22.51; Tue, 18 Jul 2023 04:22:51 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 33DBF68C45C; Tue, 18 Jul 2023 14:22:34 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from smtpbgau2.qq.com (smtpbgau2.qq.com [54.206.34.216]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C7AD568A841 for ; Tue, 18 Jul 2023 14:22:26 +0300 (EEST) X-QQ-mid: bizesmtp77t1689679340tukpo6wz Received: from localhost ( [103.102.203.196]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 18 Jul 2023 19:22:19 +0800 (CST) X-QQ-SSF: 01100000000000Z0Z000000A0000000 X-QQ-FEAT: 7jw2iSiCazrFDIl0Fo7rjmt+vIozPA2RX3VoG1SinxLeo5h0aU9AcYAZ/EyyE L3skYqP6JcEHLOPQJUHtiCFEOeKnwF5io7LXsmQBTeq3mSbI04SvTLKrRLrWpAcRNSb1+Zw NhJygyMfMSFuvKDdA+D8UA5xJLfxHTUWgEBNKCotjlvpVBv1tDnqSRzA9YByBRIe2dfaLp6 bCYneK1YwovmP/4kJuc+ksbyYP3zFwn7YAvtMGY+lVmki0sKSBSVQSFOBpXJXb1PRRDPKeX E/6D3vLhnSaOgaLigc0pBB94BpBKBUtnCxaVSZ7BaFmBwIfuqeGGq12HZRhS6g8L93KQRz1 tLfRVmuTtFy+SUf5rxY699qBCe00IpdGDfovuvl7T960gqP12A= X-QQ-GoodBg: 0 X-BIZMAIL-ID: 863141223202945422 From: Steven Liu To: ffmpeg-devel@ffmpeg.org Date: Tue, 18 Jul 2023 19:21:58 +0800 Message-Id: <20230718112159.40655-4-lq@chinaffmpeg.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230718112159.40655-1-lq@chinaffmpeg.org> References: <168967382046.27367.15892871212571004010@lain.khirnov.net> <20230718112159.40655-1-lq@chinaffmpeg.org> MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:chinaffmpeg.org:qybglogicsvrsz:qybglogicsvrsz3a-0 Subject: [FFmpeg-devel] [PATCH v2 3/3] tests/fate/flvenc: add av1 in enhanced flv test case X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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: Steven Liu Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: sCnMF6ZmedYi Signed-off-by: Steven Liu --- tests/fate/flvenc.mak | 10 ++++++++++ tests/ref/fate/enhanced-flv-av1 | 6 ++++++ 2 files changed, 16 insertions(+) create mode 100644 tests/ref/fate/enhanced-flv-av1 diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak index dafad26734..2ad7a2708e 100644 --- a/tests/fate/flvenc.mak +++ b/tests/fate/flvenc.mak @@ -22,5 +22,15 @@ fate-enhanced-flv-vp9: tests/data/enhanced_flv_vp9.flv fate-enhanced-flv-vp9: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_vp9.flv fate-enhanced-flv-vp9: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_vp9.flv +tests/data/enhanced_flv_av1.flv: TAG = GEN +tests/data/enhanced_flv_av1.flv: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data + $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \ + -f lavfi -i "testsrc=s=176x144:r=1:n=1:d=0.04" -pix_fmt yuv420p -c:v libaom-av1 -frames 1 -y $(TARGET_PATH)/tests/data/enhanced_flv_av1.flv 2>/dev/null + +FATE_FLVENC_FFMPEG_FFPROBE-$(call TRANSCODE, LIBAOM_AV1, FLV, TESTSRC_FILTER LAVFI_INDEV) += fate-enhanced-flv-av1 +fate-enhanced-flv-av1: tests/data/enhanced_flv_av1.flv +fate-enhanced-flv-av1: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_av1.flv +fate-enhanced-flv-av1: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_av1.flv + FATE_FFMPEG_FFPROBE += $(FATE_FLVENC_FFMPEG_FFPROBE-yes) fate-flvenc: $(FATE_FLVENC_FFMPEG_FFPROBE-yes) diff --git a/tests/ref/fate/enhanced-flv-av1 b/tests/ref/fate/enhanced-flv-av1 new file mode 100644 index 0000000000..4feeee72e2 --- /dev/null +++ b/tests/ref/fate/enhanced-flv-av1 @@ -0,0 +1,6 @@ +#tb 0: 1/1 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 176x144 +#sar 0: 1/1 +0, 0, 0, 1, 38016, 0xe439e757