Gstreamer开发

作者

QQ群:852283276
微信:arm80x86
微信公众号:青儿创客基地
B站:主页 https://space.bilibili.com/208826118

Gstreamer使用

gstreamer应用笔记
gst常用测试参数
采用gst-launch命令进行linux屏幕录制
ximagesrc
Gstreamer视频传输测试gst-launch

Gstreamer开发

Installing on Linux
Basic tutorial 1: Hello world!
嵌入式Linux下Gstreamer编程示例
2018-01-03 gstreamer编程入门
如何阅读GStreamer源代码?
Gstreamer基础教程1:hello world! python
gst_init之后如何再打开GST DEBUG呢?

ubuntu

安装,其中gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5找不到,可删去,

$ sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio

编译,gcc编译使用下面命令,快速添加头文件和库路径,

pkg-config --cflags --libs gstreamer-1.0

pipeline

gst_parse_launch创建的pipeline获取element,可以使用,

GstElement *
gst_bin_get_by_name (GstBin * bin,
                     const gchar * name)
//or
GstIterator *
gst_bin_iterate_all_by_element_factory_name (GstBin * bin,
                                             const gchar * factory_name)

Gstreamer Plugin开发

GStreamer Writer’s Guide
Gstreamer Plugin/Application 主要函数学习
如何编译Build一个GStreamer的Plugin
gstreamer插件指南
Gstreamer中的sink插件及区别
Gstreamer之Caps协商

  g_object_class_install_property (gobject_class, PROP_CONFIG_INTERVAL,
      g_param_spec_int ("config-interval",
          "VPS SPS PPS Send Interval",
          "Send VPS, SPS and PPS Insertion Interval in seconds (sprop parameter sets "
          "will be multiplexed in the data stream when detected.) "
          "(0 = disabled, -1 = send with every IDR frame)",
          -1, 3600, DEFAULT_CONFIG_INTERVAL,
          G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));

SEI信息

GStreamer】基于NTP+SEI的视频流传输时延测量
GStreamer h264插入sei帧
FFmpeg从入门到精通——进阶篇,SEI那些事儿
H.264里的SEI——自定义信息(SEI)
FFmpeg H264增加SEI
linux进程通信———有名管道FIFO
linux 进程间通信-FIFO(有名管道)
Gobject专栏索引

错误码

h264parse plugin的错误码在gstpad.h中,

  /* core predefined */
  GST_FLOW_OK		  =  0,
  /* expected failures */
  GST_FLOW_NOT_LINKED     = -1,
  GST_FLOW_FLUSHING       = -2,
  /* error cases */
  GST_FLOW_EOS            = -3,
  GST_FLOW_NOT_NEGOTIATED = -4,
  GST_FLOW_ERROR	  = -5,
  GST_FLOW_NOT_SUPPORTED  = -6,
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值