RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
Refer below link to build camera image
RDK-C Build Instruction for RPI-3 with Dunfell branch
Code Block | ||||
---|---|---|---|---|
| ||||
$ sudo ddbzcat if="Image Name" | sudo dd of="Device Name" bs=4M iflag=fullblock oflag=direct conv=fsync Example: sudobzcat dd if=rdk-generic-camera-image_default_2020013006072920201127105606.rootfs.rpi-sdimgwic.bz2 | sudo dd of=/dev/sdbsdc bs=4M iflag=fullblock oflag=direct conv=fsync |
...
Code Block | ||||
---|---|---|---|---|
| ||||
root@raspberrypi0root@raspberrypi3-rdk-camera:~# ifconfig lo eth0 Link encap:Ethernet HWaddr B8:27:EB:87:67:91 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 Link encap:Local Loopback dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 inetRX addr:127.bytes:0 (0.0.1 B) MaskTX bytes:255.0. (0.0 B) lo Link inet6encap:Local Loopback inet addr: ::1/128 Scope:Host127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:8789842 errors:0 dropped:0 overruns:0 frame:0 TX packets:8789842 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:455225639748 (424.4 KiBMiB) TX bytes:455225639748 (424.4 KiBMiB) wlan0 Link encap:Ethernet HWaddr B8:27:EB:2ED2:7232:2BC4 inet addr:192.168.43.246146 Bcast:192.168.43.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2344 errors:0 dropped:0 overruns:0 frame:0 TX packets:44103 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:28934484 (24.83 KiB) TX bytes:588710216 (59.79 KiB) |
STEP 5:
check loaded module by using below command
...
Code Block | ||||
---|---|---|---|---|
| ||||
root@raspberrypi0root@raspberrypi3-rdk-camera:~# lsmod Module Size Used by bcm2835_v4l2 40563 0 v4l2_common 4809 1 bcm2835_v4l2 videobuf2_vmalloc 6264 1 bcm2835_v4l2 videobuf2_memops 1528 1 videobuf2_vmalloc videobuf2_v4l2 12640 1 bcm2835_v4l2 videobuf2_core 27389 2 bcm2835_v4l2,videobuf2_v4l2 videodev 154457 4 v4l2_common,videobuf2_core,bcm2835_v4l2,videobuf2_v4l2 media 23307 1 videodev brcmfmac 258239 0 brcmutil 7590 1 brcmfmac snd_bcm2835 21405 0 cfg80211 492836 1 brcmfmac snd_pcm 79872 1 snd_bcm2835 rfkill 19936 3 cfg80211 snd_timer 20294 1 snd_pcm snd 52949 3 snd_timer,snd_bcm2835,snd_pcm lirc_rpi 6840 0 lirc_dev 7533 1 lirc_rpi uio_pdrv_genirq 3469 0 uio 8703 1 uio_pdrv_genirq fixed 2876 0 sch_fq_codel 9662 2 ipv6 384101 18 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
pushStream uri=rtsp://192.168.43.146:5544 localStreamName=stream2 Command entered successfully! Local stream stream2 enqueued for pushing to rtsp://192.168.43.146:5544 as stream2 configId: 4 forceTcp: false keepAlive: true localStreamName: stream2 targetStreamName: stream2 targetStreamType: live targetUri: fullUri: rtsp://192.168.43.146:5544 port: 5544 scheme: rtsp |
STEP 10:
On VLC player, for RTSP streaming
...