当前位置: 首页 > article >正文

gstream插件编译笔记【1.16.3】

gstream插件开源,可以自行选择合适的版本下载使用。

源码链接:https://github.com/GStreamer/gst-plugins-good

上不去github的,请自行选择科学上网策略。

1,进入tag选择

2,下载自己需要的版本

3,tag包解码

tar -zxvf gst-plugins-good-1.16.3.tar.gz

4,安装依赖

sudo apt-get update

sudo apt-get install build-essential libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev pkg-config

sudo apt-get install liborc-0.4-dev

sudo apt-get install meson

5,创建一个构建目录并进行配置【目录自行修改】

mkdir build

cd build

meson ..  --prefix=/home/qz/gst-plugins-good-1.16.3/install

指定编译模块:

meson ..  --prefix=/home/qz/gst-plugins-good-1.16.3/install .. -Dplugins=multifile

6,编译插件

ninja

7,安装插件

sudo ninja install

       如果设置的安装目录不是实际插件安装目录,还需要将so拷贝到真实安装目录后再查询使用:

sudo cp /home/qz/gst-plugins-good-1.16.3/build/gst/multifile/libgstmultifile.so /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstmultifile.so

8, 检查插件是否安装成功

gst-inspect-1.0 <插件名称>
$ gst-inspect-1.0 multifilesrc
Factory Details:
  Rank                     none (0)
  Long-name                Multi-File Source
  Klass                    Source/File
  Description              Read a sequentially named set of files into buffers
  Author                   David Schleef <ds@schleef.org>

Plugin Details:
  Name                     multifile
  Description              Reads/Writes buffers from/to sequentially named files
  Filename                 /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstmultifile.so
  Version                  1.16.3
  License                  LGPL
  Source module            gst-plugins-good
  Source release date      2020-10-21
  Binary package           GStreamer Good Plugins (Ubuntu)
  Origin URL               https://launchpad.net/distros/ubuntu/+source/gst-plugins-good1.0

Pads:
  SRC: 'src'
    Pad Template: 'src'

Element Properties:
  blocksize           : Size in bytes to read per buffer (-1 = default)
                        flags: readable, writable
                        Unsigned Integer. Range: 0 - 4294967295 Default: 4096 
  caps                : Caps describing the format of the data.
                        flags: readable, writable
                        Caps (NULL)
  do-timestamp        : Apply current stream time to buffers
                        flags: readable, writable
                        Boolean. Default: false
  index               : Index to use with location property to create file names.  The index is incremented by one for each buffer read.
                        flags: readable, writable
                        Integer. Range: 0 - 2147483647 Default: 0 
  location            : Pattern to create file names of input files.  File names are created by calling sprintf() with the pattern and the current index.
                        flags: readable, writable
                        String. Default: "%05d"
  loop                : Whether to repeat from the beginning when all files have been read.
                        flags: readable, writable
                        Boolean. Default: false
  name                : The name of the object
                        flags: readable, writable
                        String. Default: "multifilesrc0"
  num-buffers         : Number of buffers to output before sending EOS (-1 = unlimited)
                        flags: readable, writable
                        Integer. Range: -1 - 2147483647 Default: -1 
  parent              : The parent of the object
                        flags: readable, writable
                        Object of type "GstObject"
  start-index         : Start value of index.  The initial value of index can be set either by setting index or start-index.  When the end of the loop is reached, the index will be set to the value start-index.
                        flags: readable, writable
                        Integer. Range: 0 - 2147483647 Default: 0 
  stop-index          : Stop value of index.  The special value -1 means no stop.
                        flags: readable, writable
                        Integer. Range: -1 - 2147483647 Default: -1 
  typefind            : Run typefind before negotiating (deprecated, non-functional)
                        flags: readable, writable, deprecated
                        Boolean. Default: false

http://www.kler.cn/a/406826.html

相关文章:

  • 仿axios,封装微信小程序的请求
  • Vue移动端网页(H5)预览pdf文件(pdfh5和vue-pdf)(很详细)
  • RHCD-----shell
  • 【Isaac Sim】相关问题汇总
  • CANDENCE: 绘制好的封装元件 刷新(Refresh) 和 替换 (Replace)焊盘
  • 【多模态】Flamingo模型技术学习
  • 瑞佑液晶控制芯片RA6807系列介绍 (三)软件代码详解 Part.9(PNG透明图片的显示)
  • 110. UE5 GAS RPG 实现玩家角色数据存档
  • 大模型专栏--什么是大模型
  • CIO40: 数字化转型之U型思考
  • Vue 学习随笔系列十七 -- 表格样式修改
  • C语言:共用体
  • Discuz论坛网站管理员的默认用户名admin怎么修改啊?
  • 【C++】友元friend的含义和用法
  • Java项目实战II基于SpringBoot的共享单车管理系统开发文档+数据库+源码)
  • pve 磁盘选错位置修改
  • MySQL系列之远程管理(安全)
  • 鸿蒙进阶-状态管理
  • 力扣-位运算-1【算法学习day.41】
  • 《深入浅出HTTPS​​​​​​​​​》读书笔记(9):对称加密算法