From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 239934CB54 for ; Wed, 29 Oct 2025 23:30:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1761780646; h=date : to : message-id : references : mime-version : in-reply-to : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : content-transfer-encoding : from; bh=g/meKal3CuYEsqCCY3aLjByIGAKDBaHdNXC/U7sKcNo=; b=r3Iptwb9JyUILDc3r71E/ZukGnNREyw/iA4ALgGiaeh/5vrnuC07UQnPCsfLo+mHS9voX xu5jqHTGC7m2IHVXwhzfEhPy5yYFYGMDv7QC2m6fxGPc5/Te9Z5wfa0Ps53eixqs7t+GWv+ XEwKrrthEsICsPtxpNMHvTfAwd6WTSOEQ+LsVW156YL3AOIv2iK4TQN/F7NZGdxE6JdXMie I/lsWSIXge89e5eAFkKFwGgUHfXOefKxA0HJapPQPCDe8PumrVpdUhHGCnaiWHEKn8EuMdo M1jcXq1xjjb53K7Ugqip/Cnkiio3rxaMcYz/etC+r0qUbf5xzCDntk5QymoA== Received: from [172.19.0.2] (unknown [172.19.0.2]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 9695668F68D; Thu, 30 Oct 2025 01:30:46 +0200 (EET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1761780634; b=q1qRHgFCztDvFv/vGJNKSjI5hXBtD788KruKKCPYlTQB2MLcpt3OjRnoXDIc9aaxysJTk iX4TSMRmdgoHMguX+cQsNitHmxceu4RjasNBfEOnSU6y3v7YnpiEEnutOkUnqlk1JhMQmM4 Fl+oE1WE8IiFaRgF91JsYIbRjxruXxQ2qWlU5ecpfo9v4j5xXlOEC7NY/mgL4iROad6PZAG WThaMDUT7icO1np9dPrcfLyw3wkGCNRINN32mmbNsxfkARF/n0S+RFdA4KVY8VPWZFIF7EL 0GUba0KXygw4a9ytQWtvAafMe3VEQ+NM9bOFTN9gYyYcv+JadXNRYAhdiQsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1761780634; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=cCXfzvnK2juoOf6e0t87eq5T/F8yuEOebA0WxEyaxcA=; b=HgBeJdbZmavlpgvIn1A3FR7JSqrVqnF/0UBWa/NsbHBX1XRdNQYlImGNspegFRIqzQCF4 rz0fDpqk13tifSrbWe9g8KQigWleOxKPFh6GYkXs99IvlcrFP5E9DA2V+NcJBfLfxbeEvN/ 2mNYCyaoTGdmGu8zV/JzD546xopQhD6x8AojGDYHD5EwbznJmkNF89HTRSjq+VOJjnf3gRy tn6BwKhdqOHrubgNRWLuZlMQ7Lo6addgZJQZOEwzFTaq406FgcyAetRuGNz4ajyMiozDHfe Vk1wJAi574J9HAe218kIoNqrCLLa5zPQMa9RmNjTqlYVZJqbjDgbViEaHGfA== ARC-Authentication-Results: i=1; ffmpeg.org; dkim=fail; arc=none; dmarc=none Authentication-Results: ffmpeg.org; dkim=fail; arc=none (Message is not ARC signed); dmarc=none Received: from nef.ens.fr (nef2.ens.fr [129.199.96.40]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 4E8D168F68D for ; Thu, 30 Oct 2025 01:30:21 +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 59TNUK9v026285 for ; Thu, 30 Oct 2025 00:30:20 +0100 Received: by phare.normalesup.org (Postfix, from userid 1001) id 2747E20033; Thu, 30 Oct 2025 00:30:20 +0100 (CET) Date: Thu, 30 Oct 2025 00:30:20 +0100 To: FFmpeg development discussions and patches Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (nef.ens.fr [129.199.96.32]); Thu, 30 Oct 2025 00:30:20 +0100 (CET) Message-ID-Hash: IFOKLFCY7UO43Z37JZVEDO42OMI5RI7V X-Message-ID-Hash: IFOKLFCY7UO43Z37JZVEDO42OMI5RI7V X-MailFrom: SRS0=3P3u=5G=phare.normalesup.org=george@ffmpeg.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] Re: [RFC] libavdevice List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Nicolas George via ffmpeg-devel Cc: Nicolas George Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Archived-At: List-Archive: List-Post: Michael Niedermayer via ffmpeg-devel (HE12025-10-29): > 1. merge libavdevice and libavformat Of course we should do that. The split into multiple libraries serves no purpose, it only makes our work more complicated; the benefits people think they get from it either are nonexistent or could be obtained more efficiently with less intrusive solutions. IIRC, in the case of libavdevice, it was done under the pressure of people who hated it and wanted to get rid of it, just like they managed to put pressure on you to get rid of libpostproc. > 2. make libavdevice actually great again, aka a seperate API designed for devices That would not make libavdevice great, that would kill it. The fact that devices can pass as muxers / demuxers is the key to the usefulness of libavdevice: people write code for plain files, and thanks to the magic of having the same API, this code can be used as is with ALSA playback or desktop capture. If libavdevice gets its own API, then the only code that works with it is code that was specifically written for it, and who would write code specifically for a mishmash of devices whose sole common point is that they used to have the same API. > (3. maybe a bunch of flags checks version whatever can be used to make it work as is) We could also consider making libavdevice API evolve towards the one of libavfilter. That would require the driving code to work with non-buffersink sinks, though, and we are not there yet. Regards, -- Nicolas George _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org