GStreamer plugins not working
In reference to issue #193 (closed):
While I still cannot get the video-src-alloc example to work, I'm thinking it has more to do with the GStreamer plugin than it does with the example. I can't even get GStreamer to pass test video through pipewire as sink and source.
Steps to reproduce:
- Clone a recent commit (e.g. a81f920f)
- Build with meson and ninja as per readme
- Invoke ./pw-uninstalled.sh in three separate terminals
- In the first terminal, execute pipewire: sh
PIPEWIRE_DEBUG=7 pipewire 2>&1 | tee log
- In the second terminal, run pipewiresink plugin as per comments in the source: sh
gst-launch-1.0 -v videotestsrc ! pipewiresink
- In the third terminal, run pipewiresrc plugin as per comments: sh
gst-launch-1.0 -v pipewiresrc ! videoconvert ! ximagesink
No video is displayed.
pipewiresink says:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, format=(string)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstPipeWireSink:pipewiresink0.GstPad:sink: caps = video/x-raw, format=(string)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
pipewiresrc says:
Setting pipeline to PAUSED ...
Pipewire log attached.log