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 BD26347ADE for ; Mon, 2 Oct 2023 06:06:59 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 52D6F68CC84; Mon, 2 Oct 2023 09:06:56 +0300 (EEST) Received: from mail-vs1-f44.google.com (mail-vs1-f44.google.com [209.85.217.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F3FFE68CB4C for ; Mon, 2 Oct 2023 09:06:49 +0300 (EEST) Received: by mail-vs1-f44.google.com with SMTP id ada2fe7eead31-45281e0b1cbso7638207137.0 for ; Sun, 01 Oct 2023 23:06:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696226808; x=1696831608; 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=aSMz5oGMA3IFOT1jp08pzaVonpzfE9vmLi46Io02rpw=; b=KHuhW0ey0yZ0osmoRucVED1tJWNeGSliL5fotfzM7tTUeJdVYhc08PtKwbxMbdBASl fhAM15QZbyFEEsk6JMUjV4awImJfvtIAPh8Ej24tZgUisvEF/08EB/1fk1m8wfMSMQri nn0AQsFhsxqOxfnQUdeTbxw8FZ0kuBYmWF4XlyrWGBfERtWYoklK0RMACiASniAZ0Gl8 dnZuSnVXrsts1FFFCruvvTTpnoBvHS9M22b31KKV5Dke1HOC1GTKQlChIpNzdzO79d/f MDthfg/4s+PvibY94PguFuQVCUk2xnloHyi6v8iG4ZgZj5MRpRnDe/cfc8JTzdcKiMwG fw2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696226808; x=1696831608; 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=aSMz5oGMA3IFOT1jp08pzaVonpzfE9vmLi46Io02rpw=; b=uwf4OKHDuEBY+f+QlE8VzIzggutS4/t48adVt3Rz409ky8JZugqw+ndN4p/5iYvIa+ +4zXB2l2oiVALQ/qNHIdRi0R8NHYp1iIoX/7jYhfI7xt2DYQ0Ypx9mC5xbci+kVBaHCk rQzX3sStuLkN4RVmIOjxrN6nItVWqKIC98/MAknswNqf72+WZP5aJs3Ko8pLHhLR8Bda vKLkpR82Tz7aRjZoKBovJlnAtw3A8m5LjiYZHaXSkhHhDnslhUS5xGASqJzH+6kG1jPd GM8vq/jBQVMil7+E9xrhDYvlxqcHMfBt66rOTyczh7YCO0SzPKzzDs1gta4n18lmdaJY vuXw== X-Gm-Message-State: AOJu0YyhVX7hkxnE2d0IPWHPa8AaAt6zYO/3VU8ieT1nCibz28L4fno6 7suLcNRKvieUNtzCLSPZL+z3Mbhm2iw+50rySiqddkNmwpY= X-Google-Smtp-Source: AGHT+IFfd2mF7+8KBPWWUNm869ZEatxO3s4XXzB8Tpq9MbbGoYcHb9u8S6aqyBBUNygkfNO6dsXAa9nlzKSO6m4H1ZQ= X-Received: by 2002:a67:ef9b:0:b0:452:72ec:27ea with SMTP id r27-20020a67ef9b000000b0045272ec27eamr9036536vsp.23.1696226808297; Sun, 01 Oct 2023 23:06:48 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a59:b34a:0:b0:405:b46f:a850 with HTTP; Sun, 1 Oct 2023 23:06:47 -0700 (PDT) In-Reply-To: References: From: Paul B Mahol Date: Mon, 2 Oct 2023 08:06:47 +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/2/23, Umberto Boccioni wrote: >> >> 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. > Everything is written in examples in documentation. Even written full example here. > -- > 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".