File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
kinesis-video-native-build Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ #/bin/bash
2+ # Kinesis Video Producer SDK CPP build script for Amazon Linux
3+ # Run
4+ # sudo ./install-script-ami
5+
6+ mkdir -p /opt/amazon-kinesis-video-streams-producer-sdk-cpp
7+ cd /opt
8+ yum install -y autoconf automake bison bzip2 curl diffutils flex git libffi libffi-devel libtool m4 mpfr-devel pkgconfig vim wget gcc72 gcc72-c++.x86_64
9+ wget https://cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.tar.gz
10+ tar -zxvf cmake-3.2.3-Linux-x86_64.tar.gz
11+ export PATH=/opt/cmake-3.2.3-Linux-x86_64/bin/:$PATH
12+ git clone https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp.git
13+ cd /opt/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build/
14+ chmod a+x ./install-script
15+ chmod a+x ./gstreamer-plugin-install-script
16+ # ================= HTTPS Certificate =====================================================================
17+ wget https://www.amazontrust.com/repository/SFSRootCAG2.pem
18+ cp SFSRootCAG2.pem /opt/amazon-kinesis-video-streams-producer-sdk-cpp
19+ # ================ Build producer sdk and gstreamer plugin ================================================
20+ #
21+ MAX_NUM_PARALLEL=`cat /proc/cpuinfo |grep processor |wc -l`
22+ ./install-script -a -j $MAX_NUM_PARALLEL
23+ ./gstreamer-plugin-install-script
24+
25+ # Follow instructions in Github Readme https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/README.md
26+ # or https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/examples-gstreamer-plugin.html for how to run demo applications and
27+ # gst-launch-1.0 pipeline
You can’t perform that action at this time.
0 commit comments