In this step, we will install Amazon Kinesis Video Streams Producer SDK C++ on your Raspberry Pi
Execute the following commands in the Raspberry Pi terminal.
cd
git clone --recursive https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp.git
If you forgot to add --recursive
to the command, execute the following command.
cd ~/amazon-kinesis-video-streams-producer-sdk-cpp
git submodule update --init
This step will take about 10 to 15 minutes to complete. You may proceed “Creating a Stream” and “Downloading the video for playback” steps of 1-3-b while you are waiting.
The following command downloads and builds the dependent libraries. This command will take about 10 minutes to complete.
mkdir -p ~/amazon-kinesis-video-streams-producer-sdk-cpp/build
cd ~/amazon-kinesis-video-streams-producer-sdk-cpp/build
cmake -DBUILD_GSTREAMER_PLUGIN=ON ..
Then run the following command to build the SDK, which will take about several minutes.
make
Now that you have set up Amazon Kinesis Video Streams Producer SDK C++, let’s run the sample application.