I am attempting to emulate https://developer.ridgerun.com/wiki/index.php/GstInterpipe_-_Example_1:_CCTV , but slightly differently. I have one v4l2src camera and one csi camera using libcamerasrc.I was originally using gstd and the client to set this up similar to the tutorial, but I can only get the v4l2src to work over interpipes. I have simplified it to just a gst launch command.
Hello,
I am attempting to emulate https://developer.ridgerun.com/wiki/index.php/GstInterpipe_-_Example_1:_CCTV , but slightly differently. I have one v4l2src camera and one csi camera using libcamerasrc.I was originally using gstd and the client to set this up similar to the tutorial, but I can only get the v4l2src to work over interpipes. I have simplified it to just a gst launch command.
This one works. GST_DEBUG=4 gst-launch-1.0 -vvv v4l2src device=/dev/video0 ! video/x-raw,format=UYVY ! videoscale ! video/x-raw,width=640,height=480 ! videoconvert ! interpipesink name=thermal sync=false async=false interpipesrc name=interpipesrc1 listen-to=thermal is-live=true allow-renegotiation=true stream-sync=compensate-ts ! queue ! autovideosink qos=false
This one hangs after a single frame is displayed and throws format errors with any other format.
GST_DEBUG=4 gst-launch-1.0 -vvv libcamerasrc ! capsfilter caps=video/x-raw,width=1920,height=1080,format=NV21,framerate=30/1 ! queue ! interpipesink name=rgb sync=false async=false interpipesrc name=interpipesrc1 listen-to=rgb is-live=true allow-renegotiation=true stream-sync=compensate-ts format=time ! autovideosink
What should I be looking into to get the libcamerasrc working over interpipes?
Thanks