background image

                                                                                                                                                       Ameba-Pro KVS Getting Started Guide 

 Getting Started Guide                                                                                                           All information provided in this document is subject to legal disclaimers.                                                            ©  REALTEK 2020. All rights reserved.

 

  

 
  

 

Amazon Kinesis Video Streams Producer 
on AmebaPro – Getting Started Guide 
 

 

 

 

Realtek Semiconductor Corp. 

No. 2, Innovation Road II, Hsinchu Science Park, Hsinchu 300, Taiwan 

Tel.: +886-3-578-0211. Fax: +886-3-577-6047 

www.realtek.com

 

Summary of Contents for AmebaPro RTL8715AD

Page 1: ...ocument is subject to legal disclaimers REALTEK 2020 All rights reserved 1 Amazon Kinesis Video Streams Producer on AmebaPro Getting Started Guide Realtek Semiconductor Corp No 2 Innovation Road II Hs...

Page 2: ...ght to make corrections enhancements improvements and other changes to its Realtek Resources Realtek has not conducted any testing other than that specifically described in the published documentation...

Page 3: ...l and regulatory requirements in connection with such selection Customer will fully indemnify Realtek and its representatives against any damages costs losses and or liabilities arising out of Designe...

Page 4: ...ting Started Guide All information provided in this document is subject to legal disclaimers REALTEK 2020 All rights reserved 4 1 AmebaPro RTL8715AD Board 1 1 AmebaPro Demo EVB Ameba Demo board home p...

Page 5: ...on provided in this document is subject to legal disclaimers REALTEK 2020 All rights reserved 5 1 2 PCB Layout Overview The PCB layout of AmebaPro is shown in Fig 1 1 Fig 1 1 Demo board PCB layout 2D...

Page 6: ...disclaimers REALTEK 2020 All rights reserved 6 1 4 JTAG SWD The SWD interface is shown in Fig 1 3 Fig 1 3 Demo board JTAG SWD Note If using 2V0 2V1 version AmebaPro Please check SW7 pin 3 switch to ON...

Page 7: ...mers REALTEK 2020 All rights reserved 7 1 6 Requirement for Project Building Supported IDE toolchain IAR GCC IAR Embedded Workbench IAR Systems Please use IAR version 8 3 There may be some compiler pr...

Page 8: ...your AWS account This is your AWS account root user Its credentials provide complete access to all of your AWS resources Note For security reasons we recommend that you use the root user only to creat...

Page 9: ...Configure AmebaPro for Amazon KVS 3 1 Download Source Code from Github Open source link https github com HungTseLee KVS_WebRTC_on_AmebaPro and select main branch for get newest source code The stable...

Page 10: ...baPro git If you already have a checkout run the following command to sync submodules recursively git submodule update init recursive If there is GCC makefile error like No rule to make target it may...

Page 11: ...s h to specify the example to run For example if users want to use KVS Producer with multi media framework on AmebaPro compile flag CONFIG_EXAMPLE_KVS_PRODUCER_MMF should be set to 1 which means defin...

Page 12: ...necessary to compile the small CPU before the big CPU 4 1 1 Compile Little CPU step 1 Open SDK project realtek_amebapro_v0_example EWARMRELEASE Project_lp eww step 2 Confirm application_lp in WorkSpa...

Page 13: ...the project cd project realtek_amebapro_v0_example GCC RELEASE Build the library and the example by running make in the directory make f Makefile_amazon_kvs all If somehow it built failed you can try...

Page 14: ...e tool ImageTool exe can be find in project tools AmebaPro Image_Tool ImageTool exe 5 1 Introduction As show in the following figure Image Tool has two tab pages Download used as image download server...

Page 15: ...ol ImageTool exe 5 3 Download 5 3 1 Enter the Download Mode to Ready Image tool use UART to transmit image to AmebaPro board Before performing image download function AmebaPro need to enter UART_DOWNL...

