安裝軟體先決條件 - Amazon Kinesis Video Streams

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

安裝軟體先決條件

C++ 生產者SDK會要求您在 Raspberry Pi 上安裝下列軟體先決條件。

  1. 更新套件清單,並安裝建置 所需的程式庫SDK。輸入下列命令:

    sudo apt update sudo apt install -y \ automake \ build-essential \ cmake \ git \ gstreamer1.0-plugins-base-apps \ gstreamer1.0-plugins-bad \ gstreamer1.0-plugins-good \ gstreamer1.0-plugins-ugly \ gstreamer1.0-tools \ gstreamer1.0-omx-generic \ libcurl4-openssl-dev \ libgstreamer1.0-dev \ libgstreamer-plugins-base1.0-dev \ liblog4cplus-dev \ libssl-dev \ pkg-config
  2. 如果您使用的是 libcamera堆疊,請同時安裝 libcamerasrc GStreamer 外掛程式。預設不會安裝此GStreamer外掛程式。

    sudo apt-get install gstreamer1.0-libcamera
  3. 將下列PEM檔案複製到 /etc/ssl/cert.pem

    sudo curl https://www.amazontrust.com/repository/AmazonRootCA1.pem -o /etc/ssl/AmazonRootCA1.pem sudo chmod 644 /etc/ssl/AmazonRootCA1.pem