GStreamer issueshttps://gitlab.freedesktop.org/groups/gstreamer/-/issues2021-01-26T18:47:53Zhttps://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1407Performance/Resources : DirectX11 sink creates 5 hardware surfaces & 4 stagin...2021-01-26T18:47:53ZAdvance SoftwarePerformance/Resources : DirectX11 sink creates 5 hardware surfaces & 4 staging surfaces per rendered streamBuilt debug version of gstreamer trunk.
Ran gst_play with a simple h264 test file - available should it be needed.
Put a breakpoint on ID3D11Device_CreateTexture2D in gst_d3d11_device_create_texture, [gst-build]\subprojects\gst-plugins...Built debug version of gstreamer trunk.
Ran gst_play with a simple h264 test file - available should it be needed.
Put a breakpoint on ID3D11Device_CreateTexture2D in gst_d3d11_device_create_texture, [gst-build]\subprojects\gst-plugins-bad\sys\d3d11\gstd3d11device.c
Noticed it was called 9 times with full size nv12 textures - a significant resource hit for HD videos.
4 nv12 hardware surfaces paired with 4 nv12 staging (system memory) surfaces.
1 hardware nv12 on its own.
Several issues :
1. As stated above, this is a significant resource hit. There is only a need for 2 surfaces. One to decode into and a second to render from for double buffering. Even this is the luxury codepath as a single mutexed surface is sufficient as both a decode target for the video processor and a render source for the output. I know, I've written Media Foundation EVR renderers in the past. Single target should be an option.
2. The staging (system memory) surfaces are a significant performance concern over & above having a pool of 5 output hardware textures. The input is a standard h264 stream for which gstreamer has hardware decode capability. There is no need for anything to be delivered to system memory or to route through it. I'd expect gst-play to select a hardware only code path where it can. For h264, on a Windows 10 / nvidia 1070 (test system), it can.
3. I'm not yet sufficiently familiar with gstreamer to know whether gst-play is selecting sub-optimal resources / code path or whether gstreamer itself has a limitation I'd expect not to exist.
4. I'd like the option of a single output with cross process mutex as a cross process sharable texture so I can route gstreamer sink output into another application rather than the desktop window - implementing this is the task I want to undertake, but first I need to sanity check gstreamer is performant & optimal.
5. DirectX11.4 allows us to share mutex & nv12 textures between processes, so I'd like the ability to create gstreamer output texture with these characteristics. I'm happy to do this work but will need assistance if you'd like a patch in the master tree.
https://docs.microsoft.com/en-us/windows/win32/direct3d11/direct3d-11-4-features
Thanks guys, you're almost cooler than Media Foundation - we can get there :)https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/783Follow-up from "v4l2object: plug memory-leak"2022-03-04T21:42:18ZNicolas DufresneFollow-up from "v4l2object: plug memory-leak"The following discussion from !718 should be addressed:
- [ ] @ndufresne started a [discussion](https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/718#note_620019):
> Hmm, didn't remember about this functio...The following discussion from !718 should be addressed:
- [ ] @ndufresne started a [discussion](https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/718#note_620019):
> Hmm, didn't remember about this function, this is a pretty horrible API imho. _open() should simply cleanup, or call that internally on failures. Do you think we can fix it while touching that ?Nicolas DufresneNicolas Dufresnehttps://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/606gstreamer-based application got a core dump2020-09-08T22:53:52ZBridge Wugstreamer-based application got a core dumpI have an application based on Deepstream 5.0 which is based on gstreamer to process RTSP streams, it ran into a core dump like below.
```
# gdb python3 core.6693
Core was generated by `python3 xxx.py'.
Program terminated with signal S...I have an application based on Deepstream 5.0 which is based on gstreamer to process RTSP streams, it ran into a core dump like below.
```
# gdb python3 core.6693
Core was generated by `python3 xxx.py'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fc68453d70e in ?? () from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
[Current thread is 1 (Thread 0x7fc4185b6700 (LWP 21274))]
(gdb) bt
#0 0x00007fc68453d70e in () at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#1 0x00007fc68453f5ad in gst_buffer_pool_acquire_buffer () at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#2 0x00007fc67e6c1f04 in gst_nvstreammux_chain ()
at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so
#3 0x00007fc68457288b in () at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#4 0x00007fc68457abb3 in gst_pad_push () at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#5 0x00007fc684560aab in gst_proxy_pad_chain_default () at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#6 0x00007fc68457288b in () at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#7 0x00007fc68457abb3 in gst_pad_push () at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#8 0x00007fc684560aab in gst_proxy_pad_chain_default () at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#9 0x00007fc68457288b in () at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#10 0x00007fc68457abb3 in gst_pad_push () at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#11 0x00007fc684560aab in gst_proxy_pad_chain_default () at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#12 0x00007fc68457288b in () at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#13 0x00007fc68457abb3 in gst_pad_push () at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#14 0x00007fc67c6ecf1a in () at /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0
#15 0x00007fc67c6f409b in gst_video_decoder_finish_frame () at /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0
#16 0x00007fc64396ecb6 in gst_v4l2_video_dec_loop ()
at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideo4linux2.so
#17 0x00007fc6845a7269 in () at /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#18 0x00007fc6863ffb40 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fc6863ff175 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fc687ab36db in start_thread () at /lib/x86_64-linux-gnu/libpthread.so.0
#21 0x00007fc687dec88f in clone () at /lib/x86_64-linux-gnu/libc.so.6
(gdb)
```
The code related to the nvstreammux object is shown below.
```
streammux = Gst.ElementFactory.make("nvstreammux", "Stream-muxer")
if not streammux:
sys.stderr.write(" Unable to create NvStreamMux \n")
pipeline.add(streammux)
streammux.set_property('live-source', 1)
streammux.set_property('width', 1280)
streammux.set_property('height', 720)
streammux.set_property('batch-size', number_sources) # the number of RTSP streams
streammux.set_property('batched-push-timeout', 40000) # 40ms
streammux.set_property("nvbuf-memory-type", int(pyds.NVBUF_MEM_CUDA_UNIFIED))
```
Can anyone please shed some light on this issue? What does this error indicate and how to avoid the core dump?https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/issues/1191.18.0: meson fails: Unknown variable "scenario"2020-10-14T10:53:49ZTomasz Kłoczko1.18.0: meson fails: Unknown variable "scenario"```
+ /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --l...```
+ /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . x86_64-redhat-linux-gnu -D doc=disabled -D validate=disabled -D tests=enabled
The Meson build system
Version: 0.55.1
Source dir: /home/tkloczko/rpmbuild/BUILD/gst-editing-services-1.18.0
Build dir: /home/tkloczko/rpmbuild/BUILD/gst-editing-services-1.18.0/x86_64-redhat-linux-gnu
Build type: native build
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Project name: gst-editing-services
Project version: 1.18.0
Using 'CC' from environment with value: 'gcc'
Using 'CFLAGS' from environment with value: '-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none'
Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin'
Using 'AR' from environment with value: '/usr/bin/gcc-ar'
Using 'CC' from environment with value: 'gcc'
Using 'CFLAGS' from environment with value: '-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none'
Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin'
C compiler for the host machine: gcc (gcc 10.2.1 "gcc (GCC) 10.2.1 20200826 (Red Hat 10.2.1-3)")
C linker for the host machine: gcc ld.bfd 2.35-12
Using 'AR' from environment with value: '/usr/bin/gcc-ar'
Host machine cpu family: x86_64
Host machine cpu: x86_64
Library m found: YES
Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-pbutils-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-video-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-audio-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-base-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-check-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-controller-1.0 found: YES 1.18.0
Dependency gst-validate-1.0 skipped: feature validate disabled
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gio-2.0 found: YES 2.65.3
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libxml-2.0 found: YES 2.9.10
Program g-ir-scanner found: YES
Program python3 found: YES (/usr/bin/python3)
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency python-3.8-embed found: YES 3.8
Message: pylib_loc = /usr/lib64
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gmodule-2.0 found: YES 2.65.3
Message: python_abi_flags =
Message: pylib_loc = /usr/lib64
Header <gst/gstconfig.h> has symbol "GST_DISABLE_GST_DEBUG" with dependency gstreamer-1.0: YES
Compiler for C supports arguments -Wno-unused -Wunused: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wredundant-decls: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wformat: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Waddress: YES
Compiler for C supports arguments -Wno-multichar -Wmultichar: YES
Compiler for C supports arguments -Wdeclaration-after-statement: YES
Compiler for C supports arguments -Wvla: YES
Compiler for C supports arguments -Wpointer-arith: YES
Program python3 found: YES (/usr/bin/python3)
Configuring ges-version.h using configuration
Program flex found: YES
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Build-time dependency gobject-introspection-1.0 found: YES 1.64.1
Program g_ir_scanner found: YES (/usr/bin/g-ir-scanner)
Program g_ir_compiler found: YES (/usr/bin/g-ir-compiler)
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency bash-completion found: YES 2.11
Configuring gst-editing-services-1.0.pc using configuration
Configuring gst-editing-services-1.0-uninstalled.pc using configuration
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-plugins-base-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-plugins-bad-1.0 found: YES 1.17.90
Program gst-validate-launcher found: YES
tests/check/meson.build:126:8: ERROR: Unknown variable "scenario".
A full log can be found at /home/tkloczko/rpmbuild/BUILD/gst-editing-services-1.18.0/x86_64-redhat-linux-gnu/meson-logs/meson-log.txt
error: Bad exit status from /var/tmp/rpm-tmp.1fyvyG (%build)
```https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/14061.18.0: meson fails in examples if opencv is not found: ERROR: Unknown varia...2020-10-03T16:55:46ZTomasz Kłoczko1.18.0: meson fails in examples if opencv is not found: ERROR: Unknown variable "opencv_dep".```
+ /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --l...```
+ /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . x86_64-redhat-linux-gnu -D accurip=enabled -D adpcmdec=enabled -D aiff=enabled -D androidmedia=enabled -D aom=enabled -D applemedia=enabled -D asfmux=enabled -D assrender=enabled -D audiobuffersplit=enabled -D audiofxbad=enabled -D audiolatency=enabled -D audiomixmatrix=enabled -D audiovisualizers=enabled -D autoconvert=enabled -D avtp=disabled -D bayer=enabled -D bluez=enabled -D bs2b=enabled -D bz2=enabled -D camerabin2=enabled -D chromaprint=enabled -D closedcaption=enabled -D coloreffects=enabled -D curl=enabled -D curl=enabled -D d3dvideosink=enabled -D dash=enabled -D dc1394=enabled -D debugutils=enabled -D decklink=enabled -D directfb=disabled -D directsound=enabled -D doc=disabled -D dtls=enabled -D dts=enabled -D dvb=enabled -D dvbsuboverlay=enabled -D dvdspu=enabled -D examples=enabled -D faac=enabled -D faad=enabled -D faceoverlay=enabled -D fbdev=enabled -D fdkaac=enabled -D festival=enabled -D fieldanalysis=enabled -D flite=disabled -D fluidsynth=enabled -D freeverb=enabled -D frei0r=enabled -D gaudieffects=enabled -D gdp=enabled -D geometrictransform=enabled -D gl=enabled -D glib-asserts=disabled -D glib-checks=disabled -D gme=disabled -D gobject=disabled -D gsm=enabled -D gst_player_tests=false -D hls-crypto=openssl -D hls=enabled -D id3tag=enabled -D inter=enabled -D interlace=enabled -D introspection=enabled -D ipcpipeline=enabled -D iqa=disabled -D ivfparse=enabled -D ivtc=enabled -D jp2kdecimator=enabled -D jpegformat=enabled -D kate=disabled -D kms=enabled -D ladspa=enabled -D libde265=disabled -D libmms=disabled -D librfb=enabled -D lv2=disabled -D magicleap=disabled -D microdns=enabled -D midi=enabled -D modplug=disabled -D mpeg2enc=disabled -D mpegdemux=disabled -D mpegpsmux=disabled -D mpegtsdemux=disabled -D mpegtsmux=disabled -D mplex=disabled -D msdk=enabled -D musepack=disabled -D mxf=enabled -D neon=disabled -D netsim=enabled -D nls=enabled -D nvdec=disabled -D nvenc=disabled -D ofa=disabled -D onvif=enabled -D openal=enabled -D opencv4=enabled -D opencv=disabled -D openexr=enabled -D openh264=disabled -D openjpeg=enabled -D openmpt=disabled -D openni2=disabled -D opensles=disabled -D opus=enabled -D orc=enabled -D package-origin=G2V -D pcapparse=enabled -D pnm=enabled -D proxy=enabled -D rawparse=enabled -D removesilence=enabled -D resindvd=enabled -D rsvg=enabled -D rtmp=disabled -D sbc=enabled -D sctp=disabled -D sdp=enabled -D segmentclip=enabled -D shm=enabled -D siren=enabled -D smooth=enabled -D smoothstreaming=enabled -D sndfile=enabled -D soundtouch=enabled -D spandsp=disabled -D speed=enabled -D srt=enabled -D srtp=enabled -D subenc=enabled -D svthevcenc=disabled -D teletext=enabled -D tests=enabled -D timecode=enabled -D tinyalsa=disabled -D ttml=enabled -D uvch264=enabled -D vdpau=disabled -D videofilters=enabled -D videoframe_audiolevel=enabled -D videoparsers=enabled -D videosignal=enabled -D vmnc=enabled -D voaacenc=disabled -D voamrwbenc=disabled -D vulkan=disabled -D wasapi2=disabled -D wasapi=disabled -D wayland=enabled -D webp=enabled -D webrtcdsp=enabled -D webrtc=enabled -D wildmidi=enabled -D winks=enabled -D winscreencap=enabled -D wpe=enabled -D x11=enabled -D x265=disabled -D y4m=enabled -D yadif=enabled -D zbar=enabled -D zxing=disabled
The Meson build system
Version: 0.55.1
Source dir: /home/tkloczko/rpmbuild/BUILD/gst-plugins-bad-1.18.0
Build dir: /home/tkloczko/rpmbuild/BUILD/gst-plugins-bad-1.18.0/x86_64-redhat-linux-gnu
Build type: native build
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
WARNING: Unknown options: "gobject, nvdec, nvenc, opencv4, vdpau, yadif"
The value of new options can be set with:
meson setup <builddir> --reconfigure -Dnew_option=new_value ...
Project name: gst-plugins-bad
Project version: 1.18.0
Using 'CC' from environment with value: 'gcc'
Using 'CFLAGS' from environment with value: '-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none'
Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin'
Using 'AR' from environment with value: '/usr/bin/gcc-ar'
Using 'CXX' from environment with value: 'g++'
Using 'CXXFLAGS' from environment with value: '-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none'
Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin'
Using 'CC' from environment with value: 'gcc'
Using 'CFLAGS' from environment with value: '-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none'
Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin'
C compiler for the host machine: gcc (gcc 10.2.1 "gcc (GCC) 10.2.1 20200826 (Red Hat 10.2.1-3)")
C linker for the host machine: gcc ld.bfd 2.35-12
Using 'AR' from environment with value: '/usr/bin/gcc-ar'
Using 'CXX' from environment with value: 'g++'
Using 'CXXFLAGS' from environment with value: '-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none'
Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin'
C++ compiler for the host machine: g++ (gcc 10.2.1 "g++ (GCC) 10.2.1 20200826 (Red Hat 10.2.1-3)")
C++ linker for the host machine: g++ ld.bfd 2.35-12
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports arguments -Wno-non-virtual-dtor -Wnon-virtual-dtor: YES
Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Compiler for C++ supports arguments -fno-strict-aliasing: YES
Message: Disabling GLib asserts
Message: Disabling GLib checks
Has header "dlfcn.h" : YES
Has header "fcntl.h" : YES
Has header "inttypes.h" : YES
Has header "memory.h" : YES
Has header "netinet/in.h" : YES
Has header "netinet/ip.h" : YES
Has header "netinet/tcp.h" : YES
Has header "pthread.h" : YES
Has header "stdint.h" : YES
Has header "stdlib.h" : YES
Has header "strings.h" : YES
Has header "string.h" : YES
Has header "sys/param.h" : YES
Has header "sys/socket.h" : YES
Has header "sys/stat.h" : YES
Has header "sys/time.h" : YES
Has header "sys/types.h" : YES
Has header "sys/utsname.h" : YES
Has header "unistd.h" : YES
Has header "windows.h" : NO
Has header "winsock2.h" : NO
Has header "ws2tcpip.h" : NO
Checking for function "dcgettext" : YES
Checking for function "getpagesize" : YES
Checking for function "gmtime_r" : YES
Checking for function "mmap" : YES
Checking for function "pipe2" : YES
Checking for function "getrusage" : YES
Checking for size of "char" : 1
Checking for size of "int" : 4
Checking for size of "long" : 8
Checking for size of "short" : 2
Checking for size of "void*" : 8
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wdeclaration-after-statement: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C++ supports arguments -Wformat-nonliteral: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C++ supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wredundant-decls: YES
Compiler for C++ supports arguments -Wredundant-decls: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C++ supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wformat: YES
Compiler for C++ supports arguments -Wformat: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C++ supports arguments -Wformat-security: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C++ supports arguments -Winit-self: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C++ supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Waddress: YES
Compiler for C++ supports arguments -Waddress: YES
Compiler for C supports arguments -Wno-multichar -Wmultichar: YES
Compiler for C++ supports arguments -Wno-multichar -Wmultichar: YES
Compiler for C supports arguments -Wvla: YES
Compiler for C++ supports arguments -Wvla: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C++ supports arguments -Wpointer-arith: YES
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-base-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-net-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-controller-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-pbutils-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-allocators-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-app-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-audio-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-fft-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-riff-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-rtp-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-rtsp-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-sdp-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-tag-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-video-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-check-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-gl-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-gl-prototypes-1.0 found: YES 1.18.0
Message: GStreamer OpenGL window systems: wayland x11 gbm
Message: GStreamer OpenGL platforms: egl glx
Message: GStreamer OpenGL apis: gles2 gl
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-gl-x11-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-gl-wayland-1.0 found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-gl-egl-1.0 found: YES 1.18.0
Library m found: YES
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency glib-2.0 found: YES 2.65.3
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gmodule-2.0 found: YES 2.65.3
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gio-2.0 found: YES 2.65.3
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency x11 found: YES 1.6.12
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency orc-0.4 found: YES 0.4.31
Program orcc found: YES
Header <gst/gstconfig.h> has symbol "GST_DISABLE_GST_DEBUG" with dependency gstreamer-1.0: YES
Message: GStreamer debug system is disabled
Compiler for C supports arguments -Wno-unused -Wunused: YES
Compiler for C++ supports arguments -Wno-unused -Wunused: YES
Program python3 found: YES (/usr/bin/python3)
Program g-ir-scanner found: YES
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Build-time dependency gobject-introspection-1.0 found: YES 1.64.1
Program g_ir_scanner found: YES (/usr/bin/g-ir-scanner)
Program g_ir_compiler found: YES (/usr/bin/g-ir-compiler)
Program glib-mkenums found: YES
Program glib-mkenums found: YES
Program glib-mkenums found: YES
Program glib-mkenums found: YES
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency wayland-client found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libdrm found: YES 2.4.102
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency wayland-protocols found: YES 1.20
Program wayland-scanner found: YES
Program glib-mkenums found: YES
Program glib-mkenums found: YES
Compiler for C supports arguments -Wno-unknown-pragmas -Wunknown-pragmas: YES
Found CMake: /usr/bin/cmake (3.18.1)
Using 'FFLAGS' from environment with value: '-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto=auto -flto-partition=none'
Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin'
Run-time dependency ltc found: NO (tried pkgconfig and cmake)
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency bluez found: YES 5.55
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gio-unix-2.0 found: YES 2.65.3
Program gdbus-codegen found: YES
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Library dl found: YES
Run-time dependency threads found: YES
Message: Building decklink plugin
Has header "linux/fb.h" : YES
Dependency libdrm found: YES 2.4.102 (cached)
Library ml_audio skipped: feature magicleap disabled
Library lumin_rt_core_1_5 skipped: feature magicleap disabled
Library lumin_rt_app_1_5 skipped: feature magicleap disabled
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libmfx found: YES 1.32
Has header "mfx/mfxdefs.h" : YES
Has header "mfxvp9.h" : YES
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libva-drm found: YES 1.8.0
Library dl found: YES
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gudev-1.0 found: YES 233
Library rt found: YES
Has header "sys/socket.h" : YES (cached)
Dependency gudev-1.0 found: YES 233 (cached)
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libusb-1.0 found: YES 1.0.23
Has header "linux/uvcvideo.h" : YES
Dependency gudev-1.0 found: YES 233 (cached)
Has header "linux/videodev2.h" : YES
Header <sys/mkdev.h> has symbol "makedev" : NO
Header <sys/sysmacros.h> has symbol "makedev" : YES
Header <sys/types.h> has symbol "makedev" : NO
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libva found: YES 1.8.0
Dependency libva-drm found: YES 1.8.0 (cached)
Dependency gudev-1.0 found: YES 233 (cached)
Dependency libdrm found: YES 2.4.102 (cached)
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libass found: YES 0.14.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency aom found: YES 2.0.0
Dependency avtp skipped: feature avtp disabled
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libbs2b found: YES 3.1.0
Library bz2 found: YES
Header <bzlib.h> has symbol "BZ2_bzlibVersion" : YES
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libchromaprint found: YES 1.5.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency pangocairo found: YES 1.46.1
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency lcms2 found: YES 2.11
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libcurl found: YES 7.72.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libssh2 found: YES 1.9.0_DEV
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libxml-2.0 found: YES 2.9.10
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libdc1394-2 found: YES 2.2.6
Dependency directfb skipped: feature directfb disabled
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency openssl found: YES 1.1.1g
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libcrypto found: YES 1.1.1g
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libdca found: YES 0.0.6
Library faac found: YES
Header <faac.h> has symbol "faacEncOpen" : YES
Header <neaacdec.h> has symbol "NeAACDecOpen" : YES
Header <neaacdec.h> has symbol "LATM" : YES
Library faad found: YES
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency fdk-aac found: YES 2.0.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency fluidsynth found: YES 2.1.4
Library gsm found: YES
Header <gsm.h> has symbol "gsm_create" : YES
Dependency openssl found: YES 1.1.1g (cached)
Dependency dssim skipped: feature iqa disabled
Dependency kate skipped: feature kate disabled
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency lrdf found: YES 0.5.0
Has header "ladspa.h" : YES
Dependency libde265 skipped: feature libde265 disabled
Dependency libmms skipped: feature libmms disabled
Dependency lilv-0 skipped: feature lv2 disabled
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency microdns found: YES 0.2.0
WARNING: Project targeting '>= 0.49' but tried to use feature introduced in '0.54.0': native arg in add_languages.
Compiler for language cpp skipped: feature modplug disabled
Dependency mjpegtools skipped: feature mpeg2enc disabled
Library mpeg2encpp skipped: feature mpeg2enc disabled
Compiler for C++ supports arguments -Wno-mismatched-tags -Wmismatched-tags: YES
Compiler for C++ supports arguments -Wno-header-guard -Wheader-guard: NO
Dependency mjpegtools skipped: feature mplex disabled
Library mplex2 skipped: feature mplex disabled
Library mpcdec skipped: feature musepack disabled
Dependency neon skipped: feature neon disabled
Dependency libofa skipped: feature ofa disabled
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency openal found: YES 1.20.1
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency openexr found: YES 2.5.3
Dependency openh264 skipped: feature openh264 disabled
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libopenjp2 found: YES 2.3.1
Dependency libopenmpt skipped: feature openmpt disabled
Compiler for language cpp skipped: feature openni2 disabled
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency opus found: YES 1.3.1
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency dvdnav found: YES 6.1.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency dvdread found: YES 6.1.1
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency librsvg-2.0 found: YES 2.49.5
Dependency librtmp skipped: feature rtmp disabled
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency sbc found: YES 1.4
Dependency libxml-2.0 found: YES 2.9.10 (cached)
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency sndfile found: YES 1.0.28
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency soundtouch found: YES 2.1.2
Dependency spandsp skipped: feature spandsp disabled
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency srt found: YES 1.4.1
Program glib-mkenums found: YES
Program glib-mkenums found: YES
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libsrtp2 found: YES 2.3.0
Program glib-mkenums found: YES
Program glib-mkenums found: YES
Dependency SvtHevcEnc skipped: feature svthevcenc disabled
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency zvbi-0.2 found: YES 0.2.35
Dependency libxml-2.0 found: YES 2.9.10 (cached)
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency pango found: YES 1.46.1
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency cairo found: YES 1.16.0
Dependency pangocairo found: YES 1.46.1 (cached)
Dependency vo-aacenc skipped: feature voaacenc disabled
Dependency vo-amrwbenc skipped: feature voamrwbenc disabled
Dependency libdrm found: YES 2.4.102 (cached)
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency nice found: YES 0.1.17
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency webrtc-audio-processing found: YES 0.3.1
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libwebp found: YES 1.1.0
Run-time dependency wildmidi found: NO (tried pkgconfig and cmake)
Has header "wildmidi_lib.h" : YES
Fetching value of define "LIBWILDMIDI_VER_MAJOR" : 0L
Fetching value of define "LIBWILDMIDI_VER_MINOR" : 4L
Library WildMidi found: YES
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency wpe-webkit-1.0 found: YES 2.29.90
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency wpebackend-fdo-1.0 found: YES 1.7.1
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency egl found: YES 1.5
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency xkbcommon found: YES 1.0.0
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency wayland-server found: YES 1.18.0
Dependency x265 skipped: feature x265 disabled
Dependency zxing skipped: feature zxing disabled
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency zbar found: YES 0.23
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency libexif found: YES 0.6.22
Header <faac.h> has symbol "faacEncOpen" : YES (cached)
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gstreamer-plugins-base-1.0 found: YES 1.18.0
Library orc-test-0.4 found: YES
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gtk+-3.0 found: YES 3.24.23
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gdk-x11-3.0 found: YES 3.24.23
Compiler for C supports link arguments -fvisibility=default: YES
Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Run-time dependency gmodule-export-2.0 found: YES 2.65.3
Dependency x11 found: YES 1.6.12 (cached)
Has header "sys/socket.h" : YES (cached)
Checking for function "kill" : YES
Checking for function "socketpair" : YES
Checking for function "fcntl" : YES
Checking for function "fork" : YES
tests/examples/meson.build:12:0: ERROR: Unknown variable "opencv_dep".
```https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1405Can't cross-compile to UWP with gst-build2020-09-08T12:04:27ZRoman ShpuntovCan't cross-compile to UWP with gst-buildWhen we load `gstmediafoundation.dll` on xbox device we have - `Failed on load DLL` on device's console. We do not know what happens. We suppose there is `desktop` (not `UWP`) DLL dependencies inside media foundation plugin or request `U...When we load `gstmediafoundation.dll` on xbox device we have - `Failed on load DLL` on device's console. We do not know what happens. We suppose there is `desktop` (not `UWP`) DLL dependencies inside media foundation plugin or request `UWP` API which need to be added to the app permssions list or something else. Everything is fine when we load the same plugin on windows `desktop` version.https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/281Compilation issues on macOS Catalina, GST 1.16.22020-09-07T12:15:58ZNeil YoungCompilation issues on macOS Catalina, GST 1.16.2Hi,
I was following the installation procedure (brew instructions, pkg installation, export of path) and cloned the repo. Then run `cargo build` from the examples sub-dir. Didn't go throuhg:
Output:
```
~/Documents/Rust/gstreamer-rs/ex...Hi,
I was following the installation procedure (brew instructions, pkg installation, export of path) and cloned the repo. Then run `cargo build` from the examples sub-dir. Didn't go throuhg:
Output:
```
~/Documents/Rust/gstreamer-rs/examples $ cargo build
warning: /Users/decades/Documents/Rust/gstreamer-rs/examples/Cargo.toml: unused manifest key: bin.31.features
Compiling proc-macro2 v1.0.20
Compiling unicode-xid v0.2.1
Compiling syn v1.0.40
Compiling serde v1.0.115
Compiling unicode-segmentation v1.6.0
Compiling version-compare v0.0.10
Compiling pkg-config v0.3.18
Compiling strum v0.18.0
Compiling libc v0.2.76
Compiling autocfg v1.0.1
Compiling version_check v0.9.2
Compiling pin-project-internal v0.4.23
Compiling proc-macro-nested v0.1.6
Compiling memchr v2.3.3
Compiling proc-macro-hack v0.5.18
Compiling futures-core v0.3.5
Compiling futures-sink v0.3.5
Compiling once_cell v1.4.1
Compiling anyhow v1.0.32
Compiling pin-utils v0.1.0
Compiling slab v0.4.2
Compiling futures-io v0.3.5
Compiling either v1.6.0
Compiling bitflags v1.2.1
Compiling gstreamer v0.17.0 (/Users/decades/Documents/Rust/gstreamer-rs/gstreamer)
Compiling pretty-hex v0.2.0
Compiling muldiv v0.2.1
Compiling cfg-if v0.1.10
Compiling paste v1.0.0
Compiling gstreamer-base v0.17.0 (/Users/decades/Documents/Rust/gstreamer-rs/gstreamer-base)
Compiling gstreamer-audio v0.17.0 (/Users/decades/Documents/Rust/gstreamer-rs/gstreamer-audio)
Compiling gstreamer-pbutils v0.17.0 (/Users/decades/Documents/Rust/gstreamer-rs/gstreamer-pbutils)
Compiling gstreamer-app v0.17.0 (/Users/decades/Documents/Rust/gstreamer-rs/gstreamer-app)
Compiling gstreamer-video v0.17.0 (/Users/decades/Documents/Rust/gstreamer-rs/gstreamer-video)
Compiling examples v0.17.0 (/Users/decades/Documents/Rust/gstreamer-rs/examples)
Compiling array-init v0.1.1
Compiling byte-slice-cast v0.3.5
Compiling num-traits v0.2.12
Compiling num-integer v0.1.43
Compiling num-rational v0.3.0
Compiling heck v0.3.1
Compiling futures-channel v0.3.5
Compiling proc-macro-error-attr v1.0.4
Compiling proc-macro-error v1.0.4
Compiling itertools v0.9.0
Compiling futures-task v0.3.5
Compiling quote v1.0.7
Compiling toml v0.5.6
Compiling proc-macro-crate v0.1.5
Compiling thiserror-impl v1.0.20
Compiling strum_macros v0.18.0
Compiling futures-macro v0.3.5
Compiling glib-macros v0.10.0 (https://github.com/gtk-rs/glib#197c2385)
Compiling derive_more v0.99.9
Compiling thiserror v1.0.20
Compiling system-deps v1.3.2
Compiling pin-project v0.4.23
Compiling glib-sys v0.10.0 (https://github.com/gtk-rs/sys#56e03c02)
Compiling gobject-sys v0.10.0 (https://github.com/gtk-rs/sys#56e03c02)
Compiling gstreamer-sys v0.10.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys#cc525cdf)
Compiling gstreamer-base-sys v0.10.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys#cc525cdf)
Compiling gstreamer-video-sys v0.10.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys#cc525cdf)
Compiling gstreamer-audio-sys v0.10.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys#cc525cdf)
Compiling gstreamer-pbutils-sys v0.10.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys#cc525cdf)
Compiling gstreamer-app-sys v0.10.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys#cc525cdf)
Compiling futures-util v0.3.5
Compiling futures-executor v0.3.5
Compiling glib v0.10.0 (https://github.com/gtk-rs/glib#197c2385)
Compiling futures v0.3.5
error[E0425]: cannot find function `debug_add_ring_buffer_logger` in crate `gst`
--> examples/src/bin/debug_ringbuffer.rs:25:10
|
25 | gst::debug_add_ring_buffer_logger(1024, 10);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `gst`
error[E0425]: cannot find function `debug_ring_buffer_logger_get_logs` in crate `gst`
--> examples/src/bin/debug_ringbuffer.rs:77:19
|
77 | for s in gst::debug_ring_buffer_logger_get_logs().iter() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `gst`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0425`.
error: could not compile `examples`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
```
Any idea what might go wrong?https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/276scaling in vaapipostproc2020-09-07T03:27:13ZRandy Liscaling in vaapipostprocI think the current vaapipostproc would only do the cropping not the scaling. And scaling is done in vaapisink. But I don't think the vaapisink is available in many situation(for example, iHD doesn't offer wayland support).
In the most...I think the current vaapipostproc would only do the cropping not the scaling. And scaling is done in vaapisink. But I don't think the vaapisink is available in many situation(for example, iHD doesn't offer wayland support).
In the most of case, the downstream is just another gstreamer videosink, although we can expect the videosink would use the hardware scaling to down or up scaling. But in Intel Broxton, down scaling for UHD video is somehow impossible for DRM. So it would be better to use the VPP to do that here.https://gitlab.freedesktop.org/gstreamer/meson-ports/libffi/-/issues/2libffi fails to build when cross-building on linux with MinGW2021-04-07T15:21:59ZAntonio Ospitelibffi fails to build when cross-building on linux with MinGWHi,
following up from https://gitlab.freedesktop.org/gstreamer/meson-ports/libffi/-/commit/edaa2f7f5726efa2efe33335493e81e6715d7a82#note_611688 I observe a failure when cross-building on linux using MinGW.
This is the meson cross-file ...Hi,
following up from https://gitlab.freedesktop.org/gstreamer/meson-ports/libffi/-/commit/edaa2f7f5726efa2efe33335493e81e6715d7a82#note_611688 I observe a failure when cross-building on linux using MinGW.
This is the meson cross-file I am using:
```
[host_machine]
system = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
[properties]
c_args = []
c_link_args = []
[binaries]
c = 'x86_64-w64-mingw32-gcc'
cpp = 'x86_64-w64-mingw32-g++'
ar = 'x86_64-w64-mingw32-ar'
strip = 'x86_64-w64-mingw32-strip'
pkgconfig = 'x86_64-w64-mingw32-pkg-config'
windres = 'x86_64-w64-mingw32-windres'
```
And this is the failure I am seeing:
```
$ meson --cross-file meson_mingw_w64_x86-64.txt build/
...
$ ninja -C build/
ninja: Entering directory `build/'
[8/8] Linking target src/libffi-7.dll
FAILED: src/libffi-7.dll
x86_64-w64-mingw32-gcc -o src/libffi-7.dll src/libffi-7.dll.p/prep_cif.c.obj src/libffi-7.dll.p/types.c.obj src/libffi-7.dll.p/raw_api.c.obj src/libffi-7.dll.p/java_raw_api.c.obj src/libffi-7.dll.p/closures.c.obj src/libffi-7.dll.p/x86_ffiw64.c.obj src/libffi-7.dll.p/x86_win64.S.obj -Wl,--allow-shlib-undefined -shared -Wl,--start-group -Wl,--out-implib=src/libffi.dll.a -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -Wl,--end-group
/usr/bin/x86_64-w64-mingw32-ld: src/libffi-7.dll.p/types.c.obj:/home/ao2/WIP/gnome/libffi/build/../src/types.c:104: multiple definition of `ffi_type_complex_longdouble'; src/libffi-7.dll.p/prep_cif.c.obj:/home/ao2/WIP/gnome/libffi/build/include/ffi-x86_64.h:201: first defined here
/usr/bin/x86_64-w64-mingw32-ld: src/libffi-7.dll.p/types.c.obj:/home/ao2/WIP/gnome/libffi/build/../src/types.c:97: multiple definition of `ffi_type_longdouble'; src/libffi-7.dll.p/prep_cif.c.obj:/home/ao2/WIP/gnome/libffi/build/include/ffi-x86_64.h:192: first defined here
...
```
with a lot of similar messages.
The issue goes away with this patch:
```diff
diff --git a/include/ffi.h.in b/include/ffi.h.in
index 1fca797..50febfa 100644
--- a/include/ffi.h.in
+++ b/include/ffi.h.in
@@ -64,7 +64,7 @@ extern "C" {
the static version of the library, but don't worry about that.
Besides, as a workaround, they can define FFI_BUILDING if they
*know* they are going to link with the static library. */
-#if defined _WIN32 && !defined FFI_STATIC_BUILD
+#if defined _MSC_VER && !defined FFI_STATIC_BUILD
#ifdef FFI_BUILDING
#define FFI_EXTERN __declspec(dllexport)
#else
```
Which seems consistent with what upstream does and what is also in @Ericson2314 branch which does not show the problem.
It's not an urgent thing, even less so now that I have a local workaround, so if there are plans to rebase the meson port on top of the latest upstream I will happily wait for that.
However I am still wondering why you do not experience the issue when building from cerbero, maybe some other factor makes `_WIN32` defined in your environment?
BTW I am using this MinGW version:
```
C compiler for the host machine: x86_64-w64-mingw32-gcc (gcc 10.0.0 "x86_64-w64-mingw32-gcc (GCC) 10-win32 20200525")
C linker for the host machine: x86_64-w64-mingw32-gcc ld.bfd 2.34.90.20200706
```
Thanks, Antoniohttps://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1404webrtcbin: Missing ICE restart support2022-07-05T10:36:40ZPhilippe Normandwebrtcbin: Missing ICE restart supportPerhaps this could be exposed as an action signal? There are some FIXMEs about this in the code as well.Perhaps this could be exposed as an action signal? There are some FIXMEs about this in the code as well.https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1403wpe: random segfault2021-04-16T08:23:04ZNazar Mokrynskyiwpe: random segfaultNot always, but sometimes wpesrc causes segfault with this backtrace:
```
Thread 30 "wpesrc_1" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f94438ba700 (LWP 1552424)]
0x00007f94d024779c in gst_wpe_src_create (bsrc...Not always, but sometimes wpesrc causes segfault with this backtrace:
```
Thread 30 "wpesrc_1" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f94438ba700 (LWP 1552424)]
0x00007f94d024779c in gst_wpe_src_create (bsrc=<optimized out>, offset=18446744073709551615, length=4096, buf=0x7f94438b8598) at ../ext/wpe/gstwpesrc.cpp:181
181 GST_BUFFER_TIMESTAMP (*buf) = ts_offset + gl_src->running_time;
(gdb) bt
#0 0x00007f94d024779c in gst_wpe_src_create(GstBaseSrc*, guint64, guint, GstBuffer**) (bsrc=<optimized out>, offset=18446744073709551615, length=4096, buf=0x7f94438b8598) at ../ext/wpe/gstwpesrc.cpp:181
#1 0x00007f94d308f3dd in gst_base_src_get_range (src=src@entry=0x7f94cc0f9f80 [GstBaseSrc|wpesrc_1], offset=offset@entry=18446744073709551615, length=<optimized out>, length@entry=4096, buf=buf@entry=0x7f94438b8670)
at ../libs/gst/base/gstbasesrc.c:2587
#2 0x00007f94d30924ac in gst_base_src_loop (pad=0x7f94cc0fc1c0 [GstPad|src]) at ../libs/gst/base/gstbasesrc.c:2911
#3 0x00007f94d2fc1667 in gst_task_func (task=0x7f94cc07a830 [GstTask|wpesrc_1:src]) at ../gst/gsttask.c:328
#4 0x00007f94d2df51d4 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f94d2df4931 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00007f94d2905609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7 0x00007f94d280f103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
```
Here are some runtime details:
```
(gdb) p ts_offset
$1 = 0
(gdb) p gl_src
$2 = 0x7fe2380f3850 [GstGLBaseSrc|wpesrc_1]
(gdb) p gl_src->running_time
$3 = 66666666 [0:00:00.066666666]
(gdb) p *buf
$4 = 0x0
```
Null pointer?
UPD: This is with `LIBGL_ALWAYS_SOFTWARE=true` on master branch.
cc @philnhttps://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1402webrtcbin: Not posting EOS2020-09-10T07:18:26Zpushforcewebrtcbin: Not posting EOSI use webrtcbin in my pipeline which transforms webrtc stream to hls. When i trying to stop pipeline(send EOS event to it) i expect to receive EOS message on BUS, but it doesn't happen. In the logs, webrtcbin does not send a EOS message....I use webrtcbin in my pipeline which transforms webrtc stream to hls. When i trying to stop pipeline(send EOS event to it) i expect to receive EOS message on BUS, but it doesn't happen. In the logs, webrtcbin does not send a EOS message.
Logs from moment when i send EOS message to pipeline:
```
0:00:21.269183416 30644 0x561c2b55f360 DEBUG bin gstbin.c:3135:gst_bin_send_event:<test_pipeline> Sending eos event to src children
0:00:21.269251667 30644 0x561c2b55f360 DEBUG bin gstbin.c:3135:gst_bin_send_event:<wbertcbin> Sending eos event to src children
0:00:21.269278572 30644 0x561c2b55f360 DEBUG bin gstbin.c:3135:gst_bin_send_event:<transportreceivebin0> Sending eos event to src children
0:00:21.269429637 30644 0x561c2b55f360 LOG bin gstbin.c:3152:gst_bin_send_event:<nicesrc1> After handling eos event: 1
0:00:21.269636705 30644 0x561c2b55f360 LOG bin gstbin.c:3152:gst_bin_send_event:<nicesrc0> After handling eos event: 1
0:00:21.269675885 30644 0x561c2b55f360 DEBUG bin gstbin.c:3175:gst_bin_send_event:<transportreceivebin0> Sending eos event to sink pads
0:00:21.269700865 30644 0x561c2b55f360 LOG bin gstbin.c:3152:gst_bin_send_event:<transportreceivebin0> After handling eos event: 1
0:00:21.269726584 30644 0x561c2b55f360 DEBUG bin gstbin.c:3175:gst_bin_send_event:<wbertcbin> Sending eos event to sink pads
0:00:21.269750337 30644 0x561c2b55f360 LOG bin gstbin.c:3152:gst_bin_send_event:<wbertcbin> After handling eos event: 1
0:00:21.269776343 30644 0x561c2b55f360 DEBUG bin gstbin.c:3175:gst_bin_send_event:<test_pipeline> Sending eos event to sink pads
0:00:21.310767378 30644 0x7fe4bc002120 DEBUG bin gstbin.c:3718:gst_bin_handle_message_func:<hlssink> [msg 0x7fe484378880] handling child splitmuxsink0 message of type element
0:00:21.310809279 30644 0x7fe4bc002120 DEBUG bin gstbin.c:4065:gst_bin_handle_message_func:<hlssink> posting message upward
0:00:21.310837569 30644 0x7fe4bc002120 DEBUG bin gstbin.c:3718:gst_bin_handle_message_func:<test_pipeline> [msg 0x7fe484378880] handling child splitmuxsink0 message of type element
0:00:21.310860723 30644 0x7fe4bc002120 DEBUG bin gstbin.c:4065:gst_bin_handle_message_func:<test_pipeline> posting message upward
0:00:21.310916077 30644 0x7fe4bc002120 DEBUG bin gstbin.c:3718:gst_bin_handle_message_func:<splitmuxsink0> [msg 0x7fe484378900] handling child sink message of type eos
0:00:21.310941324 30644 0x7fe4bc002120 DEBUG bin gstbin.c:882:find_message:<splitmuxsink0> no message found matching types 00000001
0:00:21.310954080 30644 0x7fe4bc002120 DEBUG bin gstbin.c:889:find_message:<splitmuxsink0> eos
0:00:21.310966019 30644 0x7fe4bc002120 DEBUG bin gstbin.c:928:bin_replace_message:<splitmuxsink0> got new message 0x7fe484378900, eos from sink
0:00:21.310976927 30644 0x7fe4bc002120 LOG bin gstbin.c:860:message_check: looking at message 0x7fe484378900: 1
0:00:21.310993000 30644 0x7fe4bc002120 DEBUG bin gstbin.c:878:find_message:<splitmuxsink0> we found a message 0x7fe484378900 from sink matching types 00000001
0:00:21.311011410 30644 0x7fe4bc002120 DEBUG bin gstbin.c:990:is_eos: sink 'sink' posted EOS
0:00:21.311030610 30644 0x7fe4bc002120 LOG bin gstbin.c:860:message_check: looking at message 0x7fe484378900: 1
0:00:21.311048580 30644 0x7fe4bc002120 DEBUG bin gstbin.c:956:bin_remove_messages:<sink> deleting message 0x7fe484378900 of type eos (types 0x00000001)
0:00:21.311071769 30644 0x7fe4bc002120 DEBUG bin gstbin.c:3550:bin_do_eos:<splitmuxsink0> all sinks posted EOS, posting seqnum #1306
Element event from splitmuxsink0
0:00:21.344390500 30644 0x7fe4bc002120 DEBUG bin gstbin.c:3718:gst_bin_handle_message_func:<hlssink> [msg 0x7fe484378a00] handling child splitmuxsink0 message of type eos
0:00:21.344439279 30644 0x7fe4bc002120 DEBUG bin gstbin.c:3601:bin_do_message_forward:<hlssink> pass eos message upward
0:00:21.344490903 30644 0x7fe4bc002120 DEBUG bin gstbin.c:3718:gst_bin_handle_message_func:<test_pipeline> [msg 0x561c2b7f8490] handling child hlssink message of type element
0:00:21.344514050 30644 0x7fe4bc002120 DEBUG bin gstbin.c:4065:gst_bin_handle_message_func:<test_pipeline> posting message upward
0:00:21.344556319 30644 0x7fe4bc002120 DEBUG bin gstbin.c:882:find_message:<hlssink> no message found matching types 00000001
0:00:21.344575608 30644 0x7fe4bc002120 DEBUG bin gstbin.c:889:find_message:<hlssink> eos
0:00:21.344598332 30644 0x7fe4bc002120 DEBUG bin gstbin.c:928:bin_replace_message:<hlssink> got new message 0x7fe484378a00, eos from splitmuxsink0
0:00:21.344619600 30644 0x7fe4bc002120 LOG bin gstbin.c:860:message_check: looking at message 0x7fe484378a00: 1
0:00:21.344642637 30644 0x7fe4bc002120 DEBUG bin gstbin.c:878:find_message:<hlssink> we found a message 0x7fe484378a00 from splitmuxsink0 matching types 00000001
0:00:21.344660722 30644 0x7fe4bc002120 DEBUG bin gstbin.c:990:is_eos: sink 'splitmuxsink0' posted EOS
0:00:21.344678524 30644 0x7fe4bc002120 LOG bin gstbin.c:860:message_check: looking at message 0x7fe484378a00: 1
0:00:21.344701002 30644 0x7fe4bc002120 DEBUG bin gstbin.c:956:bin_remove_messages:<splitmuxsink0> deleting message 0x7fe484378a00 of type eos (types 0x00000001)
0:00:21.344732395 30644 0x7fe4bc002120 DEBUG bin gstbin.c:3550:bin_do_eos:<hlssink> all sinks posted EOS, posting seqnum #1306
0:00:21.344755706 30644 0x7fe4bc002120 DEBUG bin gstbin.c:3718:gst_bin_handle_message_func:<test_pipeline> [msg 0x561c2b7f8610] handling child hlssink message of type eos
Element event from hlssink
0:00:21.344773129 30644 0x7fe4bc002120 DEBUG bin gstbin.c:3601:bin_do_message_forward:<test_pipeline> pass eos message upward
0:00:21.344805280 30644 0x7fe4bc002120 LOG bin gstbin.c:860:message_check: looking at message 0x7fe484368e90: 0
0:00:21.344820871 30644 0x7fe4bc002120 DEBUG bin gstbin.c:882:find_message:<test_pipeline> no message found matching types 00000001
0:00:21.344837424 30644 0x7fe4bc002120 DEBUG bin gstbin.c:889:find_message:<test_pipeline> eos
0:00:21.344856030 30644 0x7fe4bc002120 DEBUG bin gstbin.c:928:bin_replace_message:<test_pipeline> got new message 0x561c2b7f8610, eos from hlssink
Forvarded message <flags GST_MESSAGE_EOS of type Gst.MessageType> from hlssink
0:00:21.344877630 30644 0x7fe4bc002120 LOG bin gstbin.c:860:message_check: looking at message 0x561c2b7f8610: 1
0:00:21.344906983 30644 0x7fe4bc002120 DEBUG bin gstbin.c:878:find_message:<test_pipeline> we found a message 0x561c2b7f8610 from hlssink matching types 00000001
0:00:21.344925382 30644 0x7fe4bc002120 DEBUG bin gstbin.c:990:is_eos: sink 'hlssink' posted EOS
0:00:21.344944765 30644 0x7fe4bc002120 LOG bin gstbin.c:860:message_check: looking at message 0x561c2b7f8610: 0
0:00:21.344963524 30644 0x7fe4bc002120 LOG bin gstbin.c:860:message_check: looking at message 0x7fe484368e90: 0
0:00:21.344981452 30644 0x7fe4bc002120 DEBUG bin gstbin.c:882:find_message:<test_pipeline> no message found matching types 00000001
0:00:21.344999673 30644 0x7fe4bc002120 DEBUG bin gstbin.c:889:find_message:<test_pipeline> eos
0:00:21.345020541 30644 0x7fe4bc002120 DEBUG bin gstbin.c:994:is_eos: sink 'wbertcbin' did not post EOS yet
0:00:21.345044817 30644 0x7fe4bc002120 LOG bin gstbin.c:3554:bin_do_eos:<test_pipeline> Not forwarding EOS due to in progress state change, or already posted, or waiting for more EOS
```https://gitlab.freedesktop.org/gstreamer/www/-/issues/23Link to GStreamer Go bindings2024-02-03T15:03:45ZSebastian DrögeLink to GStreamer Go bindingshttps://github.com/electricface/go-gir / https://github.com/electricface/go-gir3
Seems to be the most complete and sensible approach out there, and still actively maintained.
People were asking for Go bindings in the past, so having so...https://github.com/electricface/go-gir / https://github.com/electricface/go-gir3
Seems to be the most complete and sensible approach out there, and still actively maintained.
People were asking for Go bindings in the past, so having something to link to would be useful.https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/603aggregator API is inherently racy2020-10-14T13:06:56ZVivia Nikolaidouaggregator API is inherently racyThe following discussion from https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/711 should be addressed:
- [ ] @meh started a [discussion](https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_reques...The following discussion from https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/711 should be addressed:
- [ ] @meh started a [discussion](https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/711#note_612623): (+1 comment)
> Hm, what if the pad gets flush stopped and receives a new buffer in the interval? In that case, we may end up not muxing the "best" pad. The alternative solution is to keep a reference to the "best" buffer alongside the best pad, and call drop_buffer() on it once actually processed.
Basically:
- @slomo [said](https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/711#note_612657):
> The only thing you can do is to pop() and then use up the buffer or queue it up locally. Everything else is racy :) So peek() and drop() are useless API and we just noticed that the aggregator API is bad 🤪https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/815glimagesink doesn't close the windows it created when going NULL => PLAYING =...2021-09-03T08:51:07Zadrienglimagesink doesn't close the windows it created when going NULL => PLAYING => NULLWhen a pipeline using glimagesink goes from NULL to PLAYING (or even READY I think) and then back to NULL, it doesn't free the window that has been automatically created (this doesn't apply when told to use an existing window obviously)....When a pipeline using glimagesink goes from NULL to PLAYING (or even READY I think) and then back to NULL, it doesn't free the window that has been automatically created (this doesn't apply when told to use an existing window obviously). This happens on both X and Wayland, using git master of gstreamer and gst-plugins-base. It exists since at least 1.12.
We've tried to fix the issue but were unable to do so after several days (and I don't think we're *that* bad). At first it looks like some objects are not unref'ed as they should but I've come to think that maybe this was on purpose.
I've looked for similar issues in the bug tracker and found several entries that seem to indicate that the amount of refs/unrefs in glimagesink might be problematic (both ways actually). This reinforces the feeling that the desired lifetime of some objects is not clear.
In plugins-base: #560 , #533 , #502 , #308 . In plugins-bad: gst-plugins-bad#670 .
This leads to some questions:
* can we get a confirmation that letting glimagesink automatically create a window is a usecase that is fully supported and expected to be used in real-world scenarios?
* should that window be freed when[gst_test.c](/uploads/d1ab1f2e39ffe00f5c9bbe99e91ee1a9/gst_test.c) the pipeline goes back to NULL or should it (and other resources) be kept for reuse?
I'm attaching a reproducer ( [gst_test.c](/uploads/b1ba74f6137560874094b141f0d2bb0a/gst_test.c) ) which can be compiled with `gcc -Wall -Wextra -g3 -ggdb3 $(pkg-config --cflags gstreamer-1.0) gst_test.c $(pkg-config --libs gstreamer-1.0)`. It runs for two seconds and then sets the pipeline to NULL, at which point the window remains but is frozen (it doesn't even redraw upon expose or resize events).
PS: I've linked to #308 because I've found that when running under X, after the pipeline is back to NULL, calling XSync() (which merely flushes communication buffers and is called in one of the finalizers) is enough to get the window closed. Since the issue doesn't exist on 1.8, it occured to me that the transition from xlib to xcb might be related (without being the main issue).
Thanks.https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/275h264 encode does not work on Comet lake with iHD driver2020-10-15T20:43:50Zwest jonesh264 encode does not work on Comet lake with iHD driverI am having issues with gstreamer converting/downloads it started on the i9/9gen coffee lake using i965 driver which I fixed with updating vaapi to 1.5/libva 2.3. Now the issues is back i9/10gen comet lake tested Ubuntu 18.04 vaapi 1.7/l...I am having issues with gstreamer converting/downloads it started on the i9/9gen coffee lake using i965 driver which I fixed with updating vaapi to 1.5/libva 2.3. Now the issues is back i9/10gen comet lake tested Ubuntu 18.04 vaapi 1.7/libva 2.3 i965 (which I found out there is no support on comet lake) and 20.04 vaapi 1.7/libva 2.6 which also seems to give me the same issues with gstreamer.
This is the error if I wait for the process to finish which downloads an empty file.
Error: Internal data stream error. gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:receiver_pipeline/GstAppSrc:decoded_buf_appsrc: streaming stopped, reason error (-5)https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/781mp4mux reserved-max-duration property should not accept value 02023-06-15T18:57:33ZFlorent Thierymp4mux reserved-max-duration property should not accept value 0mp4mux's property documentation states that value 0 is accepted:
```
reserved-max-duration: When set to a value > 0, reserves space for index tables at the beginning of the file.
flags: accès en lecture, accès ...mp4mux's property documentation states that value 0 is accepted:
```
reserved-max-duration: When set to a value > 0, reserves space for index tables at the beginning of the file.
flags: accès en lecture, accès en écriture
Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 18446744073709551615
```
However:
```
$ gst-launch-1.0 videotestsrc is-live=true ! x264enc tune=zerolatency ! mp4mux reserved-max-duration=0 reserved-moov-update-period=30000000000 ! filesink location=/tmp/test.mp4
...
ERROR: from element /GstPipeline:pipeline0/GstMP4Mux:mp4mux0: reserved-max-duration of 0 is not allowed
Additional debug info:
../subprojects/gst-plugins-good/gst/isomp4/gstqtmux.c(3052): gst_qt_mux_start_file (): /GstPipeline:pipeline0/GstMP4Mux:mp4mux0
```
As a workaround, i used the value `-1`
```
$ LANG=C gst-launch-1.0 videotestsrc is-live=true ! x264enc tune=zerolatency ! mp4mux reserved-max-duration=-1 reserved-moov-update-period=30000000000 ! filesink location=/tmp/test.mp4
```
Why is 0 even in the accepted range ? Should the documentation not state `When set to a value >= 0` ?https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1399msdkvp9dec & msdkh265dec is not not working for 12bit decoding with msdkvpp2020-08-28T02:20:25ZLim Siew Hoonmsdkvp9dec & msdkh265dec is not not working for 12bit decoding with msdkvppNot able to decode if using HEVC 12bit 420/422/444 & VP9 12bit 420/444 video clip with msdkvpp plugins invovled in.
gst-launch-1.0 filesrc location=video_hevc_12bit_420.265 ! h265parse ! msdkh265dec ! msdkvpp ! glimagesink
gst-launch-1....Not able to decode if using HEVC 12bit 420/422/444 & VP9 12bit 420/444 video clip with msdkvpp plugins invovled in.
gst-launch-1.0 filesrc location=video_hevc_12bit_420.265 ! h265parse ! msdkh265dec ! msdkvpp ! glimagesink
gst-launch-1.0 filesrc location=video_hevc_12bit_420.265 ! h265parse ! msdkh265dec ! msdkvpp hue=100 ! glimagesink
Don't see any issue using same command pipeline for HEVC 10bit video clip.
platform: TGL
libva: master branch
iHD media driver: 20.3 pre6 tag
MSDK library : 20.3 pre5 tag
OS: ubuntu & Yocto
gstreamer framework: master branch.https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/301windows: 1.16 build with msvc variant and python 3.8 fails on vsintegration ...2020-12-17T01:56:47ZAaron Boxerwindows: 1.16 build with msvc variant and python 3.8 fails on vsintegration recipe```
Property sheets files were sucessfully created in c:/gstreamer/1.0/x86_64/share/vs/2010/libs
Recipe 'vsintegration-1.0' failed at the build step 'install'
Traceback (most recent call last):
File "C:\MinGW\msys\1.0\home\aaron\src\ce...```
Property sheets files were sucessfully created in c:/gstreamer/1.0/x86_64/share/vs/2010/libs
Recipe 'vsintegration-1.0' failed at the build step 'install'
Traceback (most recent call last):
File "C:\MinGW\msys\1.0\home\aaron\src\cerbero2\cerbero\build\oven.py", line 166, in _cook_recipe
loop.run_until_complete(stepfunc(recipe))
File "C:\Python38\lib\asyncio\base_events.py", line 616, in run_until_complete
return future.result()
File "C:\MinGW\msys\1.0\home\aaron\src\cerbero2\cerbero\build\recipe.py", line 52, in wrapped
ret = stepfunc()
File "C:/MinGW/msys/1.0/home/aaron/src/cerbero2/recipes/vsintegration-1.0.recipe", line 52, in install
shutil.copytree(datapropsdir, propsdir)
File "C:\Python38\lib\shutil.py", line 554, in copytree
return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
File "C:\Python38\lib\shutil.py", line 492, in _copytree
copytree(srcobj, dstname, symlinks, ignore, copy_function,
File "C:\Python38\lib\shutil.py", line 554, in copytree
return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
File "C:\Python38\lib\shutil.py", line 462, in _copytree
srcname = os.path.join(src, srcentry.name)
File "C:\MinGW\msys\1.0\home\aaron\src\cerbero2\cerbero\hacks.py", line 67, in join
return '/'.join(args)
TypeError: sequence item 0: expected str instance, nt.DirEntry found
```
Build was successful when I dropped back to python 3.7https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1396d3d11videosink: add support rotate-method property2022-07-02T21:19:07ZRoman Shpuntovd3d11videosink: add support rotate-method propertyAs fa as I understand `swap chain` supports rotation: `https://docs.microsoft.com/en-us/windows/win32/api/dxgi1_2/nf-dxgi1_2-idxgiswapchain1-setrotation`. Almost all gstreamer sink elements support `rotate-method`, but there is not suppo...As fa as I understand `swap chain` supports rotation: `https://docs.microsoft.com/en-us/windows/win32/api/dxgi1_2/nf-dxgi1_2-idxgiswapchain1-setrotation`. Almost all gstreamer sink elements support `rotate-method`, but there is not support `rotate-method` inside d3d11videosink. Maybe this only applies to the graphical user interface and does not make sense in relation to gstreamer. This is feature request issue.