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

GStreamer源码安装1.24版本

  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.kler.cn/a/557782.html

相关文章:

  • 项目POC的作用是什么
  • 机器学习模型训练超参数优化使用sklearn库里网格搜索(Grid Search)方法所有参数含义解释
  • 1.9 重叠因子:中点价格(MidPoint over period, MIDPOINT)概念与Python实战
  • halcon 条形码、二维码识别、opencv识别
  • 亚马逊爬虫还有哪些注意事项?
  • 【Kafka系列】Kafka 消息传递保障机制
  • 尝试在exo集群下使用deepseek模型:第一步,调通llama
  • 合并区间(56)
  • 在群晖上使用Docker安装思源笔记
  • 力扣每日一题【算法学习day.132】
  • React进阶之前端业务Hooks库(二)
  • 【Java基础-49.1】Java线程池之FixedThreadPool:使用、原理与应用场景详解
  • 【个人开源】——从零开始在高通手机上部署sd(一)
  • ath9k(Atheros芯片)开源驱动之wifi连接
  • 探寻 AI 发展新航道:下一个 “S 曲线” 的突破点在哪?
  • 蓝桥杯 1.语言基础
  • 深蓝学院自主泊车第3次作业-IPM
  • SQL面试题集:识别互相关注的用户
  • 八股文实战之JUC:静态方法的锁和普通方法的锁
  • go json处理 encoding/json 查询和修改gjson/sjson