Hello,
I building a capture pipeline in python. streaming from webcam to other viewer app process. it works fine if the pipeline is simple. but once I added a tee element and add the recording branch the pipeline fails.
This pipeline works fine
gst-launch-1.0 v4l2src device=/dev/video4 do-timestamp=true ! image/jpeg,width=1920,height=1080,framerate=30/1 ! jpegdec ! unixfdsink socket-path=/tmp/mysocket
but once added tee element it fails with this error
gst-launch-1.0 v4l2src device=/dev/video4 do-timestamp=true ! image/jpeg,width=1920,height=1080,framerate=30/1 ! jpegdec ! tee name=t ! queue ! unixfdsink socket-path=/tmp/mysocket
ERROR:
unixfdsink gstunixfdsink.c:506:gst_unix_fd_sink_render: Expecting buffers with FD memories
I tried to add videoconvert and also specify the cap
… jpegdec ! video/x-raw,width=1920,height=1080,framerate=30/1 ! videoconvert ! tee name=t ! queue ! unixfdsink socket-path=/tmp/mysocket
but having same issue. any suggestion how to fix this issue.
How I can convert buffer to FD memory ?
I’m using GStreamer 1.24.2
thanks.