aws篇9

Ubuntu系统安装 Gstrame

1、安装先决条件,基础组件

https://docs.aws.amazon.com/zh_cn/kinesisvideostreams/latest/dg/producer-sdk-cpp.html

2、下载代码、安装插件

https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp

如果碰到更换清华源,报这个错

Fix apt-get update “the following signatures couldn’t be verified because the public key is not available”

参考这篇文章解决:

Fix apt-get update “the following signatures couldn’t be verified because the public key is not available” :: Chris Jean

3、验证

# 是否能执行?
gst-launch-1.0

# 查看有哪些元素
gst-inspect-1.0

## 这个插件是否正确安装

gst-inspect-1.0 kvssink

四、将数据发送到视频流

https://docs.aws.amazon.com/zh_cn/kinesisvideostreams/latest/dg/gs-send-data.html

报错

WARNING: erroneous pipeline: no element "h264parse"

还是要安装成功这个包。

sudo apt-get install gstreamer1.0-plugins-bad

其中上面这个包,很容易报错。只有更换为阿里云的软件源才能   apt-get install成功。

https://forums.developer.nvidia.com/t/l4t-r24-1-warning-erroneous-pipeline-no-element-h264parse/42898

五、可以演示的视频

st-launch-1.0 videotestsrc name=a a.src ! b.sink autovideosink name=b
cd /home/bluewelkin/gst-docs/examples/tutorials
./basic-tutorial-1

其他参考文章:

https://blog.csdn.net/gaoyichuan5500/article/details/122127382

了解如何使用

https://gstreamer.freedesktop.org/documentation/tutorials/basic/index.html?gi-language=c

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值