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 8828447F59 for ; Wed, 6 Dec 2023 20:16:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D210068C5BA; Wed, 6 Dec 2023 22:16:42 +0200 (EET) Received: from nef.ens.fr (nef2.ens.fr [129.199.96.40]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C95D368BDB6 for ; Wed, 6 Dec 2023 22:16:35 +0200 (EET) 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 3B6KGZQJ012556 for ; Wed, 6 Dec 2023 21:16:35 +0100 Received: by phare.normalesup.org (Postfix, from userid 1001) id 164D0EB5BB; Wed, 6 Dec 2023 21:16:35 +0100 (CET) Date: Wed, 6 Dec 2023 21:16:35 +0100 From: Nicolas George To: FFmpeg development discussions and patches Message-ID: References: <20231206103002.30084-1-anton@khirnov.net> <9a6f5c0-35b8-b424-1fc-591ecd618e73@passwd.hu> <170189136997.1197.12625006990874818639@lain.khirnov.net> MIME-Version: 1.0 In-Reply-To: <170189136997.1197.12625006990874818639@lain.khirnov.net> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (nef.ens.fr [129.199.96.32]); Wed, 06 Dec 2023 21:16:35 +0100 (CET) Subject: Re: [FFmpeg-devel] [PATCH v3] ffmpeg CLI multithreading 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="===============0470136384156928822==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============0470136384156928822== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fPHQMeth3CrSSYYb" Content-Disposition: inline --fPHQMeth3CrSSYYb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Anton Khirnov (12023-12-06): > Would guess this is caused by overhead from tons of tiny frames. So > 1) generate larger frames > 2) use -filter_complex with no inputs instead of -f lavfi to eliminate > all overhead from demuxing, decoding, and demux-decode/decode-filter > inter-thread communication Or maybe the threading code is just very inefficient because, just like the BufferRef code, it is riddled with unnecessary indirections and dynamic allocations. We will never know because your attitude made sure nobody competent looked at it. But that is not an issue, because you will ignore Marton's objection just like your ignored mine. --=20 Nicolas George --fPHQMeth3CrSSYYb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE6ooRQGBoNzw0KnwPcZVLI8pNxgwFAmVw1qEACgkQcZVLI8pN xgxfHA/8DK7kQLj8XqdAXIErFUTVuUZ5V0uhODPMeiUsKlKQa4yiv9R5RXzStvM7 8nZQQhfMT9vBt/GLI5GG6Ez9L+Qg8/ZAgRTnIkDbkaw6TW+WyjQfEH/0HfLJlRb0 /X3c9LlPb90xB9bMtfqrrXjKtbm/VJ65i1K0ntgFlt3ddGfqStmWWMyzl893496y bkR5JLb88NQcCFSPHhaSeLFJ/1RY9Ul/gDGFwriv4PRSs8jxgrdBe1JzFoKmc+Lf Km6ggNAw8zyOnSsEMuhgnxPtLYplgOdXdEKbXHfjoHSJ7sgT5jw8xPYJQ5GHWC5Z uRn1RZgNHoUN9aGP6zGT1QOX4Xml7VbCc4RCz3pF7cz9ZLULgNo101tJNBjj30OS hn2UY8+l4cGSHFMqV6KigEd/og3fzZNGB+OdoR9T7SoIE2fQvc58xQ2YKb257gYW fypi/Lt8By5ahSF7dyjzEXezNvqCXzuFKnMWtsbjNIHfEBu713FzWviSBE4brkmx KtLSAWJ+fqncG7xvkj5+wkKMMCGnY4EhT7Ad03Fo13u1uTc3MAvKCxfTIGRmkG0F rRzeE1L5PJ16xEP8d+SQBgYYg7OLThAs7z937hBQ9NKPs5Yuzk2/RsJSw8Q6kaLk Am3bJ0NAiYO6ab3PcR+IksqloyWHpeSB/WJuBEwfsCRg5DErWbY= =WTaJ -----END PGP SIGNATURE----- --fPHQMeth3CrSSYYb-- --===============0470136384156928822== 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". --===============0470136384156928822==--