GStreamer issueshttps://gitlab.freedesktop.org/groups/gstreamer/-/issues2023-11-22T06:10:01Zhttps://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/450Cannot build libvpx anymore2023-11-22T06:10:01ZPieter JordaanCannot build libvpx anymoreSince commit https://gitlab.freedesktop.org/gstreamer/cerbero/-/commit/ffefd2fa8ad61fc3342f3a64a617bb4f1b1290d8 libvpx fails to build on ubuntu-20.04-based build environment.
```0.475 + ./cerbero-uninstalled -v qt5 -v v4l2 -v vaapi pack...Since commit https://gitlab.freedesktop.org/gstreamer/cerbero/-/commit/ffefd2fa8ad61fc3342f3a64a617bb4f1b1290d8 libvpx fails to build on ubuntu-20.04-based build environment.
```0.475 + ./cerbero-uninstalled -v qt5 -v v4l2 -v vaapi package --offline -t --compress-method xz gstreamer-1.0
0.550 WARNING: Running as root
0.609 Build tools install prefix will be /builds/cerbero/build/build-tools
0.613 Install prefix will be /builds/cerbero/build/dist/linux_x86_64
0.756 Building the following recipes: libffi zlib pcre2 glib bash-completion libunwind gobject-introspection gstreamer-1.0 libogg libpng pixman expat bzip2 freetype fontconfig cairo fribidi harfbuzz pango libtheora libvorbis orc opus graphene libjpeg-turbo cdparanoia gst-plugins-base-1.0 gst-shell speex tiff gdk-pixbuf libxml2 glib-networking libpsl sqlite3 libsoup mpg123 lame wavpack flac taglib libvpx libdv opencore-amr gst-plugins-good-1.0 libass openh264 librtmp libsrtp libdca libdvdread libdvdnav libnice soundtouch vo-aacenc libcroco librsvg openjpeg spandsp webrtc-audio-processing sbc ladspa srt zbar libltc gst-plugins-bad-1.0 a52dec x264 gst-plugins-ugly-1.0 dav1d gst-plugins-rs json-glib gstreamer-vaapi-1.0 gst-rtsp-server-1.0 ffmpeg gst-libav-1.0 gst-devtools-1.0 gst-editing-services-1.0
0.860 Building using 20 job(s) with the following job subdivisions: compile: 3, install: 1, extract: 1, fetch: 2, and 13 general job(s)
0.874 [(1/78) zlib -> already built]
0.874 [(2/78) libffi -> already built]
0.874 [(3/78) cdparanoia -> already built]
0.874 [(4/78) pcre2 -> already built]
0.874 [(5/78) glib -> already built]
0.875 [(6/78) libjpeg-turbo -> already built]
0.875 [(7/78) libpng -> already built]
0.875 [(8/78) bzip2 -> already built]
0.876 [(9/78) fribidi -> already built]
0.876 [(10/78) expat -> already built]
0.877 [(11/78) gobject-introspection -> already built]
0.877 [(12/78) libunwind -> already built]
0.877 [(13/78) bash-completion -> already built]
0.877 [(14/78) gstreamer-1.0 -> already built]
0.878 [(15/78) freetype -> already built]
0.878 [(16/78) tiff -> already built]
0.878 [(17/78) spandsp -> already built]
0.878 [(18/78) pixman -> already built]
0.878 [(19/78) fontconfig -> already built]
0.878 [(20/78) cairo -> already built]
0.878 [(21/78) libxml2 -> already built]
0.878 [(22/78) graphene -> already built]
0.878 [(23/78) opus -> already built]
0.878 [(24/78) gdk-pixbuf -> already built]
0.878 [(25/78) libdvdread -> already built]
0.878 [(26/78) libdca -> already built]
0.879 [(27/78) openjpeg -> already built]
0.879 [(28/78) librtmp -> already built]
0.879 [(29/78) webrtc-audio-processing -> already built]
0.879 [(30/78) openh264 -> already built]
0.879 [(31/78) sbc -> already built]
0.879 [(33/78) orc -> already built]
0.879 [(34/78) zbar -> already built]
0.879 [(35/78) libogg -> already built]
0.880 [(36/78) libtheora -> already built]
0.880 [(37/78) libvorbis -> already built]
0.880 [(38/78) ladspa -> already built]
0.880 [(39/78) libsrtp -> already built]
0.880 [(40/78) harfbuzz -> already built]
0.881 [(41/78) pango -> already built]
0.881 [(42/78) gst-plugins-base-1.0 -> already built]
0.881 [(43/78) libltc -> already built]
0.881 [(44/78) libass -> already built]
0.881 [(45/78) libcroco -> already built]
0.881 [(46/78) librsvg -> already built]
0.881 [(47/78) soundtouch -> already built]
0.881 [(48/78) libdvdnav -> already built]
0.881 [(49/78) vo-aacenc -> already built]
0.881 [(50/78) srt -> already built]
0.881 [(51/78) json-glib -> already built]
0.881 [(52/78) glib-networking -> already built]
0.881 [(53/78) sqlite3 -> already built]
0.881 [(54/78) libpsl -> already built]
0.882 [(55/78) opencore-amr -> already built]
0.882 [(56/78) taglib -> already built]
0.882 [(57/78) wavpack -> already built]
0.883 [(58/78) libsoup -> already built]
0.883 [(59/78) flac -> already built]
0.883 [(60/78) libdv -> already built]
0.883 [(61/78) mpg123 -> already built]
0.883 [(62/78) speex -> already built]
0.883 [(63/78) lame -> already built]
0.883 [(64/78) libvpx -> already built]
0.884 [(65/78) x264 -> already built]
0.884 [(66/78) dav1d -> already built]
0.885 [(68/78) ffmpeg -> already built]
0.886 [(69/78) a52dec -> already built]
0.888 [(71/78) gst-libav-1.0 -> already built]
0.889 [(32/78 @ 87%) libnice -> fetch]
0.891 [(67/78 @ 87%) gst-plugins-good-1.0 -> fetch]
0.894 [(72/78 @ 87%) gst-plugins-ugly-1.0 -> fetch]
0.894 [(32/78 @ 88%) libnice -> extract]
0.953 [(32/78 @ 88%) libnice -> configure]
0.957 [(70/78 @ 88%) gst-shell -> fetch]
0.959 [(67/78 @ 88%) gst-plugins-good-1.0 -> extract]
1.507 [(32/78 @ 88%) libnice -> compile]
2.080 [(70/78 @ 88%) gst-shell -> extract]
2.082 [(72/78 @ 88%) gst-plugins-ugly-1.0 -> extract]
2.083 [(67/78 @ 88%) gst-plugins-good-1.0 -> configure]
2.085 [(70/78 @ 89%) gst-shell -> configure]
2.088 [(72/78 @ 89%) gst-plugins-ugly-1.0 -> configure]
2.091 [(70/78 @ 90%) gst-shell -> compile]
2.093 [(70/78 @ 90%) gst-shell -> install]
2.095 [(70/78 @ 90%) gst-shell -> post_install]
3.169 [(32/78 @ 90%) libnice -> install]
3.186 [(72/78 @ 91%) gst-plugins-ugly-1.0 -> compile]
3.513 [(32/78 @ 91%) libnice -> post_install]
3.516 [(73/78 @ 91%) gst-plugins-bad-1.0 -> fetch]
3.516 [(73/78 @ 91%) gst-plugins-bad-1.0 -> extract]
3.517 [(73/78 @ 91%) gst-plugins-bad-1.0 -> configure]
4.264 -----> Contents of /builds/cerbero/build/logs/linux_x86_64/gst-plugins-good-1.0-fetch.log:
4.264 Running command ['git', 'remote', 'add', 'origin', 'https://gitlab.freedesktop.org/gstreamer/gstreamer.git'] in /root/.cache/cerbero-sources/gstreamer-1.0
4.264 fatal: remote origin already exists.
4.264 Running command ['git', 'remote', 'set-url', 'origin', 'https://gitlab.freedesktop.org/gstreamer/gstreamer.git'] in /root/.cache/cerbero-sources/gstreamer-1.0
4.264 Running command ['git', 'reset', '--hard', 'origin/main'] in /root/.cache/cerbero-sources/gstreamer-1.0
4.264 HEAD is now at 889a3fe932 rtmp2: Set default flash version to NULL
4.264
4.264 -----> Contents of /builds/cerbero/build/logs/linux_x86_64/gst-plugins-good-1.0-extract.log:
4.264 Running command ['git', 'rev-parse', 'origin/main'] in /root/.cache/cerbero-sources/gstreamer-1.0
4.264 Running command ['git', 'rev-parse', 'HEAD'] in /builds/cerbero/build/sources/linux_x86_64/gstreamer-1.0
4.264 Running command ['git', 'checkout', 'origin/main', '-B', 'cerbero_build'] in /root/.cache/cerbero-sources/gstreamer-1.0
4.264 Reset branch 'cerbero_build'
4.264 Branch 'cerbero_build' set up to track remote branch 'main' from 'origin'.
4.264 Your branch is up to date with 'origin/main'.
4.264 Running command ['git', 'clone', '/root/.cache/cerbero-sources/gstreamer-1.0', '-s', '-b', 'cerbero_build', '.'] in /builds/cerbero/build/sources/linux_x86_64/gstreamer-1.0
4.264 Cloning into '.'...
4.264 done.
4.264 Running command ['git', 'config', 'user.email'] in /builds/cerbero/build/sources/linux_x86_64/gstreamer-1.0
4.264 Running command ['git', 'config', 'user.email', 'cerbero@gstreamer.freedesktop.org'] in /builds/cerbero/build/sources/linux_x86_64/gstreamer-1.0
4.264 Running command ['git', 'config', 'user.name'] in /builds/cerbero/build/sources/linux_x86_64/gstreamer-1.0
4.264 Running command ['git', 'config', 'user.name', 'Cerbero Build System'] in /builds/cerbero/build/sources/linux_x86_64/gstreamer-1.0
4.264
4.264 -----> Contents of /builds/cerbero/build/logs/linux_x86_64/gst-plugins-good-1.0-configure.log:
4.264 Running command ['/builds/cerbero/build/build-tools/bin/meson', 'setup', '--prefix=/builds/cerbero/build/dist/linux_x86_64', '--libdir=lib/x86_64-linux-gnu', '-Ddebug=true', '--default-library=both', '-Doptimization=2', '--backend=ninja', '--wrap-mode=nodownload', '-Dpkgconfig.relocatable=true', '--native-file', '/builds/cerbero/build/sources/linux_x86_64/gstreamer-1.0/subprojects/gst-plugins-good/_builddir/meson-native-file.txt', '-Damrnb=enabled', '-Damrwbdec=enabled', '-Dadaptivedemux2=enabled', '-Dcairo=enabled', '-Ddv=enabled', '-Dflac=enabled', '-Dgdk-pixbuf=enabled', '-Djpeg=enabled', '-Dlame=enabled', '-Dmpg123=enabled', '-Dpng=enabled', '-Dsoup=enabled', '-Dspeex=enabled', '-Dtaglib=enabled', '-Dvpx=enabled', '-Dwavpack=enabled', '-Daalib=disabled', '-Ddv1394=disabled', '-Dgtk3=disabled', '-Djack=enabled', '-Dlibcaca=disabled', '-Doss=disabled', '-Doss4=disabled', '-Dqt5=enabled', '-Dqt6=disabled', '-Dshout2=disabled', '-Dtwolame=disabled', '-Dwaveform=disabled', '-Dv4l2=enabled', '-Dximagesrc=enabled', '-Dpulse=enabled', '-Dexamples=disabled'] in /builds/cerbero/build/sources/linux_x86_64/gstreamer-1.0/subprojects/gst-plugins-good/_builddir
4.264 DEPRECATION: c_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
4.264 DEPRECATION: cpp_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
4.264 DEPRECATION: objc_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
4.264 DEPRECATION: objcpp_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
4.264 DEPRECATION: c_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
4.264 DEPRECATION: cpp_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
4.264 DEPRECATION: objc_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
4.264 DEPRECATION: objcpp_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
4.264 The Meson build system
4.264 Version: 1.1.1
4.264 Source dir: /builds/cerbero/build/sources/linux_x86_64/gstreamer-1.0/subprojects/gst-plugins-good
4.264 Build dir: /builds/cerbero/build/sources/linux_x86_64/gstreamer-1.0/subprojects/gst-plugins-good/_builddir
4.264 Build type: native build
4.264 Project name: gst-plugins-good
4.264 Project version: 1.23.0.1
4.264 C compiler for the host machine: gcc (gcc 13.1.0 "gcc (Ubuntu 13.1.0-8ubuntu1~20.04.2) 13.1.0")
4.264 C linker for the host machine: gcc ld.bfd 2.34
4.264 Host machine cpu family: x86_64
4.264 Host machine cpu: x86_64
4.264 C++ compiler for the host machine: g++ (gcc 13.1.0 "g++ (Ubuntu 13.1.0-8ubuntu1~20.04.2) 13.1.0")
4.264 C++ linker for the host machine: g++ ld.bfd 2.34
4.264 Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES
4.264 Compiler for C++ supports link arguments -Wl,-Bsymbolic-functions: YES
4.264 Compiler for C supports link arguments -Wl,-z,nodelete: YES
4.264 Compiler for C++ supports link arguments -Wl,-z,nodelete: YES
4.264 Compiler for C supports arguments -fvisibility=hidden: YES
4.264 Compiler for C supports arguments -fno-strict-aliasing: YES
4.264 Message: Disabling deprecated GLib API
4.264 Has header "dlfcn.h" : YES
4.264 Has header "fcntl.h" : YES
4.264 Has header "inttypes.h" : YES
4.264 Has header "memory.h" : YES
4.264 Has header "process.h" : NO
4.264 Has header "stdint.h" : YES
4.264 Has header "stdlib.h" : YES
4.264 Has header "strings.h" : YES
4.264 Has header "string.h" : YES
4.264 Has header "sys/ioctl.h" : YES
4.264 Has header "sys/param.h" : YES
4.264 Has header "sys/socket.h" : YES
4.264 Has header "sys/stat.h" : YES
4.264 Has header "sys/time.h" : YES
4.264 Has header "sys/types.h" : YES
4.264 Has header "unistd.h" : YES
4.264 Library m found: YES
4.264 Checking for function "asinh" with dependency -lm: YES
4.264 Checking for function "clock_gettime" with dependency -lm: YES
4.264 Checking for function "cosh" with dependency -lm: YES
4.264 Checking for function "dcgettext" with dependency -lm: YES
4.264 Checking for function "getpagesize" with dependency -lm: YES
4.264 Checking for function "isinf" with dependency -lm: YES
4.264 Checking for function "mmap" with dependency -lm: YES
4.264 Checking for function "mmap64" with dependency -lm: NO
4.264 Checking for function "sinh" with dependency -lm: YES
4.264 Checking for function "gmtime_r" with dependency -lm: YES
4.264 Checking for size of "char" : 1
4.264 Checking for size of "int" : 4
4.264 Checking for size of "long" : 8
4.264 Checking for size of "short" : 2
4.264 Checking for size of "void*" : 8
4.264 Checking for size of "off_t" : 8
4.264 Header "dlfcn.h" has symbol "RTLD_NOLOAD" : YES
4.264 Compiler for C supports arguments -Wmissing-declarations: YES
4.264 Compiler for C++ supports arguments -Wmissing-declarations: YES
4.264 Compiler for C supports arguments -Wredundant-decls: YES
4.264 Compiler for C++ supports arguments -Wredundant-decls: YES
4.264 Compiler for C supports arguments -Wwrite-strings: YES
4.264 Compiler for C++ supports arguments -Wwrite-strings: YES
4.264 Compiler for C supports arguments -Winit-self: YES
4.264 Compiler for C++ supports arguments -Winit-self: YES
4.264 Compiler for C supports arguments -Wmissing-include-dirs: YES
4.264 Compiler for C++ supports arguments -Wmissing-include-dirs: YES
4.264 Compiler for C supports arguments -Wno-multichar: YES
4.264 Compiler for C++ supports arguments -Wno-multichar: YES
4.264 Compiler for C supports arguments -Wvla: YES
4.264 Compiler for C++ supports arguments -Wvla: YES
4.264 Compiler for C supports arguments -Wpointer-arith: YES
4.264 Compiler for C++ supports arguments -Wpointer-arith: YES
4.264 Compiler for C supports arguments -Wmissing-prototypes: YES
4.264 Compiler for C supports arguments -Wold-style-definition: YES
4.264 Compiler for C supports arguments -Waggregate-return: YES
4.264 Found pkg-config: /builds/cerbero/build/build-tools/bin/pkg-config (0.29.2)
4.264 Run-time dependency gstreamer-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-base-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-net-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-controller-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-check-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-pbutils-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-allocators-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-app-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-audio-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-fft-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-riff-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-rtp-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-rtsp-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-sdp-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-tag-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-video-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-gl-1.0 found: YES 1.23.0.1
4.264 Message: GStreamer OpenGL window systems: x11
4.264 Message: GStreamer OpenGL platforms: egl glx
4.264 Message: GStreamer OpenGL apis: gles2 gl
4.264 Run-time dependency gstreamer-gl-prototypes-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-gl-x11-1.0 found: YES 1.23.0.1
4.264 Run-time dependency gstreamer-gl-egl-1.0 found: YES 1.23.0.1
4.264 Run-time dependency zlib found: YES 1.2.11
4.264 Run-time dependency gio-2.0 found: YES 2.74.4
4.264 Run-time dependency gmodule-no-export-2.0 found: YES 2.74.4
4.264 Run-time dependency orc-0.4 found: YES 0.4.34
4.264 Program orcc found: YES (/builds/cerbero/build/dist/linux_x86_64/bin/orcc)
4.264 Fetching value of define "__ILP32__" :
4.264 Program nasm found: YES (/usr/bin/nasm)
4.264 Message: nasm found on x86-64
4.264 Header "gst/gstconfig.h" has symbol "GST_DISABLE_GST_DEBUG" with dependency gstreamer-1.0: NO
4.264 Message: GStreamer debug system is enabled
4.264 Program python3 found: YES (/usr/bin/python3)
4.264 Message: Nasm configured on x86-64
4.264 Library bz2 found: YES
4.264 Has header "bzlib.h" : YES
4.264 Message: Not building Open Sound System 4 plugin, required headers not found.
4.264 Has header "linux/videodev2.h" : YES
4.264 Message: building v4l2 plugin
4.264 Run-time dependency gudev-1.0 found: YES 233
4.264 WARNING: Found CMake '/usr/bin/false' but couldn't run it
4.264 Found CMake: NO
4.264 Run-time dependency libv4l2 found: NO (tried pkgconfig and cmake)
4.264 Run-time dependency x11 found: YES 1.6.9
4.264 Run-time dependency xext found: YES 1.3.4
4.264 Checking for function "XShmAttach" with dependency xext: YES
4.264 Run-time dependency xfixes found: YES 5.0.3
4.264 Run-time dependency xdamage found: YES 1.1.5
4.264 Run-time dependency libxml-2.0 found: YES 2.9.9
4.264 Run-time dependency nettle found: NO (tried pkgconfig and cmake)
4.264 Library gcrypt found: NO
4.264 Run-time dependency openssl found: YES 1.1.1f
4.264 Run-time dependency libsoup-2.4 found: YES 2.74.3
4.264 Run-time dependency libsoup-3.0 found: NO (tried pkgconfig and cmake)
4.264 Looking for a fallback subproject for the dependency libsoup-3.0
4.264 Neither a subproject directory nor a libsoup3.wrap file was found.
4.264 Subproject libsoup3 is buildable: NO (disabling)
4.264 Dependency libsoup-3.0 from subproject libsoup3 found: NO (subproject failed to configure)
4.264 Library dl found: YES
4.264 Run-time dependency opencore-amrnb found: YES 0.1.6
4.264 Run-time dependency opencore-amrwb found: YES 0.1.6
4.264 Run-time dependency cairo-gobject found: YES 1.17.4
4.264 Run-time dependency flac found: YES 1.3.3
4.264 Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.10
4.264 Dependency gtk+-3.0 skipped: feature gtk3 disabled
4.264 Run-time dependency libjpeg found: YES 1.5.3
4.264 Library mp3lame found: YES
4.264 Header "lame/lame.h" has symbol "lame_init" : YES
4.264 Header "lame/lame.h" has symbol "lame_set_VBR_quality" : YES
4.264 Header "lame/lame.h" has symbol "MEDIUM" : YES
4.264 Dependency caca skipped: feature libcaca disabled
4.264 Run-time dependency libdv found: YES 1.0.0
4.264 Run-time dependency libpng found: YES 1.6.37
4.264 Run-time dependency libmpg123 found: YES 1.26.3
4.264 Dependency libraw1394 skipped: feature dv1394 disabled
4.264 Dependency libavc1394 skipped: feature dv1394 disabled
4.264 Dependency libiec61883 skipped: feature dv1394 disabled
4.264 Detecting Qt5 tools
4.264 Run-time dependency qt5 (modules: Core) found: YES 5.15.2 (pkg-config)
4.264 Program /opt/Qt/5.15.2/gcc_64/bin/moc found: YES 5.15.2 (/opt/Qt/5.15.2/gcc_64/bin/moc)
4.264 Program /opt/Qt/5.15.2/gcc_64/bin/uic found: YES 5.15.2 (/opt/Qt/5.15.2/gcc_64/bin/uic)
4.264 Program /opt/Qt/5.15.2/gcc_64/bin/rcc found: YES 5.15.2 (/opt/Qt/5.15.2/gcc_64/bin/rcc)
4.264 Program /opt/Qt/5.15.2/gcc_64/bin/lrelease found: YES 5.15.2 (/opt/Qt/5.15.2/gcc_64/bin/lrelease)
4.264 Run-time dependency qt5 (modules: Core, Gui, Qml, Quick) found: YES 5.15.2 (pkg-config)
4.264 Has header "5.15.2/QtGui/qpa/qplatformnativeinterface.h" with dependencies Qt5Core, Qt5Core, Qt5Gui, Qt5Qml, Qt5Quick: YES
4.264 Message: Found QtGui QPA header in 5.15.2/QtGui
4.264 Run-time dependency qt5 (modules: X11Extras) found: YES 5.15.2 (pkg-config)
4.264 Run-time dependency libpulse found: YES 13.99.1
4.264 Dependency shout skipped: feature shout2 disabled
4.264 Library dl found: YES
4.264 Dependency libsoup-2.4 found: YES 2.74.3 (cached)
4.264 Run-time dependency libsoup-3.0 found: NO (tried pkgconfig and cmake)
4.264 Looking for a fallback subproject for the dependency libsoup-3.0
4.264 Dependency libsoup-3.0 from subproject libsoup3 found: NO (subproject failed to configure)
4.264 Message: soup plugin: using libsoup-2.4 for static build
4.264 Run-time dependency speex found: YES 1.2.1
4.264 Run-time dependency taglib found: YES 1.11.1
4.264 Compiler for C++ supports arguments -fvisibility=hidden: YES
4.264 Compiler for C++ supports arguments -fno-strict-aliasing: YES
4.264 Dependency twolame skipped: feature twolame disabled
4.264 Run-time dependency vpx found: YES 1.13.0
4.264 Message: libvpx does not provide VP8 encoder interface (vpx_codec_vp8_cx_algo)
4.264 Message: libvpx does not provide VP8 decoder interface (vpx_codec_vp8_dx_algo)
4.264 Message: libvpx does not provide VP9 encoder interface (vpx_codec_vp9_cx_algo)
4.264 Message: libvpx does not provide VP9 decoder interface (vpx_codec_vp9_dx_algo)
4.264
4.264 ../ext/vpx/meson.build:64:6: ERROR: Problem encountered: libvpx was built without any encoder or decoder features!
4.264
4.264 A full log can be found at /builds/cerbero/build/sources/linux_x86_64/gstreamer-1.0/subprojects/gst-plugins-good/_builddir/meson-logs/meson-log.txt
4.267 ***** Error running 'package' command:
4.267 Recipe 'gst-plugins-good-1.0' failed at the build step 'configure'
4.267 Command Error: Running ['/builds/cerbero/build/build-tools/bin/meson', 'setup', '--prefix=/builds/cerbero/build/dist/linux_x86_64', '--libdir=lib/x86_64-linux-gnu', '-Ddebug=true', '--default-library=both', '-Doptimization=2', '--backend=ninja', '--wrap-mode=nodownload', '-Dpkgconfig.relocatable=true', '--native-file', '/builds/cerbero/build/sources/linux_x86_64/gstreamer-1.0/subprojects/gst-plugins-good/_builddir/meson-native-file.txt', '-Damrnb=enabled', '-Damrwbdec=enabled', '-Dadaptivedemux2=enabled', '-Dcairo=enabled', '-Ddv=enabled', '-Dflac=enabled', '-Dgdk-pixbuf=enabled', '-Djpeg=enabled', '-Dlame=enabled', '-Dmpg123=enabled', '-Dpng=enabled', '-Dsoup=enabled', '-Dspeex=enabled', '-Dtaglib=enabled', '-Dvpx=enabled', '-Dwavpack=enabled', '-Daalib=disabled', '-Ddv1394=disabled', '-Dgtk3=disabled', '-Djack=enabled', '-Dlibcaca=disabled', '-Doss=disabled', '-Doss4=disabled', '-Dqt5=enabled', '-Dqt6=disabled', '-Dshout2=disabled', '-Dtwolame=disabled', '-Dwaveform=disabled', '-Dv4l2=enabled', '-Dximagesrc=enabled', '-Dpulse=enabled', '-Dexamples=disabled'] returned 1
4.267 Output in logfile /builds/cerbero/build/logs/linux_x86_64/gst-plugins-good-1.0-configure.log
4.267
4.267
------
Dockerfile:89
--------------------
87 | # RUN ./cerbero-uninstalled -v qt5 -v v4l2 -v vaapi bootstrap -y --system=no --toolchains=yes --build-tools=yes --offline
88 | #RUN ./cerbero-uninstalled -v qt5 -v v4l2 -v vaapi -c config/linux.config package gstreamer-1.0 --offline -t --compress-method xz
89 | >>> RUN --mount=type=cache,target=/root/.cache/cerbero-sources ./cerbero-uninstalled -v qt5 -v v4l2 -v vaapi package --offline -t --compress-method xz gstreamer-1.0
90 | # RUN pip3 install meson
91 | # RUN apt-get -qq install -y --no-install-recommends \
--------------------
ERROR: failed to solve: process "/bin/bash -xo pipefail -c ./cerbero-uninstalled -v qt5 -v v4l2 -v vaapi package --offline -t --compress-method xz gstreamer-1.0" did not complete successfully: exit code: 1```amysparkamysparkhttps://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/313can not build with android ndk 21 on mac(Big Sur)2021-10-26T16:09:10ZYuiYeong Jocan not build with android ndk 21 on mac(Big Sur)Following is my steps.
```shell
$ git clone https://github.com/GStreamer/cerbero.git
$ cd cerbero
$ ./cerbero-uninstalled -c config/cross-android-universal.cbc bootstrap # Success
$ ./cerbero-uninstalled -c config/cross-...Following is my steps.
```shell
$ git clone https://github.com/GStreamer/cerbero.git
$ cd cerbero
$ ./cerbero-uninstalled -c config/cross-android-universal.cbc bootstrap # Success
$ ./cerbero-uninstalled -c config/cross-android-universal.cbc package gstreamer-1.0 # FAIL..
```
But, when i built it with cross-ios-universal.cbc, it was built(success!).
log says `pnglibconf.c:34:11: fatal error: 'zlib.h' file not found`
but there is zlib, and `./cerbero-uninstalled -c config/cross-android-universal.cbc build zlib' was also worked.
here is comile step's log
```
#/cerbero/build/logs/android_armv7/libpng-compile.log
Running command 'make V=1 -j8'
rm -f pnglibconf.c pnglibconf.tf[45]
awk -f ./scripts/options.awk out=pnglibconf.tf4 version=search\
./pngconf.h ./scripts/pnglibconf.dfa\
./pngusr.dfa 1>&2
awk -f ./scripts/options.awk out=pnglibconf.tf5 pnglibconf.tf4 1>&2
rm pnglibconf.tf4
mv pnglibconf.tf5 pnglibconf.c
rm -f pnglibconf.out pnglibconf.tf[12]
test -d scripts || mkdir scripts || test -d scripts
/Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -E -DHAVE_CONFIG_H -I. \
-DANDROID -DPIC -D__ANDROID_API__=26 -Wall -g -Os -DPNGLIB_LIBNAME='PNG16_0' -DPNGLIB_VERSION='1.6.37' -DSYMBOL_PREFIX='_' -DPNG_NO_USE_READ_MACROS -DPNG_BUILDING_SYMBOL_TABLE pnglibconf.c > pnglibconf.tf1
pnglibconf.c:34:11: fatal error: 'zlib.h' file not found
# include <zlib.h>
^~~~~~~~
1 error generated.
make: *** [pnglibconf.out] Error 1
```
And this is configure step's log
```
#/cerbero/build/logs/android_armv7/libpng-configure.log
CERBERO: copying /Users/joyuiyeong/cerbero/data/autotools/config.guess to /Users/joyuiyeong/cerbero/build/sources/android_universal/arm64/libpng-1.6.37/config.guess
CERBERO: copying /Users/joyuiyeong/cerbero/data/autotools/config.sub to /Users/joyuiyeong/cerbero/build/sources/android_universal/arm64/libpng-1.6.37/config.sub
CERBERO: copying /Users/joyuiyeong/cerbero/build/build-tools/share/libtool/build-aux/ltmain.sh to /Users/joyuiyeong/cerbero/build/sources/android_universal/arm64/libpng-1.6.37/ltmain.sh
Running command 'sh -c './configure --prefix /Users/joyuiyeong/cerbero/build/dist/android_universal/arm64 --libdir /Users/joyuiyeong/cerbero/build/dist/android_universal/arm64/lib --with-pic --disable-maintainer-mode --disable-silent-rules --disable-gtk-doc --disable-introspection --host=aarch64-linux-android --disable-arm-neon ''
configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-introspection
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for aarch64-linux-android-strip... aarch64-linux-android-strip
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for aarch64-linux-android-gcc... /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target aarch64-none-linux-android --sysroot /Users/joyuiyeong/cerbero/build/android-ndk-21/platforms/android-26/arch-arm64
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target aarch64-none-linux-android --sysroot /Users/joyuiyeong/cerbero/build/android-ndk-21/platforms/android-26/arch-arm64 accepts -g... yes
checking for /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target aarch64-none-linux-android --sysroot /Users/joyuiyeong/cerbero/build/android-ndk-21/platforms/android-26/arch-arm64 option to accept ISO C89... none needed
checking whether /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target aarch64-none-linux-android --sysroot /Users/joyuiyeong/cerbero/build/android-ndk-21/platforms/android-26/arch-arm64 understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target aarch64-none-linux-android --sysroot /Users/joyuiyeong/cerbero/build/android-ndk-21/platforms/android-26/arch-arm64... gcc3
checking dependency style of /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target aarch64-none-linux-android --sysroot /Users/joyuiyeong/cerbero/build/android-ndk-21/platforms/android-26/arch-arm64... gcc3
checking build system type... x86_64-apple-darwin20.2.0
checking host system type... aarch64-unknown-linux-android
checking for a sed that does not truncate output... /Users/joyuiyeong/cerbero/build/build-tools/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking how to print strings... printf
checking for ld used by /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target aarch64-none-linux-android --sysroot /Users/joyuiyeong/cerbero/build/android-ndk-21/platforms/android-26/arch-arm64... aarch64-linux-android-ld.gold
checking if the linker (aarch64-linux-android-ld.gold) is GNU ld... yes
checking how to run the C preprocessor... /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -E
checking for gawk... (cached) awk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for BSD- or MS-compatible name lister (nm)... aarch64-linux-android-nm
checking the name lister (aarch64-linux-android-nm) interface... BSD nm
checking the maximum length of command line arguments... 786432
checking how to convert x86_64-apple-darwin20.2.0 file names to aarch64-unknown-linux-android format... func_convert_file_noop
checking how to convert x86_64-apple-darwin20.2.0 file names to toolchain format... func_convert_file_noop
checking for aarch64-linux-android-ld.gold option to reload object files... -r
checking for aarch64-linux-android-objdump... aarch64-linux-android-objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-linux-android-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for aarch64-linux-android-ar... aarch64-linux-android-ar
checking for archiver @FILE support... @
checking for aarch64-linux-android-strip... (cached) aarch64-linux-android-strip
checking for aarch64-linux-android-ranlib... aarch64-linux-android-ranlib
checking command to parse aarch64-linux-android-nm output from /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target aarch64-none-linux-android --sysroot /Users/joyuiyeong/cerbero/build/android-ndk-21/platforms/android-26/arch-arm64 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for aarch64-linux-android-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target aarch64-none-linux-android --sysroot /Users/joyuiyeong/cerbero/build/android-ndk-21/platforms/android-26/arch-arm64 supports -fno-rtti -fno-exceptions... yes
checking for /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target aarch64-none-linux-android --sysroot /Users/joyuiyeong/cerbero/build/android-ndk-21/platforms/android-26/arch-arm64 option to produce PIC... -fPIC -DPIC
checking if /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target aarch64-none-linux-android --sysroot /Users/joyuiyeong/cerbero/build/android-ndk-21/platforms/android-26/arch-arm64 PIC flag -fPIC -DPIC works... yes
checking if /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target aarch64-none-linux-android --sysroot /Users/joyuiyeong/cerbero/build/android-ndk-21/platforms/android-26/arch-arm64 static flag -static works... yes
checking if /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target aarch64-none-linux-android --sysroot /Users/joyuiyeong/cerbero/build/android-ndk-21/platforms/android-26/arch-arm64 supports -c -o file.o... yes
checking if /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target aarch64-none-linux-android --sysroot /Users/joyuiyeong/cerbero/build/android-ndk-21/platforms/android-26/arch-arm64 supports -c -o file.o... (cached) yes
checking whether the /Users/joyuiyeong/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target aarch64-none-linux-android --sysroot /Users/joyuiyeong/cerbero/build/android-ndk-21/platforms/android-26/arch-arm64 linker (aarch64-linux-android-ld.gold) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... Android linker
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking that AWK works... ok
checking if we need to force back C standard to C89... no
checking for ANSI C header files... (cached) no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for C/C++ restrict keyword... __restrict
checking for working strtod... no
checking for pow... no
checking for pow in -lm... yes
checking for pow... (cached) no
checking for pow in -lm... (cached) yes
checking for clock_gettime... yes
checking for zlibVersion in -lz... yes
checking for feenableexcept in -lm... yes
checking for feenableexcept... yes
checking if using Solaris linker... no
checking if libraries can be versioned... yes
checking for symbol prefix... _
configure: pkgconfig directory is ${libdir}/pkgconfig
configure: Extra options for compiler:
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libpng.pc
config.status: creating libpng-config
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-introspection
```
**What am I wrong?**https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/882Cannot capture window image with ximagesrc and xid : X reports invalid parame...2021-09-24T13:34:27ZYann SalmonCannot capture window image with ximagesrc and xid : X reports invalid parameter attributesI am trying to pinpoint why I sometimes (and unpredictably !) get a black video instead of the image of the selected window in Kazam screencast. It uses GStreamer for capturing so I tried to run a capture using the command line example i...I am trying to pinpoint why I sometimes (and unpredictably !) get a black video instead of the image of the selected window in Kazam screencast. It uses GStreamer for capturing so I tried to run a capture using the command line example in the GStreamer documentation.
I can (seemingly always) capture the whole desktop with
``gst-launch-1.0 ximagesrc ! video/x-raw,framerate=5/1 ! videoconvert ! theoraenc ! oggmux ! filesink location=/tmp/desktop.ogg``
However, specifying an xid gives various results. Sometimes it just works. Sometimes it fails with
```
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 130 (MIT-SHM)
Minor opcode of failed request: 4 (X_ShmGetImage)
Serial number of failed request: 42
Current serial number in output stream: 42
```
Sometimes it seems to start recording normally but on Ctrl-C'ing it, it says
```
^Chandling interrupt.
Interruption : arrêt du pipeline…
Execution ended after 0:00:04.728716374
Définition du pipeline à PAUSED...
Définition du pipeline à READY (prêt)…
```
then seems to stall for several minutes before concluding
```
Définition du pipeline à NULL…
Libération du pipeline…
```
and the resulting video is a corrupted file.
This is with
GStreamer 1.16.2
X.Org X Server 1.20.9
kernel 5.8.0-50-lowlatency
KUbuntu 20.04
KDE Framework 5.68.0
nvidia driver, 460.73.01
Capturing the same window with OBS works without a problem on the same system.https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1393Cannot change playback rate when using parsers only in playbin sinks2024-03-07T05:24:20ZShlomi AmitCannot change playback rate when using parsers only in playbin sinksHi.
I have an application which is using the following pipeline:
```
playbin uri=https://SOME_DASH_HOST/manifest.mpd connection-speed=1000 \
video-sink="h264parse config-interval=-1 ! video/x-h264,stream-format=byte-stream ! appsink ...Hi.
I have an application which is using the following pipeline:
```
playbin uri=https://SOME_DASH_HOST/manifest.mpd connection-speed=1000 \
video-sink="h264parse config-interval=-1 ! video/x-h264,stream-format=byte-stream ! appsink name=video" \
audio-sink="audioconvert ! audioresample ! opusenc ! appsink name=audio"
```
My application is able to change the playback rate using the following call (pipeline variable in this case is playbin):
```
gst_element_seek(pipeline, rate, GST_FORMAT_TIME,
GST_SEEK_FLAG_INSTANT_RATE_CHANGE,
GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE,
GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE)
```
I'm not trying to change the pipeline so it will not re-encode to opus, and will pass the aac frames to the application, using the following pipeline:
```
playbin uri=https://SOME_DASH_HOST/manifest.mpd connection-speed=1000 \
video-sink="h264parse config-interval=-1 ! video/x-h264,stream-format=byte-stream ! appsink name=video" \
audio-sink="aacparse ! appsink name=audio"
```
However, with this pipeline, changing the playback rate is failing.
At the begining I thought the issue is with aacparse, but I've found out that using the following pipeline, playback rate is updated succesfully:
```
playbin uri=https://SOME_DASH_HOST/manifest.mpd connection-speed=1000 \
video-sink="fakesink" \
audio-sink="aacparse ! appsink name=audio"
```
In the logs, it doesn't seem fakesink is really plugged, since I see logs from gstvideodecoder and avdec_h264...
I've also tried similar pipeline using h264parse and opusparse, and change playback rate doesn't work as well...
So... Is the "magic" of playback rate change is being done only by encoders / decoders and not parser plugins?
I see the following baseparse logs both for aacparse and h264parse , not sure this is the cause of the issue though... (Attached more detailed logs which contains logs of before & after the seek event)
```
Log: DEBUG baseparse 0:00:13.407456300 gstbaseparse.c:4581:gst_base_parse_handle_seek:<aacparse0> seek to format time, rate 1.250000, start type 0 at 99:99:99.999999999, end type 0 at 99:99:99.999999999
Log: DEBUG baseparse 0:00:13.407474200 gstbaseparse.c:4829:gst_base_parse_handle_seek:<aacparse0> unsupported seek type.
```
I'll appriciate your help with this issue.
Gstreamer version 1.18.4
Logs are with GST_DEBUG=5 for the following pipeline:
```
playbin uri=https://SOME_DASH_HOST/manifest.mpd connection-speed=1000 \
video-sink="h264parse config-interval=-1 ! video/x-h264,stream-format=byte-stream ! appsink name=video" \
audio-sink="aacparse ! appsink name=audio"
```
[pipeline_log.zip](/uploads/2568cca988d4c2342ad4837ca44fedfc/pipeline_log.zip)https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1478Cannot change source latency (source::latency) for uridecodebin3 (while uride...2022-10-07T05:44:58ZVincas DargisCannot change source latency (source::latency) for uridecodebin3 (while uridecodebin works) via gst-launch-1.0OS: Debian 11 and Sid with GStreamer 1.18.4 and 1.20.3
If I use pipeline like this:
```
gst-launch-1.0 uridecodebin "uri=rtsp://u:p@192.168.1.14:554/av0_0" ! glimagesink
```
I get about ~2s video latency.
But, with help of post https:/...OS: Debian 11 and Sid with GStreamer 1.18.4 and 1.20.3
If I use pipeline like this:
```
gst-launch-1.0 uridecodebin "uri=rtsp://u:p@192.168.1.14:554/av0_0" ! glimagesink
```
I get about ~2s video latency.
But, with help of post https://gstreamer-devel.narkive.com/34gdoXTs/setting-module-properties-for-a-bin-through-cli, I've discovered that you CAN change latency parameter (for internal rtspsrc?):
```
gst-launch-1.0 uridecodebin source::latency=100 "uri=rtsp://u:p@192.168.1.14:554/av0_0" ! glimagesink
```
Resulting video latency is amazingly good, almost completely real-time, which is important for my use case.
Though it "feels" as `uridecodebin` does not utilize `rtpjitterbuffer`? Video from IP cameras can be rather "choppy".
I've tried to use `uridecodebin3` with hope that it will be better, but it's latency is huge, and same `source::latency=100` trick does not seem to work:
```
gst-launch-1.0 uridecodebin3 source::latency=100 "uri=rtsp://u:p@192.168.1.14:554/av0_0" ! glimagesink
```
I get same ~2s latency as with original `uridecodebin` without `source::latency=100` set.
Alternative is to use almost-completely-manual pipeline, which produces very low latency, and choppy-less-ness :) but with disadvantage that I have to specify h265/h265/mjpeg/... codecs for different streams manually, while uridecodebin[3] would automate this:
```
gst-launch-1.0 rtspsrc "location=rtsp://u:p@192.168.1.14:554/av0_0" latency=100 ! rtpjitterbuffer latency=100 ! rtph264depay ! h264parse ! decodebin3 ! glimagesink
```https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/60cannot compile with ndk-r16 and 1.14.x2020-07-18T10:46:55ZBugzilla Migration Usercannot compile with ndk-r16 and 1.14.x## Submitted by Abu Abdulla
**[Link to original bug (#796336)](https://bugzilla.gnome.org/show_bug.cgi?id=796336)**
## Description
i couldn't manage to compile any code on windows. previous version
(ndk-r15 with gst-1.12.1) was wo...## Submitted by Abu Abdulla
**[Link to original bug (#796336)](https://bugzilla.gnome.org/show_bug.cgi?id=796336)**
## Description
i couldn't manage to compile any code on windows. previous version
(ndk-r15 with gst-1.12.1) was working fine. the same example is not
working with 1.14 and ndk-r16
*********************************
```
process_begin: CreateProcess(NULL,
C:/Users/oracle/Desktop/android-ndk-r16b/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
-MMD -MP -MF E:/MyApp/app/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/objs-debug/player/player.o.d
-gcc-toolchain C:/Users/oracle/Desktop/android-ndk-r16b/build//../toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64
-target aarch64-none-linux-android -ffunction-sections -funwind-tables
-fstack-protector-strong -fpic -Wno-invalid-command-line-argument
-Wno-unused-command-line-argument -no-canonical-prefixes -g -O0
-UNDEBUG -fno-limit-debug-info
-IC:\Users\oracle\Desktop\gstreamer-1.0-android-universal-1.14.1/arm64/include
-IC:\Users\oracle\Desktop\gstreamer-1.0-android-universal-1.14.1/arm64/include/gstreamer-1.0
-IC:\Users\oracle\Desktop\gstreamer-1.0-android-universal-1.14.1/arm64/include/glib-2.0
-IC:\Users\oracle\Desktop\gstreamer-1.0-android-universal-1.14.1/arm64/lib/glib-2.0/include
-IC:/Users/oracle/Desktop/gstreamer-1.0-android-universal-1.14.1/arm64/include/gstreamer-1.0
-IC:/Users/oracle/Desktop/gstreamer-1.0-android-universal-1.14.1/arm64/include/glib-2.0
-IC:/Users/oracle/Desktop/gstreamer-1.0-android-universal-1.14.1/arm64/lib/glib-2.0/include
-IC:/Users/oracle/Desktop/gstreamer-1.0-android-universal-1.14.1/arm64/include/orc-0.4
-IC:/Users/oracle/Desktop/gstreamer-1.0-android-universal-1.14.1/arm64/include
-IE:/MyApp/app/src/main/jni -DANDROID -D__ANDROID_API__=21
-Wa,--noexecstack -Wformat -Werror=format-security --sysroot
C:/Users/oracle/Desktop/android-ndk-r16b/build//../sysroot -isystem
C:/Users/oracle/Desktop/android-ndk-r16b/build//../sysroot/usr/include/aarch64-linux-android
-c E:/MyApp/app/src/main/jni/player.c -o
E:/MyApp/app/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/objs-debug/player/player.o,
...) failed.
make (e=2): The system cannot find the file specified.
make: *** [E:/MyApp/app/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/objs-debug/player/player.o]
Error 2
```
******************************************
first point is the wrong folder. i need to rename:
`android-ndk-r16b\toolchains\aarch64-linux-android-4.9\prebuilt\windows`
to:
`android-ndk-r16b\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64`
then another issue about gold.exe not found so i change:
`GSTREAMER_LD := -fuse-ld=gold$(EXE_SUFFIX)`
to
`GSTREAMER_LD := -fuse-ld=gold`
in `gstreamer-1.0.mk`
then another issue:
************************
```
Build command failed.
Error while executing process C:\Users\oracle\Desktop\android-ndk-r16b\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=E:\MyApp\app\src\main\jni\Android.mk NDK_APPLICATION_MK=E:\MyApp\app\src\main\jni\Application.mk APP_ABI=arm64-v8a NDK_ALL_ABIS=arm64-v8a NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=E:/MyApp/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=E:\MyApp\app\build\intermediates\ndkBuild\debug\lib NDK_APPLICATION_MK=src/main/jni/Application.mk GSTREAMER_JAVA_SRC_DIR=src/main/java GSTREAMER_ROOT_ANDROID=C:\Users\oracle\Desktop\gstreamer-1.0-android-universal-1.14.1 GSTREAMER_ASSETS_DIR=src/main/assets E:/MyApp/app/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/libplayer.so}
[arm64-v8a] "Compile ": "player <= player.c"
"GStreamer : [GEN] => gst-build-arm64-v8a/gstreamer_android.c"
"GStreamer : [COMPILE] => gst-build-arm64-v8a/gstreamer_android.c"
"GStreamer : [LINK] => gst-build-arm64-v8a/libgstreamer_android.so"
collect2.exe: fatal error: cannot find 'ld'
compilation terminated.
make: *** [buildsharedlibrary_arm64-v8a] Error 1
``
*******************
Version: 1.14.1https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/179Can not convert the color space to BGR10A2_LE2019-09-11T04:21:15ZHe JunyanCan not convert the color space to BGR10A2_LEThe pipeline:
gst-launch-1.0 videotestsrc num-buffers=30 ! capsfilter caps=video/x-raw,format=P010_10LE,width=1920,height=1080 ! vaapipostproc format=bgr10a2-le ! filesink location=a.yuv
Can not workThe pipeline:
gst-launch-1.0 videotestsrc num-buffers=30 ! capsfilter caps=video/x-raw,format=P010_10LE,width=1920,height=1080 ! vaapipostproc format=bgr10a2-le ! filesink location=a.yuv
Can not workhttps://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/180Can not covert RGBx and RGBA to NV12 using vaapipostproc for iHD driver2019-09-09T05:56:44ZHe JunyanCan not covert RGBx and RGBA to NV12 using vaapipostproc for iHD drivergst-launch-1.0 videotestsrc ! capsfilter caps=video/x-raw,format=RGBx,width=800,height=600 ! vaapipostproc ! video/x-raw,format=NV12 ! vaapisink
failed on iHD driver
But i965 can workgst-launch-1.0 videotestsrc ! capsfilter caps=video/x-raw,format=RGBx,width=800,height=600 ! vaapipostproc ! video/x-raw,format=NV12 ! vaapisink
failed on iHD driver
But i965 can workhttps://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/290Cannot create a gst step event2020-10-28T12:41:14ZHassan MuhammadCannot create a gst step eventHi. I am trying the [gstreamer example # 13](https://gstreamer.freedesktop.org/documentation/tutorials/basic/playback-speed.html?gi-language=c) that uses keyboard events to create pipeline events to change playback speed, skip a single f...Hi. I am trying the [gstreamer example # 13](https://gstreamer.freedesktop.org/documentation/tutorials/basic/playback-speed.html?gi-language=c) that uses keyboard events to create pipeline events to change playback speed, skip a single frame and play/pause the stream.
The C Code example creates a step event and propagates it to the sink in the following manner :
`gst_element_send_event (data->video_sink,
gst_event_new_step (GST_FORMAT_BUFFERS, 1, ABS (data->rate), TRUE,
FALSE));`
Trying to replicate this in Rust, `gst::Event::new_step()` has been deprecated and the compiler suggests using `gst::event::Step::new()`.
The function signature is :
`pub fn new<V: Into<GenericFormattedValue>>(
amount: V,
rate: f64,
flush: bool,
intermediate: bool
) -> Event`
However, I am unable to create the event by using amount as `gst::Format::Buffers` and I cannot understand how to resolve the compiler output error message:
![image](/uploads/2f9c4e2e0cb84b64e9a7718b85bdc594/image.png)
This is what I have written :
`gst::event::Step::new(gst::Format::Buffers), 1.0, true, false)`
I cannot understand how or why the trait bound in question is not satisfied and what I have to do to get past the error.
Any help on resolving this would be greatly appreciated. Furthermore, I apologize in advance if opening an issue is not appropriate or if my question seems naive. I am new to gstreamer and Rust and trying my best to learn. Thankshttps://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/227Cannot create a VA display2020-02-07T13:05:47ZThomas SchniedersCannot create a VA displayI'm running my own Gstreamer-Application with the Vaapi-plugin inside a Docker-Container.
This application is only used for streaming to a server and is not in need of a Display-Device.
Unfortunatly, the Vaapi-Plugin does a check for a D...I'm running my own Gstreamer-Application with the Vaapi-plugin inside a Docker-Container.
This application is only used for streaming to a server and is not in need of a Display-Device.
Unfortunatly, the Vaapi-Plugin does a check for a Display and so it refused to initialize with following output:
`default gstvaapi.c229:plugin_init: Cannot create a VA display`
Does anyone have a suggestion, how to fix this.https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/463cannot cross compile application using maturin that uses gstreamer as dependency2023-05-08T08:38:42ZFabiocannot cross compile application using maturin that uses gstreamer as dependencyHi!
In the last couple of days I spent quite a lot of time in try to cross compile a rust project that uses maturin to create python bindings for a rust library that has gstreamer has dependency. Looks like may be related to #130.
Afte...Hi!
In the last couple of days I spent quite a lot of time in try to cross compile a rust project that uses maturin to create python bindings for a rust library that has gstreamer has dependency. Looks like may be related to #130.
After a couple of try and error I was able to figure out how to create whl package for `x86_64-linux-gnu`:
```sh
maturin build --release --zig --strip --target x86_64-unknown-linux-gnu --features abi3 -- -C link-args="-L/usr/lib/x86_64-linux-gnu"
```
Afterwards I tried to build for aarch64, downloaded the cross compilation tools `gcc-aarch64-linux-gnu g++-aarch64-linux-gnu libc6-dev-arm64-cross` and then run:
```sh
maturin build --release --zig --strip --target aarch64-unknown-linux-gnu --features abi3 -- -C link-args="-L/usr/lib/aarch64-linux-gnu"
```
But this time did not work
The following warnings were emitted during compilation:
> warning: pkg-config has not been configured to support cross-compilation.
>
> error: failed to run custom build command for `gstreamer-sys v0.20.0`
>
> Caused by:
> process didn't exit successfully: `/home/whatever/gst-reader/target/release/build/gstreamer-sys-682bafdcb98bc79f/build-script-build` (exit status: 1)
> --- stdout
> cargo:rerun-if-env-changed=GSTREAMER_1.0_NO_PKG_CONFIG
> cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_aarch64-unknown-linux-gnu
> cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_aarch64_unknown_linux_gnu
> cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
> cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
> cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-linux-gnu
> cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_linux_gnu
> cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
> cargo:rerun-if-env-changed=PKG_CONFIG
> cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu
> cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu
> cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
> cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
> cargo:warning=pkg-config has not been configured to support cross-compilation.
The error is equal also for `gobject-sys v0.17.4`, `gio-sys v0.17.4`, `gstreamer-app-sys v0.20.0` and `glib-sys v0.17.4`.
Any idea about the error and the possible solution? I think is related to the fact that gstreamer is not installed for aarch64 but don't know how to solve ithttps://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/155Can not decode the vp9 10 bit stream.2019-08-29T14:02:27ZHe JunyanCan not decode the vp9 10 bit stream.gst-launch-1.0 filesrc location=./vp9_kf_2frm_SplitLvl3_10bit_fastfood_64x64.ivf ! ivfparse ! vaapivp9dec ! video/x-raw,format=P010_10LE ! vaapisink
command line can not decode correctly for iHD driver[vp9_kf_2frm_SplitLvl3_10bit_fastfo...gst-launch-1.0 filesrc location=./vp9_kf_2frm_SplitLvl3_10bit_fastfood_64x64.ivf ! ivfparse ! vaapivp9dec ! video/x-raw,format=P010_10LE ! vaapisink
command line can not decode correctly for iHD driver[vp9_kf_2frm_SplitLvl3_10bit_fastfood_64x64.ivf](/uploads/098baa74752c3bfb35577abdba16a169/vp9_kf_2frm_SplitLvl3_10bit_fastfood_64x64.ivf)https://gitlab.freedesktop.org/gstreamer/meson-ports/ffmpeg/-/issues/31Cannot detect libraries outside of "system" prefix2022-11-29T18:47:40ZamysparkCannot detect libraries outside of "system" prefixHey,
This is a followup to https://gitlab.freedesktop.org/gstreamer/meson-ports/ffmpeg/-/merge_requests/74#note_1662214 in where I was asked to remove the extra directories in the library lookup.
Unfortunately, this makes it impossible...Hey,
This is a followup to https://gitlab.freedesktop.org/gstreamer/meson-ports/ffmpeg/-/merge_requests/74#note_1662214 in where I was asked to remove the extra directories in the library lookup.
Unfortunately, this makes it impossible to detect libtheora under MSVC, because Meson does *not* pass linker options correctly:
```
Running compile:
Working directory: E:\krita-win\msvc\b_deps\ext_ffmpeg\ext_ffmpeg-prefix\src\ext_ffmpeg-build\meson-private\tmp0pjhhm6m
Command line: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.34.31933/bin/Hostx64/x64/cl.exe /LIBPATH:E:/krita-win/msvc/i//lib -IE:/krita-win/msvc/i//include E:\krita-win\msvc\b_deps\ext_ffmpeg\ext_ffmpeg-prefix\src\ext_ffmpeg-build\meson-private\tmp0pjhhm6m\testfile.c /FeE:\krita-win\msvc\b_deps\ext_ffmpeg\ext_ffmpeg-prefix\src\ext_ffmpeg-build\meson-private\tmp0pjhhm6m\output.exe /nologo /showIncludes /utf-8 /MD -guard:cf /nologo /showIncludes /utf-8 /Od /Oi- theoraenc.lib /link /nologo /release /nologo -GUARD:CF
Code:
int main(void) { return 0; }
Compiler stdout:
testfile.c
LINK : fatal error LNK1181: no se puede abrir el archivo de entrada 'theoraenc.lib'
Compiler stderr:
cl : L¡nea de comandos warning D9002 : se omite la opci¢n desconocida '/LIBPATH:E:/krita-win/msvc/i//lib'
..\ext_ffmpeg\meson.build:1646:10: ERROR: C shared or static library 'theoraenc' not found
```
```ini
[constants]
common_args = ['-IE:/krita-win/msvc/i//include']
common_link_args = ['-LE:/krita-win/msvc/i//lib']
[binaries]
c = 'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.34.31933/bin/Hostx64/x64/cl.exe'
cpp = 'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.34.31933/bin/Hostx64/x64/cl.exe'
ar = 'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.34.31933/bin/Hostx64/x64/lib.exe'
strip = ''
pkgconfig = 'E:/krita-win/msvc/i/bin/pkgconf.exe'
[properties]
c_args = common_args + ['-guard:cf']
cpp_args = common_args + ['-guard:cf']
c_link_args = common_link_args + ['-GUARD:CF']
cpp_link_args = common_link_args + ['-GUARD:CF']
[built-in options]
pkg_config_path = 'E:/krita-win/msvc/i//share/pkgconfig,E:/krita-win/msvc/i//lib/pkgconfig'
```
This is probably a Meson-specific issue, but you may want to consider adding the workaround for the installation prefix until it's handled upstream.https://gitlab.freedesktop.org/gstreamer/meson-ports/ffmpeg/-/issues/17Cannot enable libvpx_vp8_encoder2022-11-27T15:56:53ZJulien IsorceCannot enable libvpx_vp8_encoderI am trying to enable `avenc_vp8` for testing purpose to compare with `vp8enc`
but when building FFmpeg gst-build and its subprojects/FFmpeg.wrapm I get:
Running: `meson build -Dlibvpx_vp8_encoder=enable`
->
```
Dependency vpx found:...I am trying to enable `avenc_vp8` for testing purpose to compare with `vp8enc`
but when building FFmpeg gst-build and its subprojects/FFmpeg.wrapm I get:
Running: `meson build -Dlibvpx_vp8_encoder=enable`
->
```
Dependency vpx found: YES (cached)
Has header "vpx/vpx_encoder.h" with dependency vpx: YES
Has header "vpx/vp8cx.h" with dependency vpx: YES
Checking for function "vpx_codec_vp8_cx" with dependency vpx: YES
Dependency vpx found: YES (cached)
```
but `libvpx_vp8_encoder=0` in meson-log.txt
So I wonder if there is some high level config file I would be missing and that disables vp8 encoder.
Thx!https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/184Can not encode the vp9 10bits streams correctly2019-12-17T11:32:55ZHe JunyanCan not encode the vp9 10bits streams correctlyvideotestsrc pattern=ball num-buffers=300 ! capsfilter caps=video/x-raw,format=P010_10LE,width=800,height=600 ! vaapivp9enc tune=low-power ! matroskamux ! filesink location=vp9.mkv
Failed on icelake and using iHD driver.videotestsrc pattern=ball num-buffers=300 ! capsfilter caps=video/x-raw,format=P010_10LE,width=800,height=600 ! vaapivp9enc tune=low-power ! matroskamux ! filesink location=vp9.mkv
Failed on icelake and using iHD driver.https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/441Cannot find dll.a for plugins2023-08-26T22:22:01Zdayo7116Cannot find dll.a for pluginsI am using 1.22.5 runtime/development installer. ![image](/uploads/00b108d6c2a352f4db2283287d304ab8/image.png)
I want to link gstreamer staticly, I found core static libs(such as libgstreamer-1.0.dll.a), but cannot find plugin static li...I am using 1.22.5 runtime/development installer. ![image](/uploads/00b108d6c2a352f4db2283287d304ab8/image.png)
I want to link gstreamer staticly, I found core static libs(such as libgstreamer-1.0.dll.a), but cannot find plugin static libs for windows(such as libgstwasapi2.dll.a).
Does gstreamer CI support static libs for plugins? Or do I need to compile static plugins myself?
Thanks!https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/440Cannot find dll.a for plugins2023-08-02T10:16:35Zdayo7116Cannot find dll.a for pluginshttps://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/206cannot get SSRC from internal stream2021-09-24T13:21:28ZBugzilla Migration Usercannot get SSRC from internal stream## Submitted by Maciej Skrzypek
**[Link to original bug (#752108)](https://bugzilla.gnome.org/show_bug.cgi?id=752108)**
## Description
Created attachment 307056
current ssrc patch
added current-ssrc property to be able to get...## Submitted by Maciej Skrzypek
**[Link to original bug (#752108)](https://bugzilla.gnome.org/show_bug.cgi?id=752108)**
## Description
Created attachment 307056
current ssrc patch
added current-ssrc property to be able to get ssrc from internal source
**Patch 307056**, "current ssrc patch":
[current_ssrc.patch](/uploads/65679b22d43e66a4bbb8d0159eb704be/current_ssrc.patch)
Version: 1.4.5https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/214Cannot get Value from 'create-data-channel' signal as a gst::Object2019-08-05T14:28:36ZAdrien RouhèteCannot get Value from 'create-data-channel' signal as a gst::ObjectWhen building against an uninstalled Gstreamer version using gst-build, I panic when trying to get the data channel:
```rust
let data_channel = webrtc
.emit("create-data-channel", &[&/*name*/"channel", &None::<gst::Structure>])
.unwr...When building against an uninstalled Gstreamer version using gst-build, I panic when trying to get the data channel:
```rust
let data_channel = webrtc
.emit("create-data-channel", &[&/*name*/"channel", &None::<gst::Structure>])
.unwrap()
.expect("Failed to create data-channel");
println!("{:?}", data_channel.type_()); // GstWebRTCDataChannel
let data_channel = data_channel.get::<gst::Object>().expect("Why"); // unwrapping fails here
```
This seems to happen on Gstreamer tags 1.15.90 onward. But doesn't happen with the Ubuntu 18.04 Gstreamer 1.15.90 package, only with gst-build.https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/664Cannot go into streamable mode with mp4mux2023-10-24T15:56:04ZsticCannot go into streamable mode with mp4muxHello,
I am using mp4mux to get a mp4 stream with live data, so I set fragment-duration property and streamable property to TRUE.
But the pipeline fails with following error:
GStreamer+qtmux: 0:02:31.996826505 0x7c7de6c280 ../gst/isomp...Hello,
I am using mp4mux to get a mp4 stream with live data, so I set fragment-duration property and streamable property to TRUE.
But the pipeline fails with following error:
GStreamer+qtmux: 0:02:31.996826505 0x7c7de6c280 ../gst/isomp4/gstqtmux.c:2369:gst_qt_mux_downstream_is_seekable:<muxer> downstream did not handle seeking query
GStreamer+qtmux: 0:02:31.996942338 0x7c7de6c280 ../gst/isomp4/gstqtmux.c:2992:gst_qt_mux_start_file:<muxer> downstream is not seekable, but streamable=false. Will ignore that and create streamable output instead
It seems the streamable property cannot really be set to TRUE, it wants to force it but then the pipeline fails.
That was working fine with older gstreamer versions, but doesn't seem to work now with 1.16.
Is there something specific to do to get it working ?
Also I found it might be related to reported issue #362
Thanks.