GStreamer API学习记录(一)

GStreamer API学习记录(一)

学习环境

gst官网首页
GStreamer-devel
Gst API
在IMX6.0,飞凌嵌入式开发板上验证学习。GST API,界面框架用QT5 QML。


Gst API

1、Environment variables

GST_PLUGIN_SYSTEM_PATH, GST_PLUGIN_SYSTEM_PATH_1_0
GST_PLUGIN_PATH, GST_PLUGIN_PATH_1_0.
GST_DEBUG.
GST_DEBUG_NO_COLOR.
GST_DEBUG_COLOR_MODE.
GST_DEBUG_OPTIONS.
GST_DEBUG_DUMP_DOT_DIR.
GST_REGISTRY, GST_REGISTRY_1_0.
GST_REGISTRY_FORK.
GST_REGISTRY_UPDATE.
GST_TRACE.
GST_DEBUG_FILE.
....
以GST_DEBUG_XXX为例测试环境变量的效果。
export GST_DEBUG=3,


2、Initializing the gstreamer library

gst_init
Initializing own parameters when initializing gstreamer
gst_deinit ()
gst_init_check
gst_init_get_option_group
gst_is_initialized
gst_segtrap_is_enabled
gst_segtrap_set_enabled
gst_version
gst_version_string


3、GstAtomicQueue

The GstAtomicQueue object implements a queue that can be used from multiple threads without performing any blocking operations.

4、GstBin

API:

GstElement *
gst_bin_new (const gchar * name)
gboolean
gst_bin_add (GstBin * bin,
             GstElement * element)
gst_bin_add_many (GstBin * bin,
                  GstElement * element_1,
                  ... ...)
GstPad *
gst_bin_find_unlinked_pad (GstBin * bin,
                           GstPadDirection direction)

gst_bin_get_by_interface
gst_bin_get_by_name
gst_bin_get_by_name_recurse_up
gst_bin_get_suppressed_flags
gst_bin_iterate_all_by_element_factory_name
gst_bin_iterate_all_by_interface
gst_bin_iterate_elements
gst_bin_iterate_recurse
gst_bin_iterate_sinks
gst_bin_iterate_sorted
gst_bin_iterate_sources
gst_bin_recalculate_latency
gst_bin_remove
gst_bin_remove_many
gst_bin_set_suppressed_flags
gst_bin_sync_children_states

posted @   wuya178  阅读(655)  评论(0编辑  收藏  举报
编辑推荐:
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 一文读懂知识蒸馏
· 终于写完轮子一部分:tcp代理 了,记录一下
点击右上角即可分享
微信分享提示