From patchwork Wed Sep 7 22:22:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 37748 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:139a:b0:8f:1db5:eae2 with SMTP id w26csp4178739pzh; Wed, 7 Sep 2022 15:22:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR7jokaRrQ2YzG4W29LxkBZ/7LPRWYe02OTjArk7pkBtKfb2vEvTRQwCpzLbmb4ZUGlP5bib X-Received: by 2002:a17:906:d54c:b0:741:a19b:636f with SMTP id cr12-20020a170906d54c00b00741a19b636fmr3806533ejc.476.1662589377689; Wed, 07 Sep 2022 15:22:57 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id j1-20020a170906410100b00741a241c3f7si399503ejk.113.2022.09.07.15.22.57; Wed, 07 Sep 2022 15:22:57 -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; dkim=neutral (body hash did not verify) header.i=@outlook.com header.s=selector1 header.b=sw73kulF; arc=fail (body hash mismatch); 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4E45468B945; Thu, 8 Sep 2022 01:22:54 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-oln040092075055.outbound.protection.outlook.com [40.92.75.55]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 320E868B6F7 for ; Thu, 8 Sep 2022 01:22:48 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QoR8brw5DirRA3QnjMThzKRu77s5bYproEDJt+e21gpyP0BztpGSlkFb+yRy4Ysg3H+8QpKV3xW1nGl1hIk9azuZBZyhQxnIL8CrhE7l2Y83KN7gW2xd6M0ZoUoNXQwvDQT7OIHTX3/DtCvjj5HYasu2XZbsaz6SGIdxPWDOA0HvisnR8bNrhd79boZEakmW3D3NEWUhGWF9sbYo7mx2HapAZyvDLskxuoOCRC9eaVNcVKIoeAtzcw83GNUIJ8M9kY8bAUJ/LyERqRe1gi1SCrFpiKD7b3jkRZdQw7hlCoAdpqb4orQaINbg7sAyCIt7VgSvWFTk1qQgvvOcsevOCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=N5C+JIEfR+RnylWHPUGAFlfgH5GIdb2t8AmBdzjtvnk=; b=ldHUz7R3iug1C8o4k3vQl/WSEbr0duqCm3cRvX5Pnpb11lGKM5dO1gftx02OF4Jcl0N/6b3RM/9jHWMgMLKMmpN+1uphllQaPcisD2ZzF78lc0dh25nEULsc4h6bNgHsBH5uNiMCQR5ADOkoY4H3ebVq8pikf+G3ymrLou9kgdvC4mbl5i1onFbsdQBxivoIC/e5FFO4ELQ1TOBHV7/ju79vizqmfdzFUqYZEjuFMnxl8JjJtWJ4cOB0H8cODFR3AqQTKAxGilA/sumWXc0u4KZAxt877QgYBaCovTLlXGHiArohOlATgpgxrbptp9fo1BVotC4cOlhLsH9QTcw8Aw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=N5C+JIEfR+RnylWHPUGAFlfgH5GIdb2t8AmBdzjtvnk=; b=sw73kulF9CKKu8IwdwY6riz2UvbMst2zqf4ojMNSW/I0iPwUJAJxe0t67fz5IPj+hU2h0AsyyaVW910T4CA2GsrHBxZ5CGg/eXDeF6vCmuVkXZu8jl1zlG05BulmLOygZSHJMNuz5gRe3GnmcyyGtLZFQ/4eQ/ijs5Kw37acMG8hKyHGo2Uv1KvHzUizzDdbQxG20TCm8WGBRJN1SIpZD7xdaJpGPSFyD+rSeXetaaMelMIx35BJOvkvpXvGcIxqvQB7n56I9axeBKIOkjMqYeyBh1CyGd0QwgitAmYVMwT59DKf+ylct2O397SDJGlbG8GnfySMu/tenbY8aDE6GQ== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by DU2P250MB0080.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:271::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.15; Wed, 7 Sep 2022 22:22:45 +0000 Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::c3af:c609:301f:beab]) by GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::c3af:c609:301f:beab%9]) with mapi id 15.20.5588.018; Wed, 7 Sep 2022 22:22:45 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Thu, 8 Sep 2022 00:22:40 +0200 Message-ID: X-Mailer: git-send-email 2.34.1 X-TMN: [Q3eD32d30k1tFNCoepQt+dIAm0RhpNw45i1adK25Fqk=] X-ClientProxiedBy: ZR0P278CA0194.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:44::21) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20220907222241.1914011-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4095ce80-c6f3-4844-26de-08da911f7d0f X-MS-Exchange-SLBlob-MailProps: AZnQBsB9Xmp16suNY6DpRMq6J35pZ6igOqx591izTr2nVK78iTWh6+VHuuV3kFTzqRdO9cU7KqXwi9QNW/0RLm2V1Nfnd5zgbi8er0wp4ANjknpTwJT/cYiPOYXNfmUq1ulMFz6YRRQaRNWoUt2Q70SSN3OKkfFRShff9Ox4o+o8G0Vkr5Enp8cXMxX6VQqMdtZTFdg38goweKGDS0Ngvai0tEJBHO23n/J1UQLitVPVDG+2210TKn9No9OumELYVB4Y7Fp2dVdchEz4oH4AJodHs3sTC+h0Yia8hFNpgH41SoOhi9h1QdrR2tV5bKOnmJzCeRT2F7cyKRXLTof3cbH+ZD5zmyR3dgB4xNlOZgksedb+9/URK9lK4+I6KZZ43QhQxj9XNzAQphWSDy8rQXICPzNpCKdbU4Z6HpPTAnEy6/jSjyi2worUvw4rt3rbg7DlRGjOV8Hbao/q+d/NpwVQ7MMDvlWr5RKqA6pJFsqg4uovPFwW1Ka+t1Hnx2A78wtJbFaC5nURSAiCFa3uGljLeZsnHczLxako2b4iUWFMs7mfoHmr7wq+QyQMPZF6pjtQKf5zfko+5aekl/7eqCo8wuVcE+tULo3fL5mEunW7jh2kmXqFPZgd//mvXkIvmNRTWnFmfkKehPRB978ZtgN/L+JBobyfE1MQWtB7O93NTNHDsBoRbAs8bDirmVxiWTCKXMQPVWYYPMe5qgqWknCpOtZE71MdItHuGmi/z9lv2I6S8wAmD0j6blBEZONfEzXVfPSkM0c= X-MS-TrafficTypeDiagnostic: DU2P250MB0080:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kYugs1YQlJlHMMDNOFSlp1oaFLhuTeIpt8Ki/ov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ZwYS++XFPwN1tZud+SmxKuzgsmKA3s3IkiWwIODyrznTZAbL8nP7V1fV7p7rNCaIrGyc+lP2FNoa3zCwHTAHA3ZrAHdua9HyCi5NJtG6Jh08+qL420bfFI7hJantY4dWF9k3y0ysraUHFzI8xcfJ4kRDiQ7xW/HizMTrvMPRY1PwWBrlXBGvvaZo0yGRuDZ7LuUClRrDhyIdKNj5RwB/l2GUdjzVkrxa7WZ87GNFf/pKDC/K31dnAkzESht7gizsCTwvwdQ7wjv5KhsuYVsqYBmOGnE00qSs9j9Myh5XXdO2uBaf20Bl9GJ4JasJG1q5x5pj71LFkh1vJPKR9ApiVi4nGKUu+juPIEhI9kRjAOPHRVEp1vxfCNK3GTCeLVSV3HZlqAir+ZSdlSLcahSVXbdQRBqkxyZQM7/eFLmGIHDwjEPOB+ecrPmzyFXsIkkW5X7HmzNHnEa4X0JZ8CICU6ZR9jJtpetCKNmU0MtfY41yz8qxtTaTDr5yVL6UY4J3L6M0LKxMk3GplL5KowTxeIusMqeILFa0EyHUfQyuk8dEX9jaz0fcSosRmbmTaCpxAdrGzJxtgJx+6fj7N03/flVcx/CdRn9ABTwKF1yhXdO+NmKoK82g3XoPrkxDzQppU+8XO9g0O/gN0xcDIw1XfrFYZT93IrmYE3eObI8OhWZ+mpM4cB1RNMHy84BBWZVsg4cu7M6oViMPQf3LGOehsfytUYfSknI6iMuJ+Wl9JWieEgLuU0GjSGcimUBFGKMu55g+JOHpr7RhVkwiQqzKRsSI5LQmGhDg2Fwfd9iJ35Keyf4g38I2C/tnQfb+4jZqzJiYqQUSHliSgqvyDE6HaoeB2zsBR/e57yvDh3qHIWKP64p9mZ8dAmdvny1oySZNfQ/IGye7OXR7YDEXG8/X/Ue0VPpcR0YN9k6+ X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4095ce80-c6f3-4844-26de-08da911f7d0f X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2022 22:22:45.7160 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2P250MB0080 Subject: [FFmpeg-devel] [PATCH 1/2] tests/fate-run: Allow to set input options for encoding pass 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: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: ZV63aUgavmiu This will be useful in the next commit. Signed-off-by: Andreas Rheinhardt --- tests/fate-run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 4008bcbc16..61cc59acc0 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -247,12 +247,13 @@ transcode(){ ffprobe_opts=$6 additional_input=$7 final_decode=$8 + enc_opt_in=$9 test -z "$additional_input" || additional_input="$DEC_OPTS $additional_input" encfile="${outdir}/${test}.${enc_fmt}" test $keep -ge 1 || cleanfiles="$cleanfiles $encfile" tsrcfile=$(target_path $srcfile) tencfile=$(target_path $encfile) - ffmpeg -f $src_fmt $DEC_OPTS -i $tsrcfile $additional_input \ + ffmpeg -f $src_fmt $DEC_OPTS $enc_opt_in -i $tsrcfile $additional_input \ $ENC_OPTS $enc_opt $FLAGS -f $enc_fmt -y $tencfile || return do_md5sum $encfile echo $(wc -c $encfile)