From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id DED8B47236 for ; Sun, 1 Oct 2023 12:13:02 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A246968CCCC; Sun, 1 Oct 2023 15:12:59 +0300 (EEST) Received: from mail-vs1-f42.google.com (mail-vs1-f42.google.com [209.85.217.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1BA0B68CCCC for ; Sun, 1 Oct 2023 15:12:53 +0300 (EEST) Received: by mail-vs1-f42.google.com with SMTP id ada2fe7eead31-452527dded1so6904218137.0 for ; Sun, 01 Oct 2023 05:12:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696162372; x=1696767172; darn=ffmpeg.org; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=MkrG9eL6poAssoNj0Wc4pzmt2rGn18wNbmgCO/CssDA=; b=QsJFtDVMNbM03jY4rg8Dt4+sm9fWuD8YWWimWekx9FOWf0MfiKqa/xoh4PX6k2yRO7 CLjBYgRA4UKeTqZNnwoD6UtLQ1cKt4patPSV2L8s48DBRHDnMByrWZv8f9GhPsI2cMfo aX5z639sQd3uSO4XSy0TAWxHQ1k9uonnTIf0JnMZ9dX+KzcS7zM2tarJ3XrdnghKNEMu 71ish7L3g7/PS1AhyBUclJGRmzNpvVCShAS2ZhkevOiwFuPzlinuTylkcbQONIlimFtp zIUrc0+gGUX0dfaIpSEC/+0uZKOT/LYTsGxDWvjGnrurjcTnzUWuLz4wmsqLHeAlwhq+ otiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696162372; x=1696767172; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MkrG9eL6poAssoNj0Wc4pzmt2rGn18wNbmgCO/CssDA=; b=jOxef6PFve5uvhqSrZWoc7R843taKukamBZigdtMcvCbrAMjchOlWdKSQ1jQIkXPqG P4uzZL8fFZV12PLaoLOoYGX+7kTFnmFyyNgQxvSZmZi3YO1rgcPhWldJ9SGtycl/vWCy QappxrPTHAUEJ1GjgkBcdOQxwC1+KXyAQd0/f78/5bE21j67bVIoeUhlTOWTPDuxOGFK TT5ZdMT0QOwkBf9Jt1m3uEs6jQDrCyNpBGlSuozGaaZVS0bD3wsaZGm7McSO0tcOJYR2 D7zN7Fp2kNuKZ/CK0m6O1gG+LZp8AxA64SaTnOGjb73WNTGl2J1W7MzvdU8X3mm4o0km LApw== X-Gm-Message-State: AOJu0YzWTiBYWhAQk21EdUbI2+OhusbXsmgIvQBulVP82jOZuhLpFWob Rjj7Ol1EVE+gqMp+8VaIkr0/zJLNQVS0yWlGHpiApsvvHD1xEQ== X-Google-Smtp-Source: AGHT+IG/VXejmE1moBIFyr7bo97MBC1z4XiXGf72dSAscFOLX3DEuRkjWr22l/wLjeb/ReFOto5MklO/7lu0vvqahDI= X-Received: by 2002:a67:e948:0:b0:452:6d5b:f4b9 with SMTP id p8-20020a67e948000000b004526d5bf4b9mr7369682vso.12.1696162371757; Sun, 01 Oct 2023 05:12:51 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a59:b34a:0:b0:405:b46f:a850 with HTTP; Sun, 1 Oct 2023 05:12:51 -0700 (PDT) In-Reply-To: References: From: Paul B Mahol Date: Sun, 1 Oct 2023 14:12:51 +0200 Message-ID: To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [freezedetect filter] discard frozen frames option ever added? 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 10/1/23, Umberto Boccioni wrote: > [Apologies for the cross-post from User list, but in retrospect, I thought > the post was better placed here] > > I'm trying to remove frozen frames from a video with gaps in the input > stream, and the freezedetect filter appears to accurately find/list those > sections. > > I was hoping to use the results of freezedetect to trim those sections of > video, and there was a freezedetect "discard" ("f") option in the dev > builds a few years back which appears to do exactly that ( > https://patchwork.ffmpeg.org/project/ffmpeg/patch/20191008035428.19474-1-lance.lmwang@gmail.com/#46233 > ) > > It doesn't seem to have made its way into any of the builds (including dev > branches) as far as I can find, and it's definitely not in the official > docs. > > To my untrained eye, the patch looks complete, though possibly abandoned. > is there any chance of it being incorporated into the mainline source? It > would be quite useful. That patch is incorrect and buggy. The solution is written bellow that patch in discussion once you real all text: freezedetect,metadata=mode=select:key=lavfi.freezedetect.freeze_amount:value=some_frozen_amount:function=greater No point in using that patch as functionality is already available: https://ffmpeg.org/ffmpeg-filters.html#toc-metadata_002c-ametadata > > -- > ub > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".