GStreamer源码安装1.24版本

news/2025/2/23 23:14:50
  1. 从官网下载 1.24的源码包 https://gitlab.freedesktop.org/gstreamer/gstreamer/-/tree/1.24?ref_type=heads#getting-started ,尝试过使用git clone 的方式,但速度贼慢,就选择了下载源码包的方式
  2. 安装依赖 sudo apt install libssl-dev g++
meson setup --reconfigure -Ddebug=true --optimization=0 -Dgst-plugins-bad:openh264=enabled -Dgst-plugins-bad:x265=enabled -Dlibsoup:sysporf=disabled -Dgpl=enabled --prefix=`pwd`/opt  builddir

执行这条命令,需要临时下载很多源码包,没有梯子到这就停止了吧
4. 运行完后就是久违的画面

    harfbuzz                   : YES 2 warnings (from gst-plugins-base => pango)
    json-glib                  : YES 1 warnings (from gst-plugins-bad)
    lame                       : YES 1 warnings (from gst-plugins-good)
    libdrm                     : YES 2 warnings (from gst-plugins-base)
    libffi                     : YES 1 warnings (from gstreamer => glib)
    libgudev                   : NO Dependency "libudev" not found, tried pkgconfig and cmake
    libjpeg-turbo              : YES (from gst-plugins-good)
    libmicrodns                : YES (from gst-plugins-bad)
    libnice                    : YES
    libopenjp2                 : YES (from gst-plugins-bad)
    libpng                     : YES (from gst-plugins-base => pango => harfbuzz => freetype2)
    libsoup                    : NO In subproject libsoup: Unknown options: "libsoup:sysporf"
    libsrtp2                   : YES 1 warnings (from gst-plugins-bad)
    libxml2                    : YES 2 warnings (from gst-plugins-good)
    ntv2                       : YES (from gst-plugins-bad)
    ogg                        : YES (from gst-plugins-base)
    openh264                   : YES 1 warnings (from gst-plugins-bad)
    opus                       : YES 1 warnings (from gst-plugins-base)
    orc                        : YES
    pango                      : YES (from gst-plugins-base)
    pcre2                      : YES 1 warnings (from gstreamer => glib)
    pixman                     : YES (from gst-plugins-base => pango => cairo)
    tinyalsa                   : NO Neither a subproject directory nor a tinyalsa.wrap file was found.
    vorbis                     : YES (from gst-plugins-base)
    vpx                        : YES (from gst-plugins-good)
    zlib                       : YES (from gstreamer => glib)

  User defined options
    debug                      : true
    optimization               : 0
    gpl                        : enabled
    gst-plugins-bad:openh264   : enabled
    gst-plugins-bad:x265       : enabled
    libsoup:sysporf            : disabled

Found ninja-1.11.1 at /usr/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
  1. 然后执行ninja -C install builddir 开始编译并安装,安装后的内容如下
    在这里插入图片描述

http://www.niftyadmin.cn/n/5863855.html

相关文章

【Leetcode 每日一题】2506. 统计相似字符串对的数目

问题背景 给你一个下标从 0 0 0 开始的字符串数组 w o r d s words words。 如果两个字符串由相同的字符组成,则认为这两个字符串 相似 。 例如,“abca” 和 “cba” 相似,因为它们都由字符 ‘a’、‘b’、‘c’ 组成。然而,“…

八大排序算法(1)插入排序-直接插入排序 和 希尔排序

直接插入排序(Insertion Sort) 直接插入排序是最基本的插入排序算法,工作原理如下: 从第二个元素开始,将其与前面已经排好序的部分进行比较。 找到合适的位置后,将该元素插入到合适的位置,同…

【20250221更新】WebStorm2024.3.3版本安装+使用方法

1、官网下载正版WebStorm,链接如下 Thank you for downloading WebStorm! 2、获取使用教程,给博主留言【压缩包有密码,见下面】 通过百度网盘分享的文件:【2025022… 链接:https://pan.baidu.com/s/1UMMEDKbRwlGcffAhOlwR5g?pw…

华为guass在dbever和springboot配置操作

下面记录华为guass在dbever和springboot配置操作,以备忘。 1、安装dbeaver-ce-23.2.0-x86_64-setup.exe和驱动程序 Download | DBeaver Community 2、配置高斯数据库驱动 3、新建数据库连接 4、操作指引 opengauss官方文档 https://docs-opengauss.osinfra.cn/zh…

商业航天级微控制器单元(MCU)技术特征分析

在商业航天及特种工业控制领域,微控制器单元(MCU)的抗辐射性能与系统可靠性直接关系到设备在极端环境下的运行效能。国科安芯AS32S601系列MCU基于自主RISC-V架构,其180MHz(AS32S601)的工作频率与抗辐射加固设计,为航天…

C++跨平台开发:策略与实践在软件开发领域

在软件开发领域,跨平台能力意味着一个应用程序可以在不同的操作系统上运行,无需针对每个平台单独编写代码。C作为一种强大的编程语言,因其高效性和灵活性,在跨平台开发领域有着广泛的应用。本文将探讨C跨平台开发的关键策略与实践…

【操作幂等和数据一致性】保障业务在MySQL和COS对象存储的一致

业务场景 发布信息,更新到数据库MySQLCOS操作,更新JSON文件 不过可能存在幂等性和数据一致性的问题。 // 批量存MySQL entityPublishService.saveOrUpdateBatch(entityPublishList); // 遍历批量存COS对象存储searchEntitys.forEach(req -> {//删除…

国产编辑器EverEdit - 在编辑器中对文本进行排序

1 排序 1.1 应用场景 某些场景下用户需要对文本进行排序,比如:用户正在编辑函数列表,对函数列表按名称按字母A-Z排序。 1.2 使用方法 1.2.1 对选中文本进行排序 在编辑器中选中要排序的文本。选择主菜单工具 -> 排序 -> 升序排序 如…