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++
bash 复制代码
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

执行这条命令,需要临时下载很多源码包,没有梯子到这就停止了吧

  1. 运行完后就是久违的画面
bash 复制代码
    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 开始编译并安装,安装后的内容如下
相关推荐
程序猿玖月柒1 个月前
常见的多媒体框架(FFmpeg GStreamer DirectShow AVFoundation OpenMax)
ffmpeg·音视频·gstreamer·openmax·directshow·avfoundation
芥末的无奈1 个月前
GStreamer 简明教程(九):插件开发,以一个音频特效插件为例
音视频·gstreamer
、、、、南山小雨、、、、2 个月前
打包arm gstreamer镜像
gstreamer
skynetkang3 个月前
摄像头原始数据读取——gstreamer(gst_parse_launch)
linux·c++·音视频·gstreamer
冰山一脚20134 个月前
Gstreamer的webrtcbin插件
gstreamer
allnlei5 个月前
fixation - gst_base_src_fixate
gstreamer
选与握6 个月前
gstreamer系列 -- 获取媒体信息
媒体·gstreamer
ykun08910 个月前
[GStreamer][LearnGst] setup.sh 脚本
gstreamer
micro99811 年前
gstreamer udp rtp发送本地视频文件
gstreamer