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 CEA884885D for ; Mon, 18 Dec 2023 20:02:26 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E48AF68D022; Mon, 18 Dec 2023 22:02:23 +0200 (EET) Received: from nef.ens.fr (nef2.ens.fr [129.199.96.40]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 53D9E68CF9F for ; Mon, 18 Dec 2023 22:02:17 +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 3BIK2FVv028588 for ; Mon, 18 Dec 2023 21:02:15 +0100 Received: by phare.normalesup.org (Postfix, from userid 1001) id 913FAEB5BC; Mon, 18 Dec 2023 21:02:15 +0100 (CET) Date: Mon, 18 Dec 2023 21:02:15 +0100 From: Nicolas George To: FFmpeg development discussions and patches Message-ID: References: <170245852534.8914.12550775596488175101@lain.khirnov.net> <170254011817.8914.11563902500718557350@lain.khirnov.net> <170292082501.8914.10077474434835822133@lain.khirnov.net> <20231218195839.GX6420@pb2> MIME-Version: 1.0 In-Reply-To: <20231218195839.GX6420@pb2> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (nef.ens.fr [129.199.96.32]); Mon, 18 Dec 2023 21:02:15 +0100 (CET) Subject: Re: [FFmpeg-devel] [RFC] fftools/ffmpeg and libavdevice/sdl issue 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="===============4420198455237693647==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============4420198455237693647== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZIPOWZq832oOelv8" Content-Disposition: inline --ZIPOWZq832oOelv8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Michael Niedermayer (12023-12-18): > I think the first question is, does this actually need > "massive hacks in ffmpeg CLI" ? Thank you for bringing some sanity. > If you ignore the recommandition that SDL should be run from the main > thread then iam not sure what change would be needed in ffmpeg CLI at all. I must say, I am very dubious about the statement. It is probably an over-simplification for =E2=80=9Cin the same thread=E2=80=9D with caveats. > The last option would maybe be to run some sort of AVExecutor on the > main thread and allow things like muxers to que operations on it. > The muxers would totally unchanged be running on a random thread > but que some operation on the main thread if an external lib, driver or > other needs it. > Naively that feels relatively clean to me Of course. Having that kind of mechanism is obviously necessary anyway. Regards, --=20 Nicolas George --ZIPOWZq832oOelv8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE6ooRQGBoNzw0KnwPcZVLI8pNxgwFAmWApUUACgkQcZVLI8pN xgyW/RAAu9J8WMqtzqk60iDcCLvL1kPlm8qe438AXk3Qc914s3g4u6hjXp4+EY25 oO/5PFw4+0sU5RnTq6rZJoznOGwalR1uY1G7PW5m008ucWPHBrGGDDmxP8LuCV02 5qWYNdhmg//2RriKrBYgDuaJ9FmXEvBab3sewOTzxN1ch/X+tOIVHC/QT+OZN/4o cljHhEZnSTdJqRL2ARB7P/kAVj4Bo6ASJ4TX2uKDlFIHx0iaeso27ULkgQHsTSb/ MHLo91akMGBggcR6LCHPA2NI6buGC4RkIlErLQnbA9xeOUOkCTkqpCAKeeTwdKdS yc34cWLjFET/PPmELmctghmBmy4l0UFtTgYxujQ5JecSm5Ri6gcMs5QJBsXbw93y eR1QBKBoWpfW2LrJ+wphgcc1h0R2+gQlKBKl9gywyqMiadnwCJLnUUYICEjMwRga BIoQdzgQfnhAX0ogPv+o5MSaAcyaMooLbvs/JZX0CG0MLmuDuybjujUlACmyCn+z ooNuZDFOIl+UPS2vN37QIacmU7QEX+IKuGUac3Vv6uLWu2Z11x4AvrgHt1v/f81s zaex3N6TJMxhcjXAv4P4qLpT6CBSMy7vt4JOn1RFfjLxv/3v5H6b47dBqg9Fy5nr jnBm1jq4C0H9tYVzKd1CbG/aYCltDdpfcppOtvdJb2z8+z6jGRc= =7qzi -----END PGP SIGNATURE----- --ZIPOWZq832oOelv8-- --===============4420198455237693647== 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". --===============4420198455237693647==--