Page 16: ...p 1 Application will scan available UART ports Please choose correct UART port Please close other UART connection for the target UART port step 2 Choose desired baud rate between computer and AmebaPro...

Page 17: ...Note If using 2V0 2V1 version AmebaPro Please check SW7 pin 3 switch to ON before connection if using SWD please check four pin VTref VDD TMS SWDIO TCLK SWCLK and TDO SWO connected to EVB correctly R...

Page 18: ...you should type below command before you using J Link to download software or enter GDB debugger make f Makefile_amazon_kvs setup GDB_SERVER jlink 6 3 Windows J Link GDB Server Besides the hardware c...

Page 19: ...ge to Flash After building the project in GCC check that image exists in application_is directory Then go back to project realtek_amebapro_v0_example GCC RELEASE and run the command make f Makefile_am...

Page 20: ...t serial port of device 7 2 Run KVS Producer Demo Default setting of SDK may not enable Producer demo so please refer to Ch 3 3 to check whether KVS Producer Demo is enabled Once the AmebaPro EVB has...

Page 21: ...hub com HungTseLee KVS_WebRTC_on_AmebaPro blob main doc AN0025 20Realtek 20at 20command pdf Note AmebaPro has the wifi fast connection after rebooting Therefore it is not required to run the command a...

Page 22: ...d Guide Getting Started Guide All information provided in this document is subject to legal disclaimers REALTEK 2020 All rights reserved 22 Now the AmebaPro have started to put the media video audio t...

Page 23: ...emo easily which are Media Viewer Webpage and AWS KVS Console 7 3 1 Use Media Viewer Webpage to Verify We can use an on line test page to verify the media is being sent to the video streams step 1 Go...

Page 24: ...AWS KVS Console to Verify We can use the AWS KVS console to verify the media is being sent to the video streams step 1 Go to AWS KVS console https console aws amazon com kinesisvideo home region us e...

Page 25: ...Started Guide All information provided in this document is subject to legal disclaimers REALTEK 2020 All rights reserved 25 step 4 Using Media playback to playback the video If success you will get t...

Page 26: ...ice using amazon kinesis video streams and amazon rekognition video For more information of Rekognition working with streaming video see https docs aws amazon com rekognition latest dg streaming video...

Page 27: ...Started Guide All information provided in this document is subject to legal disclaimers REALTEK 2020 All rights reserved 27 Use the AWS Management Console and click the data stream you create AmazonR...

Page 28: ...y credentials the default output format and the default AWS Region see https docs aws amazon com cli latest userguide cli configure quickstart html https docs aws amazon com cli latest userguide cli c...

Page 29: ...essor the Rekognition will analysis the video from KVS and send the face detection results to Kenesis data streams 8 4 Get the Video from Kinesis Video Stream Locally AWS provide the get_media API to...

Page 30: ...isDataStream_name ShardId shardId 000000000000 ShardIteratorType LATEST get_response self kinesis_client get_records ShardIterator shard_iterator_response ShardIterator 8 6 Display Video frames Render...

Page 31: ...ocs aws amazon com cli latest userguide cli configure quickstart html https docs aws amazon com cli latest userguide cli configure envvars html The step of creating a face collection is not included i...

Page 32: ...neral troubleshooting information about Getting Started with FreeRTOS see Troubleshooting getting started 9 1 Modify the Video Parameter If using the example with multi media framework example_kvs_pro...

Page 33: ...pplication project again IAR If the source codes in library are modified the corresponding library should be rebuild Then go back to application_is project and Make again the updated library can then...

Page 34: ...4 Note If the destination path of the header is too long IAR may occur compile error You can use the absolute path instead of relative path to deal with the issue Or just move your header file to a sh...

Page 35: ...roject realtek_amebapro_v0_example inc For example if I use the sensor model IMX307 the SENSOR_USE should be defined as SENSOR_IMX307 9 6 Failed to Boot Up After Starting with a New Project If your Am...

Reviews: