-
gstreamer的介绍:
https://thebigdoc.readthedocs.io/en/latest/gstreamer/index.html -
查看gstreamer的插件
gst-inspect-1.0 -
查看gsteamer的版本
gst-launch-1.0 --gst-version -
找不到xxx的插件
如果安装了good、bad、ugly,那么一般的插件都会有的。但是本人运行gst-launch-1.0遇到了错误:”错误: 无法创建管道: 无组件alsasink“,原因是安装了anaconda,且在~/.bashrc中有:
export PATH="/home/jason/anaconda3/bin:$PATH"
anaconda中安装了另一个版本的gstreamer,可能未安装对应的插件。
解决方法:直接删除anaconda之后,正常(注释掉~/.bashrc应该也可以,但是没试)。 -
测试播放音频
gst-launch-1.0 filesrc location=SpringAllegro.mp3 ! decodebin ! audioconvert ! alsasink
-
QGroundcontrol
PX4用gstreamer来发送视频:
https://dev.px4.io/en/qgc/video_streaming.html
QGC用gstreamer来接收:
https://github.com/mavlink/qgroundcontrol/blob/master/src/VideoStreaming/README.md
gstreamer相关
最新推荐文章于 2024-04-02 15:45:02 发布