From patchwork Tue Jul 18 07:32:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Liu X-Patchwork-Id: 42797 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:b813:b0:130:ccc6:6c4b with SMTP id fi19csp310128pzb; Tue, 18 Jul 2023 00:32:49 -0700 (PDT) X-Google-Smtp-Source: APBJJlEcYh12xaYr1P03bkPEMxILqzIV05BgB+kzJRYx2X3Ifjvw7vxz0O+iJc5Y+yxSV/gPS6Yw X-Received: by 2002:a17:907:3e8a:b0:989:1a52:72b5 with SMTP id hs10-20020a1709073e8a00b009891a5272b5mr14866685ejc.45.1689665568980; Tue, 18 Jul 2023 00:32:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689665568; cv=none; d=google.com; s=arc-20160816; b=EP6xBRYNGOqouk0LKmflFljg8GifNVjtsHAOWK4WLeMOWHCIMHiAeuQVMnYAgU9QI8 soT4lYEUWtW0EqP2MdbzR3JIVVRf7B1q4i4KRrFlne/e/3ywcDnd1HIhe+OSUPmAnxk2 tS00h4hSQSZXNIAlho8l46nVN6cxGep+q/q5X8hYerOTvsqk+5Mr98hlGmnTV4ZA8akI RXTHEA5x9ndupyjU4DuCN6PiI4JMYve7+KIxUzFyu1efEv2wm9J1YJaYLng0zaWN+XI8 k/+/BafMJiPvxDVMrxnGHfT7JUDcmTX/u3q48hWA0MFPu4Ubp5EA0wmeRvGbrHQeS7CW zqTQ== 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=e/wed0QpSbOemjwcMOdJZypTe8YGzI0qiIfeD0Mt+Ug=; fh=UbKzVxiKqWMRVKHrgyn1mg7tw/nuokz5Lr8G3ZXebqo=; b=Fwbrt8C9UC68/nXNjWaYSOgHVfg1YXnwX+/IBUU6M+kHqBF6DNFS1FmFzJykxWxeVV PJhgawn0LeV9cc0FCVB6F2I+GwhOyG5UXEJNRyw/lUBlFeV0cnX4y6oms3WQTiOlqPJF TjAhjXLknnAbzrG5OPfbHGotLwRAjHGozIkhqp6tCLQaFa8F0uvfgAOEaV9vPz+/ukOx XGQi0aWCxVLLuN4NffdygMyIgaLcpw0kT1KinxT5h2jue6BRMZiAqsbo/NGyr/hnia47 icUFUYzfv75SxaBPfixFu7MhDsnnF4ssuDquaFrb9WgciyipkPfp+j8twUCKMAMKTsBJ PaZA== 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 lc17-20020a170906dff100b00992d2a0cd97si818044ejc.932.2023.07.18.00.32.48; Tue, 18 Jul 2023 00:32:48 -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 55C1068C36A; Tue, 18 Jul 2023 10:32:36 +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.154.54.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 61BF568C289 for ; Tue, 18 Jul 2023 10:32:29 +0300 (EEST) X-QQ-mid: bizesmtp62t1689665544tg3rde14 Received: from localhost ( [103.102.203.196]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 18 Jul 2023 15:32:23 +0800 (CST) X-QQ-SSF: 01100000000000Z0Z000000A0000000 X-QQ-FEAT: D2GZf6M6C/jhW6MZ7eewk19jYoxs7YXxQnKfy2Kaz7D3qXENDK+ScQusYvWmI rtkW/S9pdgQxtYpGFRA/voq5OiSm71od9XzMfdJIy5HwoZRAoEPLjaD5ppyi5Qpmzp/MDNS XyZ3brnIbey2tP1qBnvbbg4tFJ+7ykgk2B9NXc1rcfOVB/iQgGS/U/ZHMFq2n9NITDJEKd5 tEVMKbUUVu+/0t8U1RK8iTRn64lEdSCT3AdZ0NMRupf6TmIESn0/c5GVnqYJX46nFMfIen0 78LYo4RKNK9DSxVg2k+dnC5Nw+cGYmTeDNGVxiexLwUPKmI4/92byNFw3s3h6yXV7KUBnwm EVn0N31oIhxSBVuaF5m7/sVxfDEedC2IvPboDUp X-QQ-GoodBg: 0 X-BIZMAIL-ID: 14768286339580621069 From: Steven Liu To: ffmpeg-devel@ffmpeg.org Date: Tue, 18 Jul 2023 15:32:12 +0800 Message-Id: <20230718073214.14415-2-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 1/3] tests/fate/flvenc: add hevc 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: P9oIquBcWVXr Signed-off-by: Steven Liu --- tests/fate/flvenc.mak | 11 +++++++++++ tests/ref/fate/enhanced-flv-hevc | 6 ++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/ref/fate/enhanced-flv-hevc diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak index 5032fface3..a0af45e1a8 100644 --- a/tests/fate/flvenc.mak +++ b/tests/fate/flvenc.mak @@ -1,5 +1,16 @@ FATE_FLVENC_FFMPEG_FFPROBE-$(call TRANSCODE, FLV, FLV, RAWVIDEO_DECODER SCALE_FILTER TESTSRC_FILTER LAVFI_INDEV) += fate-flv-add_keyframe_index fate-flv-add_keyframe_index: CMD = transcode "lavfi -graph testsrc=r=7:n=2:d=20" "foo" flv "-vf scale -c:v flv1 -dct int -g 7 -flvflags add_keyframe_index" "-c copy -t 0.1" "-show_entries format_tags" + +tests/data/enhanced_flv_hevc.flv: TAG = GEN +tests/data/enhanced_flv_hevc.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 libx265 -bf 0 -threads 1 -t 0.04 -y $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv 2>/dev/null + +FATE_FLVENC_FFMPEG_FFPROBE-$(call TRANSCODE, LIBX265 HEVC, FLV, TESTSRC_FILTER LAVFI_INDEV) += fate-enhanced-flv-hevc +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 + FATE_FFMPEG_FFPROBE += $(FATE_FLVENC_FFMPEG_FFPROBE-yes) fate-flvenc: $(FATE_FLVENC_FFMPEG_FFPROBE-yes) diff --git a/tests/ref/fate/enhanced-flv-hevc b/tests/ref/fate/enhanced-flv-hevc new file mode 100644 index 0000000000..ee53ccf982 --- /dev/null +++ b/tests/ref/fate/enhanced-flv-hevc @@ -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, 0x01bce789 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 From patchwork Tue Jul 18 07:32:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Liu X-Patchwork-Id: 42799 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:b813:b0:130:ccc6:6c4b with SMTP id fi19csp310235pzb; Tue, 18 Jul 2023 00:33:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlGrBJePAlSVLpXkj3EWArnDM5wRK9BQEEk4CTgd8tg0zag+/Cxl4Qmx+cqJGahKAvjzLMpj X-Received: by 2002:aa7:c250:0:b0:51e:2305:931 with SMTP id y16-20020aa7c250000000b0051e23050931mr12874421edo.22.1689665588221; Tue, 18 Jul 2023 00:33:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689665588; cv=none; d=google.com; s=arc-20160816; b=kiMuiQsdJ0ySs8QofIESlP8jO1N7/RqBeuSyqxZzWoLs509JNbWxgCS24cECxPEeqU Vgr45cACwyX5Noszs6kN8fOjyGoRhZo/aWb67AulForB0Dep5SqKBCorhSfW0EoQIPfp /5RMoM88chkCtP8H2J3cEhdlmG7qflU0hQ6ma4bCqF9sjDLxM2JxfRKbdgta0ZDu3Gej 6oH4YxUgzXXNM3zr0xxskJBJtlEitxfuzdV0elxM6u1HSwow76Jp5KFy0yXXOlk/EFLt YabcNAfeabOB222wMNA/oi5yjBTFZUWNx0jXYQYo5eqN+bH6FxXBJRz0yP3P5StxmsST ATVg== 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=11eS9t/hssauYGzgn+9DLB0cWSoIxq6NA9t+nEYT6Kg=; fh=UbKzVxiKqWMRVKHrgyn1mg7tw/nuokz5Lr8G3ZXebqo=; b=YjzbHwnu1jJsGcR7zsSsn4WKLTmvqiwCZihFs7m1y/aJGHdeV0ZaQNb6RiDWk2dzH1 lhGCSl4szvif/S29glJUzAoaZBzZgd4ReNKUfecsZ3IpxvlMlcnMoL6+h5jy5tIbEMrC TkRZeJhLWKXZFCIpiB4lLDCXr+4EhrCm2a03gs9tlMc8cEJLgCclxkJiJvCNf8VKMVDg Utt6rYJe7b16XLEH88oqCaEx7dC9YaIZ51FlP2be5VmxlUC7IcASBJXCRtbcW8RE3L9+ E+Wril0Rbfd+tbotPvrhGQ6dKzZTvmvmaoH35qtNssAtRSD8sIl88MI4SBXfR+R88FIv hTSA== 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 b20-20020a056402139400b00521a9ae22adsi434729edv.104.2023.07.18.00.33.07; Tue, 18 Jul 2023 00:33:08 -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 5D9F768C4E8; Tue, 18 Jul 2023 10:32:43 +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 E7EE268C334 for ; Tue, 18 Jul 2023 10:32:35 +0300 (EEST) X-QQ-mid: bizesmtp66t1689665551t8pdb6qw Received: from localhost ( [103.102.203.196]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 18 Jul 2023 15:32:30 +0800 (CST) X-QQ-SSF: 01100000000000Z0Z000000A0000000 X-QQ-FEAT: QityeSR92A2qfRXg3FrQmQqMvSVk5k/GX0woxtgnI8GKMc8JJ/TELedYrjeZv U6EyXGmLc38RO8Sd8uq8JlxIbW937WtRKBhIWNTXXDQVYw1pUdgI6C4BZAcLl/jZFviap+P Cg7+olk96JsocCHH32wgG5EAuTiTtOObJbAb9yZUfHuahICfnzkQRM/mYRR19kHZBVC6j/2 YT03SEReuOpmPNkpGg9uGHn5zlGBlqsG4ma8gR1Dav9T/0wcKCveQ+fvr9w7DP8B1bpt0pd R5r4K9OJsVCcGXQ0IBb/t7YC6aDFObfR16+Opy0Wu1Z3Cg1znNBEUo4+zXzZyT/OpZ97JFZ hHj5wtOc3DerxnZ0zi/Sq5ug75v+8KLeK4z1cO+AgAcNqVjfBU= X-QQ-GoodBg: 0 X-BIZMAIL-ID: 6164955508471082200 From: Steven Liu To: ffmpeg-devel@ffmpeg.org Date: Tue, 18 Jul 2023 15:32:14 +0800 Message-Id: <20230718073214.14415-4-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 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: zKzOz/s72C4l Signed-off-by: Steven Liu --- tests/fate/flvenc.mak | 12 ++++++++++++ tests/ref/fate/enhanced-flv-av1 | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 tests/ref/fate/enhanced-flv-av1 diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak index b7ea6d3efa..c2c780daac 100644 --- a/tests/fate/flvenc.mak +++ b/tests/fate/flvenc.mak @@ -22,5 +22,17 @@ 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 -threads 1 -t 0.04 -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..1cfb85da12 --- /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, 0xd484e642