From patchwork Sun Sep 18 14:01:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 37998 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp706107pzh; Sun, 18 Sep 2022 07:02:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7YrvyU0wtiDFbO2G0d9yERLKkE4bTvLmHAHd/k23tagI5ywCZABhLUh3oNeKopqineOWp4 X-Received: by 2002:a05:6402:1b06:b0:44e:a073:1dd8 with SMTP id by6-20020a0564021b0600b0044ea0731dd8mr11228698edb.391.1663509720061; Sun, 18 Sep 2022 07:02:00 -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 g8-20020a056402090800b0044606da79b4si8747442edz.119.2022.09.18.07.01.51; Sun, 18 Sep 2022 07:02:00 -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=DE0TruS0; 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 7C16968BB00; Sun, 18 Sep 2022 17:01:49 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05olkn2109.outbound.protection.outlook.com [40.92.91.109]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E5F9D68BA48 for ; Sun, 18 Sep 2022 17:01:42 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d6Gk/I8CjrSRFcrPE5MhzqSbhHXCUJG6iHcEaTxmYT5KFRAFBiUeVWsA/1xGpoRdijkCjJCJhTvmDUbasZmHk/Khxcqi0CbEntQlrN9ymzL071juykkpFAhXs67VmxU2GIe3rtiEV8sfjyeW2nIEvHgWS2ukQXEQqQOrF3FL4aJ68CJlO3uWwIjCIp8dzy941GUknj9lf7kucRKlArdKW20gVbaMDdwBtWzM10iZZeLE0dUPxAdrq7SXREva2pmi7VdLB/j5gdF9m7W3e5aooF0hn++fS/nkBSLJie2B5uDKcNChfgT3YfZvikAFl13aaCy1nEZZgEXgGRO46nB0aQ== 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=/oLFoLn4Y9JOdJeRpvVqfxUXcEtwe1Oz/SzXdcQfOO0=; b=KznMsHl8fmpfNAFQcqDQb14togDAy5YeZuhiJrgX2yQUZ2OuK4whfQTvnTW7A+qGM0zd4F3ve+BGUCsy58rUFuPZ1+IR1iR0Nx+qovsUIAbU8ItlB6Gx1Jl6LUJnq2011bD6cW1Z02N8RUc9+8iscUXfdPaPBfQ+pLvMkOU0kOdrH7rndvJ/dyIT1CbXdNEO2k4yHcAKtJ9LiAHdcJwokg9fSZ/CAESub+dpZ8oi8Pte9bhn1jDQk0Ux4n2pNOrYFRXgOS5AwhMgFphFHI2fsl+sOUzdGZEGPoB7xEdkkY+Eym6yS7KrAxfuqW2uVyS3/wbMo8Vj2veRX/r0OaoUeQ== 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=/oLFoLn4Y9JOdJeRpvVqfxUXcEtwe1Oz/SzXdcQfOO0=; b=DE0TruS0eGqmxknXqmM9DWNFmIUVJm4vUXbNUp1kDufiNrj01xQMJqahl/1A/FymE7DZssZF5OYZPNmIwhaAhxrxUlv+PkGEE/Sr5IOLfo1Rbic7tv5DFxtK7QM31npkde2iyGuDtHWSufuoBmA9eHpw9RP5I+atkhxcG/vels+5Um6DfU2xZmc8nfdvZh/FgiVKt7upz9QX8pkopEu5XCYyn2OPHSS0UGY2hlKBKEv8KdGsuhR1nfsCGNY+cCFFJrJKDotWnrIGjOWZCTOJfuvrcooWxM3F6gnL+bZUTz4bjib+JQ15Sd08jPK9PZ25GEnY89ydeB82GBvDI2lKbg== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by DB4P250MB0830.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:38d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.17; Sun, 18 Sep 2022 14:01:41 +0000 Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::f3f2:4362:56:4785]) by GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::f3f2:4362:56:4785%7]) with mapi id 15.20.5632.019; Sun, 18 Sep 2022 14:01:41 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Sun, 18 Sep 2022 16:01:31 +0200 Message-ID: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-TMN: [d/qgbPMeIOxUZMJbClzGpjhNyOa8aG14d3oWX/72vlk=] X-ClientProxiedBy: AS9PR06CA0205.eurprd06.prod.outlook.com (2603:10a6:20b:45d::31) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20220918140135.1678847-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|DB4P250MB0830:EE_ X-MS-Office365-Filtering-Correlation-Id: 476833f1-6f55-43cf-0ce5-08da997e4fcd X-MS-Exchange-SLBlob-MailProps: AZnQBsB9Xmo7HDJh1DrTtO7tXfVZEHtrPq4y6aNLm0UMD+YcoVcz6IlqteXOG4RzjKqaQqoVPiXLzMQ7VkdlSw2O2HI6pSQ34RCKGp2SYT0+SV1JBdzAaUwkZ6Yq6T/2RtnTlWJ3M2Wd0Pr3QkZjq5gNjZk4MS/jnVFt7/ke0BNbodVmF+if+jW+GOjRnG7ThR5e40oeM0+n0iCkqtRGj2PDJgoTDjH4RTUjUS6ZixidSRGda8AOK5YQjMR5Woin62tfCaOxZo5LREvoCaI9G1oXU3LdBO6KppWCHVPJjWDUorpAD7OWT/rPeqY55RpXgeIDd3VKyav8BVCdDujqX+NiUo8qR7N/M+I+dQTBkFBSXA+dyW/c8Dk8FbMxTrvyrbYUy8cVR4ZlSLZIuoGmKJKlaC10kNX+L15Ew+yXT9hNBdQbL41JE9IEOnXr736UdQ07YjYxTOHqJuk5PZFpC9f8cx6YEAmrWQaF/M4bfdvW0XufxAznlNFP7Y3QHKaU8TymSgbFTuZUVUtNXAhuc3PirY7irtDpdIs8I/8Tis8U0jLWc3U9+U281h1vuw++uFi/Lsi0VIue1sakRragkfwEkDbGWTPQlNc6hEeiZxn0VrR+/dCLTuOLp9ktFShisLRNfIx7576lkgRZh765PUD2DTttN0rG5K57JBnUWu7qSQv5IPy8TVX0t+tp+78uwMplbuAk+R1HTQdnsI30mWfrcbkCCsAkC3kUtLYnjuNCwh44Ha3yGxwshqfLYa4HQgVndGCXkA0= X-Microsoft-Antispam: BC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-Id: 476833f1-6f55-43cf-0ce5-08da997e4fcd X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2022 14:01:41.3238 (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: DB4P250MB0830 Subject: [FFmpeg-devel] [PATCH 2/6] fate/ffmpeg: Set max_delay for shortest-sub 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: jEMiVznlQ2A9 The aim of this test is to show the interleavement of the file generated in the first pass; so make the interleavement queue in the framecrc muxer in the second pass as small as possible so that the framecrc muxer does not fix wrong interleavement of the input file behind our backs. Signed-off-by: Andreas Rheinhardt --- tests/fate/ffmpeg.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak index c14eaa4c8a..d87639c596 100644 --- a/tests/fate/ffmpeg.mak +++ b/tests/fate/ffmpeg.mak @@ -105,7 +105,7 @@ FATE_SAMPLES_FFMPEG-$(call ALLYES, COLOR_FILTER, VOBSUB_DEMUXER, MATROSKA_DEMUXE fate-shortest-sub: CMD = transcode \ vobsub $(TARGET_SAMPLES)/sub/vobsub.idx matroska \ "-filter_complex 'color=s=1x1:rate=1:duration=400' -pix_fmt rgb24 -allow_raw_vfw 1 -c:s copy -c:v rawvideo" \ - "-map 0 -c copy -shortest -shortest_buf_duration 40" + "-map 0 -c copy -shortest -shortest_buf_duration 40 -max_delay 1" # Basic test for fix_sub_duration, which calculates duration based on the # following subtitle's pts.