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 4DAF34C85C for ; Wed, 7 Aug 2024 02:58:51 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DCC3368DACE; Wed, 7 Aug 2024 05:58:48 +0300 (EEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3961068D9E2 for ; Wed, 7 Aug 2024 05:58:42 +0300 (EEST) Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-2cf93dc11c6so1004980a91.1 for ; Tue, 06 Aug 2024 19:58:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722999520; x=1723604320; darn=ffmpeg.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=DuoCWj1oc18FwcNH5Th7l/1OPflKQ8+9Hs/S+HaK/Lk=; b=jwyt3w0UjY23VH7eawOlwU16qP+TG6I+e9wAfVQEEyXaIIhpUEP2GpVwqVPPz9T6gT NPiHhMoNytC/Vh2X507bNyP4iuTWvuw9Y5e+Var2LYk4jiOGJnncqydaqN9CyBPNdGqa lhZ/ztqhhCMfAwkwjXjq0Ism6mjY1td10G3TSaVnsQxZqPN+gsrLRS1bYloI+rB2qSXC SHl8dNwIzJ/WNWc2tt995EOBEK1IuvOOSnC5lCM3KVlqJJUjeEAnTQsR4QfPFP7J7DOq mlM2Ii8u7Ql/aqof+5MzrNUhRflljk52LITxUqSaX7/2rwQ758pvgakRjf4QVmBW1eTA oQ1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722999520; x=1723604320; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DuoCWj1oc18FwcNH5Th7l/1OPflKQ8+9Hs/S+HaK/Lk=; b=HaXI/wGDLwkvFNdMJjvAQY4s3UjSnPe6aCob5bM/9Y78gomtLfKrtybothAwJJ9YWD 49hpYoKDGFQxf+psfEZixx70KXr/Lwfl4g7O+NcRk1/+5difO589rvy1u1ZHE2vkqc/M Mg74NutwHQZKmYOH/z72Q8uM9NDuBfeAMIr3+5SSY9l5yCjdLXQo9PPCk/V0lJ84XeSy kPWIkjX0vvIz/lOXbUswZMsaG/ArbXQS70NrLresnb5b/Jr0JxzxToC9b9zXoA2nJQOU mVt9Eg2e1kYJI62Q+yqHVpFRJtg8lcM3ruU05N2NlSYlIKPHj6jd+mGI0d/eMdn9jeVn 8Ztg== X-Gm-Message-State: AOJu0Yx9q6BgkIHWwCaciw1NH+NUictH+cD9kwCRdpD6yRcxFANwdP+g U+lFRpYFLa6FbDmTTza3iYmN9h6qweh/mn7t39Ic0A6vfZp0To9AUFF1fAN7BRhNUK0xQMMqOyx /Fng5Bhjzp2rXi8o5Nfpt/01bA1/n42Uc X-Google-Smtp-Source: AGHT+IEwfQnS3bdlM/L2VpgougSFFUEuLYM6kll83bqBa4QpU5T5lrfQ7J6INC7oJJCMSpsIN44WqLJk7NH3DgyL8pg= X-Received: by 2002:a17:90b:3846:b0:2c9:8650:404 with SMTP id 98e67ed59e1d1-2cff952ebc6mr20148618a91.30.1722999519871; Tue, 06 Aug 2024 19:58:39 -0700 (PDT) MIME-Version: 1.0 References: <1977752609.532131.1722627661551.JavaMail.zimbra@savoirfairelinux.com> <886200727.588674.1722958477137.JavaMail.zimbra@savoirfairelinux.com> In-Reply-To: <886200727.588674.1722958477137.JavaMail.zimbra@savoirfairelinux.com> From: Quack Doc Date: Tue, 6 Aug 2024 23:00:13 -0400 Message-ID: To: FFmpeg development discussions and patches 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: > Sorry for the ambiguity in my previous reply. The answer is yes: the current > version of the patch will try to use the XDG portal unless a file descriptor > is provided. The "node" option was meant to be used together with the "fd" > option, not as an alternative to it. So when I said that I thought these > options could be used to bypass the portal, I should have specified I was > thinking of the case where FFmpeg is used by a program as a library (which > is what we're doing at my company); we'll need a different solution if we want > this to work when using the command-line tool. Sorry again for the confusion. 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? 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? _______________________________________________ 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".