RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
Code Block | ||||
---|---|---|---|---|
| ||||
1.Sign in to the AWS Management Console and open the Kinesis console at https://euap-westsouth-1.console.aws.amazon.com/kinesisvideoconsole/home?region=euap-westsouth-1#/. 2.On the Video streams page, choose Create video stream. 3.On the Create a new video stream page, type ExampleStream for the stream name. Leave the Default configuration radio button selected. 4.Choose Create video stream. 5.After Kinesis Video Streams creates the stream, review the details on the ExampleStream page. |
...
Code Block | ||||
---|---|---|---|---|
| ||||
ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 update_config=1 network={ ssid="RDK" psk="Comcast1" } |
STEP 2:
This step only needed for Libcamera validation
Add below configuration in end of the /boot/config.txt file
...
If the below configuration there Disable dtoverlay and minimum freq configuration in config.txt file then please disable for this v4l2 and pipewire validation
Code Block | ||||
---|---|---|---|---|
| ||||
vi /boot/config.txt #dtoverlay=imx219 #core_freq_min=250 |
...
Before triggering CVR binary we should stop rms binary and mediastreamer binary with below command because currently we can't able to validate RMS and CVR feature at the same time.
systemctl stop rms-launcher
systemctl stop pipewire-launcher
systemctl stop mst-launcher
...
Code Block | ||||
---|---|---|---|---|
| ||||
root@raspberrypi0-rdk-camera:~# cvr-gst-rpi libcamerasrc
Conf file /etc/debug.ini open success
rdk_logger_init /etc/debug.ini Already Stack Level Logging processed... not processing again.
200430-10:37:21.578891 [mod=GSTREAMER, lvl=DEBUG] [tid=7305] /usr/src/debug/cvr/git-r0/git/cvr-gst-rpi/cvr_gst_rpi.c(176):Element linking succes
s for pipelin |
3. CVR validation using Pipewire
Code Block | ||||
---|---|---|---|---|
| ||||
root@raspberrypi3-rdk-camera:~# pipewire &
[1] 1293
root@raspberrypi3-rdk-camera:~# [W][000000041.142031][module-rtkit.c:185 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][000000041.142413][module-rtkit.c:519 set_nice()] could not set nice-level to -11: No such file or directory
[W][000000041.144184][module-rtkit.c:185 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][000000041.145666][module-rtkit.c:185 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][000000041.147096][module-rtkit.c:185 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][000000041.147259][module-rtkit.c:506 idle_func()] could not make thread realtime: No such file or directory
[E][000000041.171692][dbus.c:319 impl_get_connection()] Failed to connect to system bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
[E][000000041.171900][module-portal.c:304 pipewire__module_init()] Failed to connect to system bus: Connection refused |
Code Block | ||||
---|---|---|---|---|
| ||||
root@raspberrypi3-rdk-camera:~# pipewire-media-session & [2] 2146 root@raspberrypi3-rdk-camera:~# [W][000000107.473341][module-rtkit.c:185 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown [W][000000107.473707][module-rtkit.c:519 set_nice()] could not set nice-level to -11: No such file or directory [W][000000107.475498][module-rtkit.c:185 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown [W][000000107.477043][module-rtkit.c:185 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown [W][000000107.478619][module-rtkit.c:185 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown [W][000000107.478785][module-rtkit.c:506 idle_func()] could not make thread realtime: No such file or directory [E][000000107.480804][dbus.c:319 impl_get_connection()] Failed to connect to system bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead [W][000000107.480985][media-session.c:2464 main()] no dbus connection [W][000000107.482123][access-portal.c:605 sm_access_portal_start()] no dbus connection, portal access disabled [W][000000107.487444][alsa-monitor.c:1056 sm_alsa_monitor_start()] no dbus connection, device reservation disabled |
Code Block | ||||
---|---|---|---|---|
| ||||
root@raspberrypi0-rdk-camera:~# cvr-gst-rpi pipewiresrc
Conf file /etc/debug.ini open success
rdk_logger_init /etc/debug.ini Already Stack Level Logging processed... not processing again.
200430-10:37:21.578891 [mod=GSTREAMER, lvl=DEBUG] [tid=7305] /usr/src/debug/cvr/git-r0/git/cvr-gst-rpi/cvr_gst_rpi.c(176):Element linking succes
s for pipelin |
STEP 1012:
Enter into AWS account and select the corresponding video stream service which was we created for streaming.
...
CVR Support in AWS cloud through gstreamer kvs sink.
CVR validation with libcamera works only with SD resolution.