rpm is for Redhat/Fedora, so that's clearly not relevant here.
I've followed the bitbake breadcrumbs as best I can and compiled icamerasrc (the particular version for the joule), but I get errors when trying to run it:
(gst-inspect-1.0:17041): GLib-GObject-CRITICAL **: g_param_spec_enum: assertion 'g_enum_get_value (enum_class, default_value) != NULL' failed
(gst-inspect-1.0:17041): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion 'G_IS_PARAM_SPEC (pspec)' failed
I do get the expected output from gst-inspect-1.0 icamerasrc:
Factory Details:
Rank none (0)
Long-name icamerasrc
Klass Source/Video
Description CameraSource Element
Author Intel
Plugin Details:
Name icamerasrc
Description Template icamerasrc
Filename /srv/maverick/software/gstreamer/lib/gstreamer-1.0/libgsticamerasrc.so
Version 1.0.0
License LGPL
Source module my-plugin-package
Binary package GStreamer
Origin URL http://gstreamer.net/
GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstBaseSrc
+----GstPushSrc
+----Gstcamerasrc
Implemented Interfaces:
GstCamerasrc3AInterface
Pad Templates:
SRC template: 'src'
Availability: Always
Capabilities:
EMPTY
Element Flags:
no flags set
Element Implementation:
Has change_state() function: 0x7f21cf5dc920
Element has no clocking capabilities.
Element has no URI handling capabilities.
Pads:
SRC: 'src'
Pad Template: 'src'
Element Properties:
name : The name of the object
flags: readable, writable
String. Default: "camerasrc0"
parent : The parent of the object
flags: readable, writable
Object of type "GstObject"
blocksize : Size in bytes to read per buffer (-1 = default)
flags: readable, writable
Unsigned Integer. Range: 0 - 4294967295 Default: 4096
num-buffers : Number of buffers to output before sending EOS (-1 = unlimited)
flags: readable, writable
Integer. Range: -1 - 2147483647 Default: -1
typefind : Run typefind before negotiating
flags: readable, writable
Boolean. Default: false
do-timestamp : Apply current stream time to buffers
flags: readable, writable
etc etc, but there is no 'device-name' as indicated in the suggested test pipeline:
gst-launch-1.0 icamerasrc device-name=0 io-mode=3 ! video/x-raw,format=NV12,width=1920,height=1080 ! vaapisink dmabuf-alloc-tiled=true
So when I try to run it:
[dev] [mav@maverick-joule ~]$ gst-launch-1.0 icamerasrc device-name=0 io-mode=3 ! video/x-raw,format=NV12,width=1920,height=1080 ! vaapisink dmabuf-alloc-tiled=true
(gst-launch-1.0:17538): GLib-GObject-CRITICAL **: g_param_spec_enum: assertion 'g_enum_get_value (enum_class, default_value) != NULL' failed
(gst-launch-1.0:17538): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion 'G_IS_PARAM_SPEC (pspec)' failed
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
WARNING: erroneous pipeline: no property "device-name" in element "camerasrc0"