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 D54B34B9E7 for ; Wed, 7 Aug 2024 17:30:05 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F34A568DB62; Wed, 7 Aug 2024 20:30:01 +0300 (EEST) Received: from mail.savoirfairelinux.com (mail.savoirfairelinux.com [208.88.110.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AA8F468DA5D for ; Wed, 7 Aug 2024 20:29:54 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 4E5D79C5704 for ; Wed, 7 Aug 2024 13:29:53 -0400 (EDT) Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavis, port 10032) with ESMTP id NXmgS55cQTGw for ; Wed, 7 Aug 2024 13:29:53 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id F1B4E9C5DD7 for ; Wed, 7 Aug 2024 13:29:52 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.savoirfairelinux.com F1B4E9C5DD7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=savoirfairelinux.com; s=DFC430D2-D198-11EC-948E-34200CB392D2; t=1723051792; bh=jlhNvfQVTm3bSu+gwwOdgTXmsCByH0+egA6CyQGWe3k=; h=Date:From:To:Message-ID:MIME-Version; b=GY+3L/alVUphuU0+hV0TvmcENIa5Az8R+uerY53fm1nlE3J8Q3hhmzm5bT16HNz6q EJlQlDr9Cd3///P7ZGFhm6qzTMaBDXoyTdClQhBidRpiIfmIlcMA3hgyTUNGudx/6N BBnma8tCG1Ij1RVfpG65HTZSwykUWvbexqxwwa9BKlcpfSxxWrU/STEpVd4DXLcUxg fkqZpbuBlPQAEyPYlU7PVpaLZQaAet37XEa+Jb+TrrBmcCQmVNHARnBbjUBtfPyhvI nXsc9rgpbOYlf5IBiVOpCeUHd46R73QbCHxwADDVsV2o1v+IBndCHPK5uoQaqiM4rR 1WBhjPqqKRH7Q== X-Virus-Scanned: amavis at mail.savoirfairelinux.com Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavis, port 10026) with ESMTP id hKyoQHBFpXMp for ; Wed, 7 Aug 2024 13:29:52 -0400 (EDT) Received: from mail.savoirfairelinux.com (mail.savoirfairelinux.com [192.168.48.237]) by mail.savoirfairelinux.com (Postfix) with ESMTP id DC98E9C5704 for ; Wed, 7 Aug 2024 13:29:52 -0400 (EDT) Date: Wed, 7 Aug 2024 13:29:52 -0400 (EDT) From: =?utf-8?Q?Fran=C3=A7ois-Simon?= Fauteux-Chapleau To: FFmpeg development discussions and patches Message-ID: <496050252.616092.1723051792812.JavaMail.zimbra@savoirfairelinux.com> In-Reply-To: References: <1977752609.532131.1722627661551.JavaMail.zimbra@savoirfairelinux.com> <886200727.588674.1722958477137.JavaMail.zimbra@savoirfairelinux.com> MIME-Version: 1.0 X-Mailer: Zimbra 8.8.15_GA_4581 (ZimbraWebClient - FF128 (Linux)/8.8.15_GA_4581) Thread-Topic: libavfilter: add PipeWire-based grab Thread-Index: 9FCdN5pS2N4lOYKkDC5fwhwhahK98A== Subject: Re: [FFmpeg-devel] [PATCH v2] libavfilter: add PipeWire-based grab 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 Aug 6, 2024, at 11:00 PM, Quack Doc quackdoctech@gmail.com wrote: > For a POC I commented out the fd stuff so it wouldn't fail on me and > replaced pw_context_connect_fd() with pw_context_connect() and it > seemed to work fine with gamescope, gamescope only produces RGB frames > and not YUV frames however. I did try my camera and it did not seem to > work, which is more or less what I had expected. > > perhaps a couple simple if statements would be good enough and adding > YUV formats? If all it takes to solve the issue is adding a couple of if statements, then I'll be more than happy to make the change and include it in the next version of the patch. Adding a few YUV formats should also be straightforward. > also Looking at it, it seems like this only supports 8bit formats? > Though it didn't make my capture fail despite my monitor running in > 10bit so perhaps pipewire can handle that itself? Maybe. I don't know how PipeWire handles pixel formats under the hood, all I can say is that the patch doesn't explicitly support any 10-bit format, as you've already noticed. _______________________________________________ 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".