Tried vicamo's ppa, it didn't work too.
https://launchpad.net/~vicamo/+archive/ubuntu/ppa-2031412
sudo apt install gstreamer1.0-icamera libgsticamerainterface-1.0-1
And reboot, then try the command (if you are in wayland session):
$ sudo -E gst-launch-1.0 icamerasrc buffer-count=7 ! video/x-raw,format=NV12,width=1280,height=720 ! videoconvert ! glimagesink [08-30 02:46:41.958] CamHAL[INF] load_camera_hal_library, the library name: lib/x86_64-linux-gnu/libcamhal/pluginsipu6ep.so [08-30 02:46:41.958] CamHAL[ERR] load_camera_hal_library, failed to open library: lib/x86_64-linux-gnu/libcamhal/pluginsipu6ep.so, error: lib/x86_ 64-linux-gnu/libcamhal/pluginsipu6ep.so: cannot open shared object file: No such file or directory [08-30 02:46:41.958] CamHAL[ERR] get_number_of_cameras, function call is nullptr [08-30 02:46:41.958] CamHAL[ERR] get_number_of_cameras, function call is nullptr [08-30 02:46:41.958] CamHAL[ERR] get_number_of_cameras, function call is nullptr
(gst-launch-1.0:3805): GLib-GObject-CRITICAL **: 02:46:41.958: g_param_spec_enum: assertion 'g_enum_get_value (enum_class, default_value) != NULL' failed
(gst-launch-1.0:3805): GLib-GObject-CRITICAL **: 02:46:41.958: validate_pspec_to_install: assertion 'G_IS_PARAM_SPEC (pspec)' failed
(gst-launch-1.0:3805): GLib-GObject-CRITICAL **: 02:46:41.958: g_param_spec_ref_sink: assertion 'G_IS_PARAM_SPEC (pspec)' failed
(gst-launch-1.0:3805): GLib-GObject-CRITICAL **: 02:46:41.958: g_param_spec_unref: assertion 'G_IS_PARAM_SPEC (pspec)' failed [08-30 02:46:41.958] CamHAL[ERR] get_number_of_cameras, function call is nullptr [08-30 02:46:41.958] CamHAL[ERR] get_number_of_cameras, function call is nullptr WARNING: erroneous pipeline: could not link camerasrc0 to videoconvert0, camerasrc0 can't handle caps video/x-raw, format=(string)NV12, width=(int )1280, height=(int)720
Tried vicamo's ppa, it didn't work too.
https:/ /launchpad. net/~vicamo/ +archive/ ubuntu/ ppa-2031412
sudo apt install gstreamer1. 0-icamera libgsticamerain terface- 1.0-1
And reboot, then try the command (if you are in wayland session):
$ sudo -E gst-launch-1.0 icamerasrc buffer-count=7 ! video/x- raw,format= NV12,width= 1280,height= 720 ! videoconvert ! glimagesink hal_library, the library name: lib/x86_ 64-linux- gnu/libcamhal/ pluginsipu6ep. so hal_library, failed to open library: lib/x86_ 64-linux- gnu/libcamhal/ pluginsipu6ep. so, error: lib/x86_ gnu/libcamhal/ pluginsipu6ep. so: cannot open shared object file: No such file or directory of_cameras, function call is nullptr of_cameras, function call is nullptr of_cameras, function call is nullptr
[08-30 02:46:41.958] CamHAL[INF] load_camera_
[08-30 02:46:41.958] CamHAL[ERR] load_camera_
64-linux-
[08-30 02:46:41.958] CamHAL[ERR] get_number_
[08-30 02:46:41.958] CamHAL[ERR] get_number_
[08-30 02:46:41.958] CamHAL[ERR] get_number_
(gst-launch- 1.0:3805) : GLib-GObject- CRITICAL **: 02:46:41.958: g_param_spec_enum: assertion 'g_enum_get_value (enum_class, default_value) != NULL'
failed
(gst-launch- 1.0:3805) : GLib-GObject- CRITICAL **: 02:46:41.958: validate_ pspec_to_ install: assertion 'G_IS_PARAM_SPEC (pspec)' failed
(gst-launch- 1.0:3805) : GLib-GObject- CRITICAL **: 02:46:41.958: g_param_ spec_ref_ sink: assertion 'G_IS_PARAM_SPEC (pspec)' failed
(gst-launch- 1.0:3805) : GLib-GObject- CRITICAL **: 02:46:41.958: g_param_spec_unref: assertion 'G_IS_PARAM_SPEC (pspec)' failed of_cameras, function call is nullptr of_cameras, function call is nullptr (string) NV12, width=(int
[08-30 02:46:41.958] CamHAL[ERR] get_number_
[08-30 02:46:41.958] CamHAL[ERR] get_number_
WARNING: erroneous pipeline: could not link camerasrc0 to videoconvert0, camerasrc0 can't handle caps video/x-raw, format=
)1280, height=(int)720