> 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-requ...@ffmpeg.org with subject "unsubscribe".