Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This page dedicated to bringing up and validation of Continuous video recording functionality in R-Pi ZeroRPI-0/RPI-3 B+

CVR uses Kinesis Video Streams and supporting 24/7 video recording support.Allows the feature of storing the recorded content locally or in any AWS server.

Environment Setup

Please refer below link for RPI-0 Environment setup

RDK-C Environment Setup

...

Build and Flash Procedure

Refer below link to build camera image

Morty:

RDK-C Build Instruction for RPI-0

Image Flash Procedure

...

languagebash
titleImage Flash step

...

RDK-C Build Instruction for RPI-3


Dunfell:

RDK-C rdk-next Yocto 3.1 dunfell build for Raspberrypi

AWS Account creation steps

...

export LD_PRELOAD=/usr/lib/libwayland-client.so.0:/usr/lib/libwayland-egl.so:/usr/lib/libopenmaxil.so


STEP 8:

Before start the CVR binary please check the current date and time in RPI with "date" command, If you get wrong date and time please manually set current date and time with the below command.

date -s "Mon Nov 30 03:42:44 UTC 2020"

Code Block
languagebash
titleConsole output
root@raspberrypi3-rdk-camera:~# date -s "Mon Nov 30 03:42:44 UTC 2020"
Mon Nov 30 03:42:44 UTC 2020
root@raspberrypi3-rdk-camera:~# date
Mon Nov 30 03:43:55 UTC 2020


STEP 9:

Run cvr-gst-rpi binary to transmit data into AWS server.

...

Code Block
languagebash
titleConsole output
root@raspberrypi0-rdk-camera:~# cvr-gst-rpi 
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 810:

Enter into AWS account and select the corresponding video stream service which was we created for streaming.

...