Custom build doesn't build gstreamer tools anymore
Describe your issue
On 1.20, the following build configuration worked without problems:
meson -Dauto_features=disabled -Dbad=enabled -Dbase=enabled -Dgood=enabled -Dgst-plugins-bad:debugutils=enabled -Dgst-plugins-bad:ivfparse=enabled -Dgst-plugins-bad:v4l2codecs=enabled -Dgst-plugins-bad:vid
eoparsers=enabled -Dgst-plugins-base:app=enabled -Dgst-plugins-base:playback=enabled -Dgst-plugins-base:tools=enabled -Dgst-plugins-base:typefind=enabled -Dgst-plugins-base:videoconvert=enabled -Dgst-plugins
-good:matroska=enabled -Dgstreamer:tools=enabled -Dwrap_mode=nofallback -Dgst-plugins-good:v4l2=enabled -Dgst-plugins-base:videotestsrc=enabled -Dgst-plugins-base:rawparse=enabled build_test
What I need is bascially everything required for running a pipeline like this:
gst-launch-1.0 filesrc location=resources/JCT-VC-HEVC_V1/SAODBLK_B_MainConcept_4/SAODBLK_B_MainConcept_4/SAODBLK_B_MainConcept_4.bin ! h265parse ! v4l2slh265dec ! video/x-raw ! videoconvert dither=none ! video/x-raw,format=I420 ! videocodectestsink location=results/JCT-VC-HEVC_V1/SAODBLK_B_MainConcept_4.out
And for further debugging in case of errors.
With the latest GStreamer sources (HEAD == '7604c7b0') This build doesn't work anymore. The gstreamer tools are not built.
Expected Behavior
Creation of the same set of tools and plugins as in 1.20 with the same build configuration.
Observed Behavior
The GStreamer tools are not built.
$ ninja -C build_test
ninja: Entering directory `build_test'
[576/576] Linking target subprojects/gst-plugins-bad/sys/v4l2codecs/libgstv4l2codecs.so
$ ls build_test/subprojects/gstreamer/tools/
$
(here is the meson build log: https://paste.debian.net/1237071/)
But they are built when all GStreamer features are used, e.g: rm -rf build_test && meson build_test && ninja -C build_test
Results:
$ ls build_test/subprojects/gstreamer/tools/
gst-inspect-1.0 gst-inspect-1.0.p gst-launch-1.0 gst-launch-1.0.p gst-stats-1.0 gst-stats-1.0.p gst-typefind-1.0 gst-typefind-1.0.p
$
Setup
- Operating System: Linux apertis 5.17.0-rc1-rockpidebug2 #97 SMP PREEMPT Wed Apr 6 16:09:09 CEST 2022 aarch64 unknown unknown GNU/Linux
- Device: Computer
- GStreamer Version: GStreamer Core Library version 1.21.0.1
-
Command line:
meson -Dauto_features=disabled -Dbad=enabled -Dbase=enabled -Dgood=enabled -Dgst-plugins-bad:debugutils=enabled -Dgst-plugins-bad:ivfparse=enabled -Dgst-plugins-bad:v4l2codecs=enabled -Dgst-plugins-bad:vid eoparsers=enabled -Dgst-plugins-base:app=enabled -Dgst-plugins-base:playback=enabled -Dgst-plugins-base:tools=enabled -Dgst-plugins-base:typefind=enabled -Dgst-plugins-base:videoconvert=enabled -Dgst-plugins -good:matroska=enabled -Dgstreamer:tools=enabled -Dwrap_mode=nofallback -Dgst-plugins-good:v4l2=enabled -Dgst-plugins-base:videotestsrc=enabled -Dgst-plugins-base:rawparse=enabled build_test && ninja -C build_test
How reproducible is the bug?
Always
Solutions you have tried
I tried to build the tools in isolation, which doesn't work either. (full log: https://paste.debian.net/1237072/)
Additional question
Is there an easy way in GStreamer to figure out the minimal set of required build options to satisfy a specific command like:
gst-launch-1.0 filesrc location=resources/JCT-VC-HEVC_V1/SAODBLK_B_MainConcept_4/SAODBLK_B_MainConcept_4/SAODBLK_B_MainConcept_4.bin ! h265parse ! v4l2slh265dec ! video/x-raw ! videoconvert dither=none ! video/x-raw,format=I420 ! videocodectestsink location=results/JCT-VC-HEVC_V1/SAODBLK_B_MainConcept_4.out
?