From patchwork Tue Jul 18 07:32:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Liu X-Patchwork-Id: 42798 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:b813:b0:130:ccc6:6c4b with SMTP id fi19csp310184pzb; Tue, 18 Jul 2023 00:32:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlEbec7SKSrqUKC2jhNjrY3pdOsCnsYYCPM2Rm1Y3CLay4WNxnN1tnCWdtG2szIH1BEX1gks X-Received: by 2002:a05:6402:51cb:b0:51e:538c:1e19 with SMTP id r11-20020a05640251cb00b0051e538c1e19mr13610753edd.15.1689665578476; Tue, 18 Jul 2023 00:32:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689665578; cv=none; d=google.com; s=arc-20160816; b=OCN84MhY3bDBzm9YsBcm9rxePL84+WOYbvzZsnGTGMaZfbIl8dm9KZ7iys+AzNombo BEWwPgEHe/+NTthcAAcgUaHaO+tm4J6S5XYyQtkWu86ehxIRK0z7BTvQKLp/+ZAQkk3m bYGGgbIvkz509RjtLGftzxmCeKHme3O/DIFLTp2Ycm6zViaGFpPGnIrqw7xRhmOCx1rg v9HZJbPvB944fGPeVegUBmotG6ubED6jMttwfTre/g9v4qHs+o3fXDUezh4nwRdSaqG9 ms9GtsMHU0gO4AChNQQ6OP9BPVR1VWaISdrCOXVbMMjIE5/fjJqjCmOOCF089D2eOw2B zdww== 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=D9h0QW9mbv4aXs/VVdY6UURFEvK8xGCngYQn1567gf4=; fh=UbKzVxiKqWMRVKHrgyn1mg7tw/nuokz5Lr8G3ZXebqo=; b=eOnxQssJ0Yi2QN/diE3XvrhxkEzMfw2DO4+gKqH44hQocZbEufYhAJOJnhfoxqagYe Tq0WAGIjyvWWQY/DLOlsot9P9/nkaSplyNJhzxI88+LSzPcFis9lt5vlD9ZJTPOkK2N1 zucn8RCYh7U+Sw9RRp1DnnxijfXW5RyccUF9BX+qs3wEXM0fSYJjWg/+Ens22GaUwRKs QDX5VSdNlxrSH3uG+awIdtxOkrPY8u053GVHC5X2r9Y64UJMHWHzS+hGCsmvLjJUkRW3 NbPhzzimrP9J4p/Mg6BmOjpdEjyzoPg/u6fHos9L2qitZyVuT+BoA8tDJ6vDM5AUulpY Yc5w== 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 q18-20020a056402041200b0051e22d772a2si772853edv.679.2023.07.18.00.32.58; Tue, 18 Jul 2023 00:32:58 -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 5E0D268C45C; Tue, 18 Jul 2023 10:32:40 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.65.254]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2E71A68C289 for ; Tue, 18 Jul 2023 10:32:32 +0300 (EEST) X-QQ-mid: bizesmtp79t1689665548teb6y3nz Received: from localhost ( [103.102.203.196]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 18 Jul 2023 15:32:27 +0800 (CST) X-QQ-SSF: 01100000000000Z0Z000000A0000000 X-QQ-FEAT: TOO/YuwAHLO6+N/qLPMv0Rsu46MTrvUcgpWzzOA5nqH6bzYy/1IsTLxSr1DHd 8McWPEaQup8ghvvhToL0w4ID3cB6x9m8Wj5DIVz/ByrE012rGpuqDq/MVzFsJtUMiZ7b7Pa vpaM41LihOwVkwaayg4W2+2Pg3VIzBnuCINfTWbFqhxaw2S/D9zruLmmvST2G0/xNpZ06h5 J/jsq9OInUCB3Ym4ijpCmlbB9KMdca7zIYzj3H+SyaxTgHodq4gaHlXKfx0TDt5ZujzugPp OlBREnppXkONgjJ7IpJIC2bUmSsxbMpuDPwsBRJVWII6m0ZdOBRUtfAdjkE4S1kBhcwGF5N vFOf7UbhRIt27mXD85V1m40KO0wG2BCes1U/+FGfMtbMVo83Yg= X-QQ-GoodBg: 0 X-BIZMAIL-ID: 5263733404252806383 From: Steven Liu To: ffmpeg-devel@ffmpeg.org Date: Tue, 18 Jul 2023 15:32:13 +0800 Message-Id: <20230718073214.14415-3-lq@chinaffmpeg.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230718073214.14415-1-lq@chinaffmpeg.org> References: <20230718073214.14415-1-lq@chinaffmpeg.org> MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:chinaffmpeg.org:qybglogicsvrsz:qybglogicsvrsz3a-0 Subject: [FFmpeg-devel] [PATCH v1 2/3] tests/fate/flvenc: add vp9 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: PAjTD2DgBj2G Signed-off-by: Steven Liu --- tests/fate/flvenc.mak | 10 ++++++++++ tests/ref/fate/enhanced-flv-vp9 | 6 ++++++ 2 files changed, 16 insertions(+) create mode 100644 tests/ref/fate/enhanced-flv-vp9 diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak index a0af45e1a8..b7ea6d3efa 100644 --- a/tests/fate/flvenc.mak +++ b/tests/fate/flvenc.mak @@ -12,5 +12,15 @@ fate-enhanced-flv-hevc: tests/data/enhanced_flv_hevc.flv fate-enhanced-flv-hevc: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv fate-enhanced-flv-hevc: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv +tests/data/enhanced_flv_vp9.flv: TAG = GEN +tests/data/enhanced_flv_vp9.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 libvpx-vp9 -threads 1 -t 0.04 -y $(TARGET_PATH)/tests/data/enhanced_flv_vp9.flv 2>/dev/null + +FATE_FLVENC_FFMPEG_FFPROBE-$(call TRANSCODE, LIBVPX_VP9 VP9, FLV, TESTSRC_FILTER LAVFI_INDEV) += fate-enhanced-flv-vp9 +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 + FATE_FFMPEG_FFPROBE += $(FATE_FLVENC_FFMPEG_FFPROBE-yes) fate-flvenc: $(FATE_FLVENC_FFMPEG_FFPROBE-yes) diff --git a/tests/ref/fate/enhanced-flv-vp9 b/tests/ref/fate/enhanced-flv-vp9 new file mode 100644 index 0000000000..1669943bde --- /dev/null +++ b/tests/ref/fate/enhanced-flv-vp9 @@ -0,0 +1,6 @@ +#tb 0: 1/1 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 176x144 +#sar 0: 0/1 +0, 0, 0, 1, 38016, 0xec80eb63