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 9734247AB4 for ; Mon, 2 Oct 2023 04:16:16 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 416CE68CBAE; Mon, 2 Oct 2023 07:16:14 +0300 (EEST) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1A1D368CB97 for ; Mon, 2 Oct 2023 07:16:08 +0300 (EEST) Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2bffd6c1460so240347911fa.3 for ; Sun, 01 Oct 2023 21:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696220167; x=1696824967; darn=ffmpeg.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=wz2lGoKM+k9NgpWzK6vz8Q5rJFYZF6fLYEj3fzC6RqQ=; b=A+kZNl5ugq+64vNeUZZnNC1ehogfFeafFELcpHueMXtHP6qV2TzXsaCgHoNVyRVnPd /XuR8XEgOKGtk4qkYR/CyChp46HmfSOLMRrtpgei0UzNIv3ziAiJP1Syz85afaNRDidW 459rqG1DKEa6A3OYuc+mvs0uybSGH6WA/KRMafJGY3q36WO6rt/HjIy63Ao4RsAuqR6y taRO5kzOnlAE2q14woe2rMN89uoy0gjPlWZ9l52fOsz0QlewC5NERu+/gx+ZGEliRM7p z8OJl3039j1FEOFFCQRUDWmRzZ6pWZB8AN/6UHRwhA159hYR2S69mYAjWPBj0JOTx31H 8ffA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696220167; x=1696824967; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=wz2lGoKM+k9NgpWzK6vz8Q5rJFYZF6fLYEj3fzC6RqQ=; b=wQE2Ncl+zTtwBbz1yd4kUJBK0CrmC4ZQPm3lIl+atfxTNawzH2aQ7xDscd3xsluoma q/qPHL/0QXkALa7Fl/9wf4P9E61vscx1p9JUh9X8Y5fLm6hU02HsRdP+DT19Q2oG9jOm 0fnbVApN68QQEnnFBiLVioAcPw9TSjO6PpkBEJH7gOt9rKvDJarj81whILMf5ci3OaFk 7IxqJiUs7H1SraMTtSMTrGeP2aBSBkhbq07DBfyZq4sW6d3JYtBAvPw2QhXdEBhQ/MrH BwqpIYIXCFZf1aPhKPTK57DGkjDhLq4/MzYq9Y7EopTldIBkRtbhQhDf/1B0ngaR38/R NeWw== X-Gm-Message-State: AOJu0Yw/pNkr9UjT2+a5uN52ECUQJZZGm29GFOTz5ynT/QuWDauP2rXm rzWXSStDctMO/2N5gzn7pxDfeVwVjDxXQyhzjmWRV6NGyK0= X-Google-Smtp-Source: AGHT+IFXgsw4gx8hqszsqQgzKjwsxnOSMOXl9d5eXKR1XAsCRsU+K5QZP31z9g6nbMweTHeFMD3l2wIhIoVzlWgPnjU= X-Received: by 2002:a05:6512:2389:b0:500:daec:280a with SMTP id c9-20020a056512238900b00500daec280amr10105884lfv.2.1696220166593; Sun, 01 Oct 2023 21:16:06 -0700 (PDT) MIME-Version: 1.0 From: Umberto Boccioni Date: Sun, 1 Oct 2023 21:15:28 -0700 Message-ID: To: ffmpeg-devel@ffmpeg.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: > > something like freezedetect,metadata=mode=select:key=lavfi.freezedetect.freeze_amount:value=some_frozen_amount:function=greater > > You just need to export frozen value from freezedetect filter for each > output frame metadata. > > Thanks for taking the time to respond, which I'm sure is another load on top of your dev duties. For completeness' sake, can you elaborate on the solution you originally proposed a few years ago? I am hoping to eliminate all (potentially multiple) frozen segments in one command. Getting from your description to a functional solution requires a level of sophistication (not sure how to "export") I haven't yet acquired with ffmpeg. As an example, I found a python script which uses ffmpeg's freezedetect output to accomplish this in one command, but a native solution would be preferable: https://gitlab.com/dak425/scripts/-/blob/master/trim_frozen_frames?ref_type=heads No point in using that patch as functionality is already available: > > Certainly, this is a reasonable position to take and I'm not trying to convince anyone otherwise. However, if the functionality is achievable only through a relatively more non-obvious, opaque, or complicated means, then having an option that condenses and simplifies and makes more visible that functionality, well, I think that's a reasonable position to take too. In any case, it's moot without a non-buggy patch. -- 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".