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

网站建设佰金手指科杰十三南京市住宅建设总公司网站

网站建设佰金手指科杰十三,南京市住宅建设总公司网站,可以自己做网站服务器不,辽宁建设工程信息网场内业绩系列文章目录 创建 gstreamer 插件的几种方式 使用 gst-template 创建自己的 gstreamer 插件 使用 gst-plugins-bad 里面的 gst-element-maker 工具创建gstreamer 插件 使用 gst-element-maker 创建一个完全透传的 videofilter 插件 文章目录 系列文章目录前言一、使用gst-ele…系列文章目录 创建 gstreamer 插件的几种方式 使用 gst-template 创建自己的 gstreamer 插件 使用 gst-plugins-bad 里面的 gst-element-maker 工具创建gstreamer 插件 使用 gst-element-maker 创建一个完全透传的 videofilter 插件 文章目录 系列文章目录前言一、使用gst-element-maker 创建一个videofilter 插件1. 使用 gst-element-maker 基于videofilter 基类模板创建一个 g2dfilter 插件2. 修改 g2dfilter 插件源码,支持透传功能3. 编译修改后添加透传功能的 g2dfilter 插件4. 本地电脑安装 g2dfilter 插件 二、测试 g2dfilter 插件的透传功能总结参考资料 前言 本文主要介绍如何使用gst-plugins-bad 里面的 gst-element-maker 工具创建一个基于 videofilter base class 的透传功能videofilter gstreamer插件(上一篇文章 使用 gst-plugins-bad 里面的 gst-element-maker 工具创建gstreamer 插件 只是创建了一个最基础的videofilter 插件,但是它不支持透传功能,即进入该插件 sink pad 的数据不能从该插件的 src pad 发送出去) 软硬件环境: ubuntu18.04 meson 0.55.0 gstreamer 1.14.5 ninja 1.8.2 python 3.6.9 一、使用gst-element-maker 创建一个videofilter 插件 1. 使用 gst-element-maker 基于videofilter 基类模板创建一个 g2dfilter 插件 如下图所示,使用 gst-element-maker g2dfilter videofilter 命令生成 g2dfilter 插件相关的代码 cd gst-plugins-bad/tools ./gst-element-maker g2dfilter videofilter2. 修改 g2dfilter 插件源码,支持透传功能 如下图所示,在 gstg2dfilter.c 文件中的 **gst_g2dfilter_start() **函数中添加一句 gst_base_transform_set_passthrough(trans, TRUE) 函数调用,就实现了透传功能, 至于gst_base_transform_set_passthrough() 函数的相关说明,请参考 gstreamer官网 GstBaseTransform 基类的相关资料 修改后的完整的gstg2dfilter.c 代码(包括添加的一些打印信息)如下: /* GStreamer* Copyright (C) 2023 FIXME fixme@example.com** This library is free software; you can redistribute it and/or* modify it under the terms of the GNU Library General Public* License as published by the Free Software Foundation; either* version 2 of the License, or (at your option) any later version.** This library is distributed in the hope that it will be useful,* but WITHOUT ANY WARRANTY; without even the implied warranty of* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU* Library General Public License for more details.** You should have received a copy of the GNU Library General Public* License along with this library; if not, write to the* Free Software Foundation, Inc., 51 Franklin Street, Suite 500,* Boston, MA 02110-1335, USA.*/ /*** SECTION:element-gstg2dfilter** The g2dfilter element does FIXME stuff.** refsect2* titleExample launch line/title* |[* gst-launch-1.0 -v fakesrc ! g2dfilter ! FIXME ! fakesink* ]|* FIXME Describe what the pipeline does.* /refsect2*/#ifdef HAVE_CONFIG_H #include "config.h" #endif#include stdint.h #include gst/gst.h #include gst/video/video.h #include gst/video/gstvideofilter.h #include "gstg2dfilter.h"GST_DEBUG_CATEGORY_STATIC (gst_g2dfilter_debug_category); #define GST_CAT_DEFAULT gst_g2dfilter_debug_category/* prototypes */static void gst_g2dfilter_set_property (GObject * object,guint property_id, const GValue * value, GParamSpec * pspec); static void gst_g2dfilter_get_property (GObject * object,guint property_id, GValue * value, GParamSpec * pspec); static void gst_g2dfilter_dispose (GObject * object); static void gst_g2dfilter_finalize (GObject * object);static gboolean gst_g2dfilter_start (GstBaseTransform
http://www.dnsts.com.cn/news/160405.html

相关文章:

  • 服务器网站建设宁波做网站哪家公司好
  • dede cms 网站模板上海市建设安全协会网站
  • 长沙县建设局网站如何做网站流量统计
  • 企业网站都是静态的吗南充市房地产网官方网站
  • 网络优化网站网站设计 现在流行的导航方式
  • 适合大学生做的兼职网站深圳网站开发外包
  • 织梦 一键更新后网站空白高新区规划建设局网站
  • 手机屏幕网站seo实训思考与总结
  • 天蓝色网站做网站的价格
  • 网站建设的前期开发宁波网站建设网页设计
  • 设计工作网站wordpress文章大网站
  • 可信网站认证必需做吧外贸网站 模板
  • 做网站资源管理是新余+网站建设
  • 网站建设需要用到哪些软件有哪些长春有几个站可以坐火车
  • 怎么建网站赚钱重庆智能网站建设费用
  • 常州网站建设价格兰州生活网
  • 深圳龙霸网站建设标志空间网站
  • 科技部网站改版方案做网站py和php
  • 提供网站建设服务平台怀化网站优化公司有哪些
  • 网站 管理未备案网站
  • 二手房中介网站建设泰州网站制作专业
  • 网站服务器速度公司单位名称大全
  • 社区网站建设平台深圳企业网站备案
  • 国外网站空间购买广东海外建设监理有限公司网站
  • 商城网站开发业务天津哪里能做网站
  • 网站建设合同需要注意什么校园网站开发技术
  • 贸易类文章网站无锡网站建设专家
  • 软件公司网站模版延边州网站建设
  • 婚庆网站建设必要性如何进行网络推广和宣传
  • 乐都网站建设公司wordpress504