RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
Code Block | ||||
---|---|---|---|---|
| ||||
$ repo init -u "https://code.rdkcentral.com/r/rdkcmf/manifests" -m rdkc-nosrc.xml -b masterrdk-next $ repo sync $ source meta-cmf-raspberrypi/setup-environment select meta-cmf-raspberrypi/conf/machine/raspberrypi0-rdk-camera.conf $ bitbake rdk-generic-camera-image |
...
Code Block | ||||
---|---|---|---|---|
| ||||
root@raspberrypi0-rdk-camera:~# export STREAM_NAME="Samplestream" root@raspberrypi0-rdk-camera:~# export ACCESS_KEY="XXXXXXXXXXXXX" root@raspberrypi0-rdk-camera:~# export SECRET_KEY="yyyyyyyyyyyyyyyyyyyyyyyyy" root@raspberrypi0-rdk-camera:~# export AWS_DEFAULT_REGION="eu-west-1" |
STEP 5:
Check exported Access key id,Secret access key,Stream name and Region name by using below command.
printenv
Code Block | ||||
---|---|---|---|---|
| ||||
root@raspberrypi0-rdk-camera:~# printenv
PLAYERSINKBIN_USE_WESTEROSSINK=1
WAYLAND_DISPLAY=wayland-0
SHELL=/bin/sh
TERM=xterm
LD_PRELOAD=/usr/lib/libopenmaxil.so:/usr/lib/libwayland-client.so.0
HUSHLOGIN=FALSE
USER=root
SYSTEMD_PAGER=/bin/cat
ACCESS_KEY=XXXXXXXXXXXXXX
STREAM_NAME=samplestream
MAIL=/var/spool/mail/root
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
AWS_DEFAULT_REGION=eu-west-1
SECRET_KEY=yyyyyyyyyyyyyyyyyyyyyyyy
PWD=/home/root
EDITOR=vi
PS1=\u@\h:\w\$
SHLVL=1
HOME=/home/root
LOGNAME=root
XDG_RUNTIME_DIR=/run
_=/usr/bin/printenv
|
STEP 6:
Run cvr-gst-rpi binary to transmit data into AWS server.
...
Code Block | ||||
---|---|---|---|---|
| ||||
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 7:
Able to streaming content in your AWS account.
Enter into AWS account and select the corresponding video stream service which was we created for streaming.
Press "Media Playback" option on the video stream player.
Streaming video content should decode properly on AWS.
CVR Support in AWS cloud through gstreamer kvs sink.