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 3A60244559 for ; Thu, 15 Sep 2022 09:41:42 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5E69568BB75; Thu, 15 Sep 2022 12:41:39 +0300 (EEST) Received: from nef.ens.fr (nef2.ens.fr [129.199.96.40]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D8D8268BAAE for ; Thu, 15 Sep 2022 12:41:32 +0300 (EEST) X-ENS-nef-client: 129.199.129.80 ( name = phare.normalesup.org ) Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef.ens.fr (8.14.4/1.01.28121999) with ESMTP id 28F9fWk0019442 for ; Thu, 15 Sep 2022 11:41:32 +0200 Received: by phare.normalesup.org (Postfix, from userid 1001) id 0F35AEB5BC; Thu, 15 Sep 2022 11:41:32 +0200 (CEST) Date: Thu, 15 Sep 2022 11:41:32 +0200 From: Nicolas George To: FFmpeg development discussions and patches Message-ID: References: MIME-Version: 1.0 In-Reply-To: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (nef.ens.fr [129.199.96.32]); Thu, 15 Sep 2022 11:41:32 +0200 (CEST) Subject: Re: [FFmpeg-devel] [PATCH] libavfilter/f_select: switch to activate and properly handle EOF pts 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: multipart/mixed; boundary="===============8302358651701991776==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============8302358651701991776== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Utz3llQLvFlV+7T4" Content-Disposition: inline --Utz3llQLvFlV+7T4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Li-Heng Chen (12022-09-14): > Please allow me to explain again with your example. That's say we have > an input with 20 frames (0-19), and we want to keep prime number frames > with select filter, -vf select=3D'eq(n\,2)+eq(n\,3)+...+eq(n\,13)+eq(n\,1= 7)' >=20 > In the activation function, select->eof_pts is updated to n at n=3D4, 6, > 8, 12, 14, 18 > However, select->eof_pts is passed into ff_outlink_set_status only at > n=3D20, since > ff_inlink_acknowledge_status returns 1. I understood that. And I argue it is wrong. > Regardless of my logic, this behavior looks weird to me. In my opinion, > -vf select=3D'eq(n\,24),fps=3D25/1' should produce the same result as jus= t having > -vf select=3D'eq(n\,24)'. However, select=3D'eq(n\,24),fps=3D25/1' genera= tes > 22 identical > frames while select=3D'eq(n\,24)' only outputs one frame... Trick question: testsrc=3Dr=3D25:d=3D4,select=3D'gte(n\,0)*gte(24\,n)+gte(n\,50)*gte(74\,n)= ',fps=3D25 How many frames do you expect on the output? Regards, --=20 Nicolas George --Utz3llQLvFlV+7T4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE6ooRQGBoNzw0KnwPcZVLI8pNxgwFAmMi80kACgkQcZVLI8pN xgy0jw//Qd+UDEy0cMuSprY/Qea3gtyd2DfXdcT17fMpz+DEz4wUVxMQ04/vb8x6 jKV5o2g/Wxk5oNxG5+EEZRxFvRGuzRF9HEbpnnL4YrTHhraI9zB9tuz2DiRNYMSg GN6Eg40ldaQ68mfhYu9h3OEjX+ahzE7hit/03M3rzXv8KAYVu6YDcDEMifCxH+qy ApplpqAxD92+GIriWCPaIeFPa1tr2C0jRTxfJQJ3MCB83o6NPPV6RypPVvWZ3vkh Xl7S54E2Xx3J6GTMX1fZyuCjIddieEFASRGAcvzVsqT3q7F2V6XcJXMtTjjE0J17 PaJUQ1T2+oGzaWLI8DLdqaGmykVTWOAZkhVlWNt6/l9WqpgIaAhp9Eg39h3/KshJ uCtN0sl6zmGheEDn3TP5T6Y73Daq4kM+aRxYP0eun9PzFBPqe9fGQ+F8mfMfpSRz rudDI7Uvt4FeynTud4B63YSpbqGJa3X8Z573gU1yq30vs6DfwO0ckojjNY89F+Dv lwTm+4USAza1qPgLArcVU+FIaNK+kjVg5V4QNNXTUwXT6dOq8l8/o08eBChGj40p 7sJoHEFc5GjgAR7Rxz6N5dN2Kx09u5qds/JGHPBeWxWPXpwiRp3EPr8ozTq6ge1b pQ7MuCiTNZIhTSBTXBGqegpspvRpMDlih0vjmeytDJxS+IHhNZQ= =S5HD -----END PGP SIGNATURE----- --Utz3llQLvFlV+7T4-- --===============8302358651701991776== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============8302358651701991776==--