Pipewire Stream Negotiation Errors

I’m trying to use gstreamer to stream a pipewire source, however no matter what I do I keep running into format negotiation errors streaming stopped, reason not-negotiated (-4).

Here is the simplest way I have been able to get one:

GST_DEBUG=4 gst-launch-1.0 pipewiresrc path=102 fd=14 ! fakesink

Error log:

Note that I am not the only one who is able to reproduce the error, and this isn’t he only thing I’ve tried to cause it. I have attempted to put caps in, video converter in, and other random things I saw in online examples, with essentially the same error at the end.
Here is a previous post I created about my issue which has a few more details and someone else trying it and encountering an error too:

Any help would be much appreciated!

Can you provide a full log with GST_DEBUG=6? Most likely this is a problem in pipewire though (pipewiresrc is shipped as part of pipewire).

Here are the logs with GST_DEBUG=6 Untitled - Pastebin Service

0:00:30.561595435 14277 0x7f2ddc000b70 DEBUG pipewiresrc gstpipewiresrc.c:1072:gst_pipewire_src_negotiate:<pipewiresrc0> connect error

is the actual error in here. Unfortunately not much more information but this looks like a pipewire problem one way or another.

Thank you!

@KamWithK would you mind opening an issue on PipeWire / pipewire · GitLab and include those logs? thank you!

Done:

Ran the command myself and added the logs

1 Like