一、下载软件
两个包
https://gstreamer.freedesktop.org/download/#macos
二、安装
无法打开“gstreamer-1.0-devel-1.20.3-universal.pkg”,因为它来自身份不明的开发者。
解决办法
不要双击pkg文件,改成选中文件之后,鼠标右键,选择“打开方式->安装器(默认)”,即可继续安装。
在Mac OS X Mavericks上安装Gstreamer-1.0(Installing Gstreamer-1.0 on Mac OS X Mavericks)_电脑培训
三、运行
gst-device-monitor-1.0
看是否成功。如果不成功,还要 找到软件安装的位置
vim ~/.bash_profile
添加一行
export PATH=${PATH}:/Library/Frameworks/GStreamer.framework/Versions/1.0/bin
四、cpp插件的安装
Note: You will also need to install pkg-config
, CMake
, m4
and a build enviroment. If you are building the GStreamer plugin you will also need GStreamer and GStreamer (Development Libraries).
这两个包 GStreamer and GStreamer (Development Libraries). 就是一下载软件的两个包。
1、下载cpp的包
2、export GST_PLUGIN_PATH=/Users/guoxingdeng/Cppproject/amazon-kinesis-video-streams-producer-sdk-cpp/build
五、看是否安装好了
gst-inspect-1.0 kvssink