Versions Compared

Key

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

Children Display

Table of Contents

Info

This Page is Under Development

Introduction

  • This page dedicated to bringing up and validation of CVR functionality in R-Pi Zero.
  • CVR supporting 24/7 video recording support.It will store capturing content into local rpi device in TS format.

Required Equipment

  • Raspberry Pi 0 Device
  • SD Card
  • Power Cable
  • OTG Cable
  • Standard USB keyboard
  • Mini HDMI connector
  • HDMI Cable
  • Television set/monitor with HDMI input

System Setup

Image Removed

Build Procedure

$ repo init -u "https://code.rdkcentral.com/r/rdkcmf/manifests" -m rdkc-nosrc.xml -b master

$ repo sync

$ source meta-cmf-raspberrypi/setup-environment

select meta-cmf-raspberrypi/conf/machine/raspberrypi0-rdk-camera.conf

$ bitbake rdk-generic-camera-image

Image Flash Procedure

$ sudo dd if="Image Name" of="Device Name" bs=4M

Example:

Build and Flash Procedure

Refer below link to build camera image

Morty:

RDK-C Build Instruction for RPI-0

RDK-C Build Instruction for RPI-3


Dunfell:

RDK-C rdk-next Yocto 3.1 dunfell build for Raspberrypisudo dd if=rdk-generic-camera-image_default_20200130060729.rootfs.rpi-sdimg of=/dev/sdb bs=4M


CVR Validation Procedure

STEP 1:

Add require SSID and PSK in /etc/wpa_supplicant.conf file in below format

...

Run CVR binary in background by using below command.

cvr_daemongst_kvs &

Image Added


STEP 8:

Check .ts file is available or not in /tmp/cvr folder in RPI device.

Image Added


STEP 9:

Move .ts file from /tmp/cvr/ folder into local PC with WiFi connection by using below command and Play .ts file in VLC player

scp root@WiFI_IP:/tmp/cvr/TS_FileName .

Example : scp root@192.168.2.70:/tmp/cvr/2020-03031:12:24:27.ts .

Demo - RDK Camera Continuous Video Recording (CVR) Support in RPI - 2020 - M3

Limitations

  • Continuous Video Recording ( CVR ) feature can record content locally on R-Pi target.
  • Need to support content upload feature to AWS.