The GStreamer Libav package contains GStreamer plugins for Libav (a fork of FFmpeg).
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.24.4.tar.xz
Download MD5 sum: 1048e9be86b4e54996aee4c5146264e4
Download size: 204 KB
Estimated disk space required: 14 MB
Estimated build time: less than 0.1 SBU
FFmpeg-7.0.1 and gst-plugins-base-1.24.4
First, fix some usage of deprecated APIs that causes a build failure:
sed -e '1375,1430d' \ -e '2058d' \ -e '2105,2140d' \ -e '2217,2221d' \ -i ext/libav/gstavdemux.c && sed -i '2122a if (!gst_element_register (plugin, type_name, rank, type)) {' ext/libav/gstavdemux.c && sed -i '272 s/gst_ffmpegdata_write/(void*)&/' ext/libav/gstavprotocol.c
Install GStreamer Libav by running the following commands:
mkdir build && cd build && meson setup .. \ --prefix=/usr \ --buildtype=release && ninja
To run the tests, issue: ninja test.
Now, as the root
user:
ninja install
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.