Running a gstreamer pipeline using libcamerasrc results in this error:
libcamerasrc
gst-launch-1.0 libcamerasrc gives WARNING: erroneous pipeline: no element "libcamerasrc"
gst-launch-1.0 libcamerasrc
WARNING: erroneous pipeline: no element "libcamerasrc"
The problem is that libcamerasrc support isn't in the standard installation of libcamera, it is in the arducam installation:
wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh chmod +x install_pivariety_pkgs.sh ./install_pivariety_pkgs.sh -p libcamera_dev <-- This contains support for gstreamer's libcamerasrc
Look for proof that the arducam package is installed:
$ sudo apt show libcamera0 Package: libcamera0 Version: 0~git20230724+ad9428b4-1 Status: install ok installed Priority: optional Section: libs Source: libcamera Maintainer: Arducam <[email protected]>
And here is the real proof: gst-inspect-1.0 libcamerasrc
gst-inspect-1.0 libcamerasrc
The problem is that
libcamerasrcsupport isn't in the standard installation of libcamera, it is in the arducam installation:Look for proof that the arducam package is installed:
And here is the real proof:
gst-inspect-1.0 libcamerasrc