From patchwork Tue Jul 18 11:21:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Liu X-Patchwork-Id: 42801 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:b813:b0:130:ccc6:6c4b with SMTP id fi19csp413522pzb; Tue, 18 Jul 2023 04:22:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlFuxeYlSeNvPZYcK/zijgib+vrfalEYT50IVHOyVSBRZGGywPxl+Ovvc4YBXqWiY1vIWRb1 X-Received: by 2002:a17:907:3da3:b0:98e:738c:6d39 with SMTP id he35-20020a1709073da300b0098e738c6d39mr14943631ejc.36.1689679352958; Tue, 18 Jul 2023 04:22:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689679352; cv=none; d=google.com; s=arc-20160816; b=vZoNqlVvFWwPwvQgMGHdmwnPiFrk7za/vJfByNBMjlOVZXRNNWql5iH46sFx6R2ben h5+AGJUpWFB07XXYC9ZUYNGK/FvbgNdPgoZl+UZ2B5S3Bf0e+B7M2TWIj7t2euGUZZUO BTNhPBMu1PQeq85Vo9dRNdFvY18+QcUTu04AWoOonbiu9JXgo/MvhlTJjJV08iqhFoju MPyc27Pi9LHREdaSu+cLmG7dd0CvHK2Q0RLFpGiqTSMPBTqV1BipMxRQPdj3bk57YpGf fc1gN/y9CClEiX8wMyWAiyC6pA8f7+t8zNjyx032GMefzMnKR4QaBhueOyZFoN+uP53A DOxw== 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=EUB1PRwa95gXwkcVrH7xWxAApWudGsC+EA+buwxkHRQ=; fh=UbKzVxiKqWMRVKHrgyn1mg7tw/nuokz5Lr8G3ZXebqo=; b=OJXeaMerUp81fTdM5d7RVi7xtt/M83AYFYdF8Xxk/0J8E5g/HLmcbL+vs4zvMuLmLF QqAAuUUdz43j+riH2yKOZFH+if7w0QvsbroM2ud9AFehYMxigVIGy5e4VM6WpEJJ9vX2 OGBWGSZ2DFYz8wMAm6zEuCux2qgQR/QJcryUFHaE11MCqjd05ZWrslPlw/bC50D1OkJc HtYi2GVFeYFbXG7bWSLTuxVpx1CIWE34WLHp6YUdUJrcCfOD+Lxq/J6IxP1WpgC2P80m 4L2o+QrtLC3p0cdv7akGZjTgwakyVjt1EX+MRsievaXB+9CjvGT6havxPZ/q8zOj+Deh RLWA== 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 lc6-20020a170906f90600b00988907e3aaesi957868ejb.428.2023.07.18.04.22.32; Tue, 18 Jul 2023 04:22:32 -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 DD77968C238; Tue, 18 Jul 2023 14:22:19 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from smtpbguseast2.qq.com (smtpbguseast2.qq.com [54.204.34.130]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8AE1C68C173 for ; Tue, 18 Jul 2023 14:22:12 +0300 (EEST) X-QQ-mid: bizesmtp76t1689679327tnc2j2xi Received: from localhost ( [103.102.203.196]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 18 Jul 2023 19:22:05 +0800 (CST) X-QQ-SSF: 01100000000000Z0Z000000A0000000 X-QQ-FEAT: rZJGTgY0+YNIl9Ee4oyik0REeNFNWBD3CSs2Gq+QqPNJ7lmJaBfxOKqgFZqtT RaEKRZHSe8c2KVRga5kslTzbhbT92kTkjEsrBJIVnsPw0Tt3g8Uhhyj8lJQhlDmEh0pviMg xtakBNEwm8Dc88DA9T3jvvGPnfTl8oX6jD72DG+N7udzQUmk1UyuVbDwKrGQ2v7xcRF11x1 5mmu7Zk9c+eUsO+olk8V2RIHtaVLQV1PwNEgHeG6q7BOa0gQsGUkKL0ozX5h7rvfoGHinfo SZUudWHYeS43sftpRYbqEvlrUVn2a79qo+T+SCN/siePKBrWib990zPMjuERrErFZAdlSyl kd80qq29OLm6FVbzq2Sfg9X+rE7TKiVULNlEZrDInKiaXBO2m4= X-QQ-GoodBg: 0 X-BIZMAIL-ID: 16926161146760171524 From: Steven Liu To: ffmpeg-devel@ffmpeg.org Date: Tue, 18 Jul 2023 19:21:56 +0800 Message-Id: <20230718112159.40655-2-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 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: B9o0u1iu25PF 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..69210c78a2 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 -frames 1 -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 11:21:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Liu X-Patchwork-Id: 42802 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:b813:b0:130:ccc6:6c4b with SMTP id fi19csp413619pzb; Tue, 18 Jul 2023 04:22:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlFIDLRdf+zbSUWS9jfFnmab5/kg8gsGb0F4xAVRALtUvQ0khNdvd34VVs8LbhZI/XYUcBYr X-Received: by 2002:a05:6512:ac3:b0:4fb:92df:a27c with SMTP id n3-20020a0565120ac300b004fb92dfa27cmr17992308lfu.25.1689679362344; Tue, 18 Jul 2023 04:22:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689679362; cv=none; d=google.com; s=arc-20160816; b=LNmywioASqiploZ9d6W+nQo3/nVbCz/JbV41lId29U1p9GR+ghej2z9bZw0FdH/8Kq X1szhqlEyvwHuoyGsf3Ud5Tf4jpCWIO5P3oXk5maItc6ht8rPoXWIsLB+m++gcqTs9tl WaouetpSDgonAIMcdhCT5BgkaLnufUvbC8sFeVdocAX9tXJuYK6NvquOUFqiJnJhx3ZW QbgUlqQg/9+e/N92NmITO60ovyHHCwm/RnR8YuztMkcUB6JRYZFmggz4xFSLUCzg+aYH 4xeD8jleBOVtginNXa59q33sA5iknnqEB7lQfw2T4fg2X02MTdiH+cuWonSerGoN3bhE anKA== 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=6X+thYyMVa8v1YWeFl04GbVO5qvkfEGR8EPrXByGmWw=; fh=UbKzVxiKqWMRVKHrgyn1mg7tw/nuokz5Lr8G3ZXebqo=; b=dV1HViSBrgortIuzOpVhMAU7kK3zIb9te/qLV0bzAJQx6fL4OMmZPQIRj4shD7tKi4 kfnHgZkb33CbwBD+zNsPMIFS691A5M1j5umZGZduNMciAfgi3LPughI6LZU9sp1YVi3L +TNHfBFwO+1B8x7xpYUIbkX4bcSOaqlzq/9+tfV2NT1CAAFkm7+D10sgpllTToWCTPQN fngXRSGNxEC9h+z6BjI1LtCpCk5flcWJuCRGBAudNBfYg2R2/KZSpVH82gqOvS4SOgGU pSROTz1QNXueGqd3WhAcmtPNdGcadYxiEjsaKBETrpIJlb/PBmdbqXfFD5f21j/qI1t6 peMw== 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 w6-20020aa7d286000000b0051e02f601aasi1058048edq.324.2023.07.18.04.22.41; Tue, 18 Jul 2023 04:22:42 -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 11DDC68C3CB; Tue, 18 Jul 2023 14:22:27 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from smtpbgjp3.qq.com (smtpbgjp3.qq.com [54.92.39.34]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AD0A668C173 for ; Tue, 18 Jul 2023 14:22:19 +0300 (EEST) X-QQ-mid: bizesmtp84t1689679333t9xi9sqw Received: from localhost ( [103.102.203.196]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 18 Jul 2023 19:22:12 +0800 (CST) X-QQ-SSF: 01100000000000Z0Z000000A0000000 X-QQ-FEAT: gTLdG/Pttc1QbzvnGF47ZSPmEuKjfFfQvu87iVRqhw6f0/eMpp44HkdSkI2KK NekQ7NKC1UJTEI2w3Mu59MQo/n45GKOUcSVi1StTKbdv1C3SZegG3QAZh8GdD/+gW70NuO0 9OWsQ/N1S+u4W+1vwXTr9cLA4A/umXGoA8fvj/GSWtM/N/HB0zzR3hr3aJzMGJB093v/ywz LFHO2DBZWcncDaioAyEXYXmsktdIxqP3Ol1TCWz3w6TDuwFLCyRAlah2IITjrXUfmCwGyOx H7Ha8CBh7AAbmmEdAGe+r9nQ6PjnBESPX/klcVIWHAHvGoWT48rE2PgvG10RNGG3vlYpsf5 cqnBSe2I+F+6USMUz/fKe/6RkpiYByZ2DRMv9LSGtmpi7kpyYYLk2GtKmCQNA== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 4210499545985023800 From: Steven Liu To: ffmpeg-devel@ffmpeg.org Date: Tue, 18 Jul 2023 19:21:57 +0800 Message-Id: <20230718112159.40655-3-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 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: bkCvhme3ddsi 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 69210c78a2..dafad26734 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 -frames 1 -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 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