GStreamer issueshttps://gitlab.freedesktop.org/groups/gstreamer/-/issues2024-01-26T09:26:17Zhttps://gitlab.freedesktop.org/gstreamer/orc/-/issues/19altivec backend broken on ppc64le2024-01-26T09:26:17ZDaniel Kolesaaltivec backend broken on ppc64leI came across this after the most recent release was merged in my distro, when something calls into orc with the altivec support enabled, it crashes with something like this:
```
Thread 65 "task3" received signal SIGILL, Illegal instruc...I came across this after the most recent release was merged in my distro, when something calls into orc with the altivec support enabled, it crashes with something like this:
```
Thread 65 "task3" received signal SIGILL, Illegal instruction.
[Switching to Thread 0x7ffeab7ef070 (LWP 80434)]
0x00007fff54560004 in ?? ()
(gdb) bt
#0 0x00007fff54560004 in ()
#1 0x00007fff9001583c in orc_memset (d1=0x7ffe9c037800, p1=<optimized out>, n=<optimized out>) at ../orc/orcfunctions.c:321
#2 0x00007fff901b4270 in gst_audio_format_fill_silence () at /usr/lib/libgstaudio-1.0.so.0
#3 0x00007fff901cd2c8 in gst_audio_ring_buffer_acquire () at /usr/lib/libgstaudio-1.0.so.0
```
This is on POWER8 little endian.0.4.30https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/593Direct show video source plugin2019-04-24T10:27:39ZDmitry AdzhievDirect show video source pluginNow I working on Android Emulator camera support and customer wants to use anything which is supported as input source by direct show.
I saw ds plugin for gstreamer but it depends from base classes and they are unavailable in SDK for Win...Now I working on Android Emulator camera support and customer wants to use anything which is supported as input source by direct show.
I saw ds plugin for gstreamer but it depends from base classes and they are unavailable in SDK for Windows 10.
So currently I use ds and ffmpeg but I want to switch code to gstreamer. For this I need this plugin.
If you will approve this plugin I'll implement this and contribute gstreamer.
The idea is:
Create plugin which enumerates video input devices list and store their number in property for example "devices-number". Next user able to get property and just get device name by reading property "device-name" by index. So device may be selected by index. For example property "source". And when plugin is in playing state plugin just reads data from video dev and send frames to next plugin.
Please let me know.https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/383can't build gstreamer, gstenumtypes.h missing but required in gst.h2022-03-04T20:24:46ZA. Binzxxxxxxcan't build gstreamer, gstenumtypes.h missing but required in gst.hhow does your integration build it?
gstenumtypes.h is missing but required in gst.hhow does your integration build it?
gstenumtypes.h is missing but required in gst.hhttps://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/58Integrate a clippy run into the CI2019-07-06T07:41:29ZSebastian DrögeIntegrate a clippy run into the CIShould be the same way as for `gstreamer-rs`.
CC @alatieraShould be the same way as for `gstreamer-rs`.
CC @alatieraJordan PetridіsJordan Petridіshttps://gitlab.freedesktop.org/gstreamer/meson-ports/ffmpeg/-/issues/7Doesn't install header files2021-08-01T17:27:40ZPhilippe NormandDoesn't install header filesThis is with the meson-4.1 branch and meson 0.50.1:
```
ninja install
[0/1] Installing files.
Installing libavutil-static.a to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/Dependenc...This is with the meson-4.1 branch and meson 0.50.1:
```
ninja install
[0/1] Installing files.
Installing libavutil-static.a to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libavutil.so.56 to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libpostproc-static.a to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libpostproc.so.55 to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libswresample-static.a to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libswresample.so.3 to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libswscale-static.a to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libswscale.so.5 to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libavcodec-static.a to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libavcodec.so.58 to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libavformat-static.a to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libavformat.so.58 to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libavresample-static.a to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libavresample.so.4 to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libavfilter-static.a to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libavfilter.so.7 to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libavdevice-static.a to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing libavdevice.so.58 to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib
Installing ffplay to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/bin
Installing ffprobe to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/bin
Installing ffmpeg to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/bin
Installing /home/phil/WebKit/WebKitBuild/DependenciesGTK/Build/ffmpeg/meson-private/avutil.pc to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib/pkgconfig
Installing /home/phil/WebKit/WebKitBuild/DependenciesGTK/Build/ffmpeg/meson-private/postproc.pc to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib/pkgconfig
Installing /home/phil/WebKit/WebKitBuild/DependenciesGTK/Build/ffmpeg/meson-private/swresample.pc to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib/pkgconfig
Installing /home/phil/WebKit/WebKitBuild/DependenciesGTK/Build/ffmpeg/meson-private/swscale.pc to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib/pkgconfig
Installing /home/phil/WebKit/WebKitBuild/DependenciesGTK/Build/ffmpeg/meson-private/avcodec.pc to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib/pkgconfig
Installing /home/phil/WebKit/WebKitBuild/DependenciesGTK/Build/ffmpeg/meson-private/avformat.pc to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib/pkgconfig
Installing /home/phil/WebKit/WebKitBuild/DependenciesGTK/Build/ffmpeg/meson-private/avdevice.pc to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib/pkgconfig
Installing /home/phil/WebKit/WebKitBuild/DependenciesGTK/Build/ffmpeg/meson-private/avfilter.pc to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib/pkgconfig
Installing /home/phil/WebKit/WebKitBuild/DependenciesGTK/Build/ffmpeg/meson-private/avresample.pc to /home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/lib/pkgconfig
I: Moving temporary DESTDIR u'/home/phil/WebKit/WebKitBuild/DependenciesGTK/Root/_jhbuild/root-ffmpeg' into build prefix
I: Install complete: 39 files copied
```https://gitlab.freedesktop.org/gstreamer/meson-ports/ffmpeg/-/issues/5Doesn't build with Meson 0.48.12021-09-08T17:40:37ZTim-Philipp Müllertim@centricular.comDoesn't build with Meson 0.48.1```
The Meson build system
Version: 0.48.1
Source dir: /home/phil/WebKit/WebKitBuild/DependenciesGTK/Source/ffmpeg
Build dir: /home/phil/WebKit/WebKitBuild/DependenciesGTK/Build/ffmpeg
Build type: native build
meson.build:1564: WARNING: ...```
The Meson build system
Version: 0.48.1
Source dir: /home/phil/WebKit/WebKitBuild/DependenciesGTK/Source/ffmpeg
Build dir: /home/phil/WebKit/WebKitBuild/DependenciesGTK/Build/ffmpeg
Build type: native build
meson.build:1564: WARNING: Identifier 'in' will become a reserved keyword in a future release. Please rename it.
meson.build:1564:57: ERROR: Expecting rparen got id.
if check_type == 'lib' and not ('always-check' in opts)
```
Question is: change that to `opts.contains('always-check')` or bump meson version requirement to 0.49 ;)Tim-Philipp Müllertim@centricular.comTim-Philipp Müllertim@centricular.com2019-05-01https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/382GstElement: Need a way to prevent realtime priority to propagate to GStreamer...2019-04-29T13:05:56ZMats LindestamGstElement: Need a way to prevent realtime priority to propagate to GStreamer threads (Enhancement)We have a use case where we promote one or more pipelines from the Linux scheduling policy SCHER_OTHER to SCHER_RR.
What we are trying to create a way to prevent the SCHER_RR policy to propagate to the pipeline internal threads.
We have...We have a use case where we promote one or more pipelines from the Linux scheduling policy SCHER_OTHER to SCHER_RR.
What we are trying to create a way to prevent the SCHER_RR policy to propagate to the pipeline internal threads.
We have made a patch in the file gstelement.c in the function gst_element_call_async_func that resets the scheduling policy from SCHER_RR to SCHER_OTHER. This patch works but we are not sure that this is the proper way.
[0001-Prototype-hack-for-realtime-priority-in-parent-threa.patch](/uploads/25a62441bc9fd19bc3a41ba60e948bc0/0001-Prototype-hack-for-realtime-priority-in-parent-threa.patch)
We would like to discuss a permanent solution.
GStreamer version: 1.14.0
Operating system: Linuxhttps://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/381meson: enabling introspection while cross-compiling should be possible2021-01-08T10:12:20ZMichael Olbrichmeson: enabling introspection while cross-compiling should be possibleWhile it needs some prep work (wrapper scripts with qemu-user etc.) it is possible to build gobject introspection files while cross-compiling. So completely disabling it is not nice.
I don't think the default of a boolean option can dep...While it needs some prep work (wrapper scripts with qemu-user etc.) it is possible to build gobject introspection files while cross-compiling. So completely disabling it is not nice.
I don't think the default of a boolean option can depend on cross-compiling, can it? Maybe turn 'introspection' into a feature option and default to disabled when cross-compiling?1.17.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/954Cannot use more than 5 WebRTC datachannels2019-04-27T10:57:12ZFabio D'UrsoCannot use more than 5 WebRTC datachannelsHello,
It seems opening more than 5 datachannels causes strange "Invalid argument" errors.
I am attaching a simple program, based on the WebRTC examples, to reproduce the issue.
Please notice how, if you only open 5 data channels (lin...Hello,
It seems opening more than 5 datachannels causes strange "Invalid argument" errors.
I am attaching a simple program, based on the WebRTC examples, to reproduce the issue.
Please notice how, if you only open 5 data channels (line 172):
`for (int i = 0; i < 5; i++)`
everything works fine (you can see the on_data_channel callback firing on the other end).
However, if you open 6 or more data channels (e.g. by replacing 5 with a grater number at line 172), the other end only receives the first 5 ones and a lot of strange errors follow. For instance, this is the output for 8 data channels:
```
Starting pipeline
main: creating chan-0
main: creating chan-1
main: creating chan-2
main: creating chan-3
main: creating chan-4
main: creating chan-5
main: creating chan-6
main: creating chan-7
Created offer:
v=0
o=- 901154949399953672 0 IN IP4 0.0.0.0
s=-
t=0 0
a=ice-options:trickle
m=video 9 UDP/TLS/RTP/SAVPF 96
c=IN IP4 0.0.0.0
a=setup:actpass
a=ice-ufrag:2MHeOf1X3zc52s7z0MtPfQqjlRb2j644
a=ice-pwd:zLwQt/kjQeJLAhebGXdoKuTaCVWVlzrp
a=rtcp-mux
a=rtcp-rsize
a=sendrecv
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 nack pli
a=framerate:30
a=ssrc:2164201911 msid:user724377342@host-f566b918 webrtctransceiver0
a=ssrc:2164201911 cname:user724377342@host-f566b918
a=mid:video0
a=fingerprint:sha-256 11:4F:20:3C:5C:DD:DD:47:CB:4C:E1:06:9D:7D:BB:99:F9:82:2B:6D:F2:E4:9C:34:7F:AD:33:80:DC:D6:B2:D7
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 0.0.0.0
a=setup:actpass
a=ice-ufrag:G9uaPepQ17prWMkQEmldnS87riGJhHRZ
a=ice-pwd:9z+qqsu9nIzAG+nxt+SWB3CotbgSKxa8
a=mid:application1
a=sctp-port:5000
a=fingerprint:sha-256 11:4F:20:3C:5C:DD:DD:47:CB:4C:E1:06:9D:7D:BB:99:F9:82:2B:6D:F2:E4:9C:34:7F:AD:33:80:DC:D6:B2:D7
Created answer:
v=0
o=- 901154949399953672 0 IN IP4 0.0.0.0
s=-
t=0 0
a=ice-options:trickle
m=video 9 UDP/TLS/RTP/SAVPF 96
c=IN IP4 0.0.0.0
a=ice-ufrag:XSsRi38V/mHGWcdPM9sCRuZIerNCsFX1
a=ice-pwd:85KeI9MWMkPBz4LG12b+Bu8WN2eUtvBF
a=rtcp-mux
a=mid:video0
a=setup:active
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 nack pli
a=sendrecv
a=fingerprint:sha-256 11:4F:20:3C:5C:DD:DD:47:CB:4C:E1:06:9D:7D:BB:99:F9:82:2B:6D:F2:E4:9C:34:7F:AD:33:80:DC:D6:B2:D7
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 0.0.0.0
a=ice-ufrag:/16qAKOarhbHXeklT+lxTFNM361mTDd2
a=ice-pwd:CRqqKFJKPlq6WYmkkt0BqXp/eY4nMAcM
a=mid:application1
a=setup:active
a=sctp-port:5000
a=fingerprint:sha-256 11:4F:20:3C:5C:DD:DD:47:CB:4C:E1:06:9D:7D:BB:99:F9:82:2B:6D:F2:E4:9C:34:7F:AD:33:80:DC:D6:B2:D7
** (test:10972): WARNING **: 18:01:59.921: Error sending data on stream 11: (22) Invalid argument
** (test:10972): WARNING **: 18:01:59.921: Error sending data on stream 13: (22) Invalid argument
** (test:10972): WARNING **: 18:01:59.921: Error sending data on stream 15: (22) Invalid argument
on_data_channel: received chan-0
** (test:10972): WARNING **: 18:01:59.921: Error sending data on stream 11: (22) Invalid argument
** (test:10972): WARNING **: 18:01:59.921: Error sending data on stream 13: (22) Invalid argument
** (test:10972): WARNING **: 18:01:59.921: Error sending data on stream 15: (22) Invalid argument
on_data_channel: received chan-1
on_data_channel: received chan-2
** (test:10972): WARNING **: 18:01:59.922: Error sending data on stream 11: (22) Invalid argument
** (test:10972): WARNING **: 18:01:59.922: Error sending data on stream 13: (22) Invalid argument
on_data_channel: received chan-3
** (test:10972): WARNING **: 18:01:59.922: Error sending data on stream 15: (22) Invalid argument
on_data_channel: received chan-4
** (test:10972): WARNING **: 18:01:59.922: Error sending data on stream 11: (22) Invalid argument
** (test:10972): WARNING **: 18:01:59.923: Error sending data on stream 13: (22) Invalid argument
** (test:10972): WARNING **: 18:01:59.923: Error sending data on stream 15: (22) Invalid argument
** (test:10972): WARNING **: 18:02:00.023: Error sending data on stream 11: (22) Invalid argument
** (test:10972): WARNING **: 18:02:00.023: Error sending data on stream 13: (22) Invalid argument
** (test:10972): WARNING **: 18:02:00.023: Error sending data on stream 15: (22) Invalid argument
** (test:10972): WARNING **: 18:02:00.123: Error sending data on stream 11: (22) Invalid argument
** (test:10972): WARNING **: 18:02:00.123: Error sending data on stream 13: (22) Invalid argument
** (test:10972): WARNING **: 18:02:00.123: Error sending data on stream 15: (22) Invalid argument
^C
````
Am I using the API correctly? I have tested both 1.15.1 and 1.16.0 and they both exhibit this behaviour.
[test.c](/uploads/93a30412da4ca92c1903b8d46c197772/test.c)https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/601GL: external-oes shader places precision qualifier before #extension (was: an...2019-08-08T11:41:13ZGITkrisbiketeamGL: external-oes shader places precision qualifier before #extension (was: androidmedia amcviddec fail after 1.15.90 1.16.0 update)After updating to 1.15.90 or 1.16.0
Video streaming decoding no longer works on Android.
I use libgstreamer_android my config is:
`GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_ROOT)/share/gst-android/ndk-build`
`include $(GSTREAMER_NDK_BUIL...After updating to 1.15.90 or 1.16.0
Video streaming decoding no longer works on Android.
I use libgstreamer_android my config is:
`GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_ROOT)/share/gst-android/ndk-build`
`include $(GSTREAMER_NDK_BUILD_PATH)/plugins.mk`
`GSTREAMER_PLUGINS := coreelements udp rtsp rtpmanager rtp webrtc videoparsersbad openh264 videoconvert opengl androidmedia`
`GSTREAMER_EXTRA_LIBS := -liconv`
`G_IO_MODULES := gnutls`
`GSTREAMER_EXTRA_DEPS := gstreamer-video-1.0`
`include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer-1.0.mk`
and stream config is :
```
rtspsrc location=%1$s " + "tls-validation-flags=generic-error " + "latency=1000 ! "
+ "rtph264depay ! " + "h264parse ! " + "amcviddec-(hw decoder found on Android with MediaCodecList) !" + "videoconvert ! "
+ "glimagesink queue2
```
with 1.15.2 Gstreamer stream playback is working fine, however after update to 1.15.90 or 1.16.0
stream is failing with such error:
> 2019-04-20 14:11:02.570 com.bshg.homeconnect.android.dev D/mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1440x859]-format:2
> 2019-04-20 14:11:02.571 com.bshg.homeconnect.android.dev E/GStreamer+glslstage: 0:04:23.385090209 0x71c9b721e0 ../gst-libs/gst/gl/gstglslstage.c:507:_compile_shader:<glslstage15> fragment shader compilation failed:0:4: P0001: Extension directive must occur before any non-preprocessor tokens
0:6: L0001: Typename expected, found 'samplerExternalOES'
> 2019-04-20 14:11:02.571 com.bshg.homeconnect.android.dev E/GStreamer+glimagesink: 0:04:23.385431917 0x71c9b721e0 ../ext/gl/gstglimagesink.c:2045:gst_glimage_sink_thread_init_redisplay:<sink> Failed to link shader: fragment shader compilation failed:0:4: P0001: Extension directive must occur before any non-preprocessor tokens
0:6: L0001: Typename expected, found 'samplerExternalOES'
> 2019-04-20 14:11:02.571 com.bshg.homeconnect.android.dev W/GStreamer+glimagesink: 0:04:23.385605125 0x71c988cb70 ../ext/gl/gstglimagesink.c:1792:gst_glimage_sink_show_frame:<sink> error: Window redisplay failed
can somebody please help? is this a GStreamer lib error or I'm missing some config?1.16.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/953androidmedia amcviddec fail after 1.15.90 1.16.0 update2019-05-07T08:42:18ZGITkrisbiketeamandroidmedia amcviddec fail after 1.15.90 1.16.0 updateAfter updating to 1.15.90 or 1.16.0
Video streaming decoding no longer works on Android.
I use libgstreamer_android my config is:
`GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_ROOT)/share/gst-android/ndk-build`
`include $(GSTREAMER_NDK_BUIL...After updating to 1.15.90 or 1.16.0
Video streaming decoding no longer works on Android.
I use libgstreamer_android my config is:
`GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_ROOT)/share/gst-android/ndk-build`
`include $(GSTREAMER_NDK_BUILD_PATH)/plugins.mk`
`GSTREAMER_PLUGINS := coreelements udp rtsp rtpmanager rtp webrtc videoparsersbad openh264 videoconvert opengl androidmedia`
`GSTREAMER_EXTRA_LIBS := -liconv`
`G_IO_MODULES := gnutls`
`GSTREAMER_EXTRA_DEPS := gstreamer-video-1.0`
`include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer-1.0.mk`
and stream config is :
```
rtspsrc location=%1$s " + "tls-validation-flags=generic-error " + "latency=1000 ! "
+ "rtph264depay ! " + "h264parse ! " + "amcviddec-(hw decoder found on Android with MediaCodecList) !" + "videoconvert ! "
+ "glimagesink queue2
```
with 1.15.2 Gstreamer stream playback is working fine, however after update to 1.15.90 or 1.16.0
stream is failing with such error:
> 2019-04-20 14:11:02.570 com.bshg.homeconnect.android.dev D/mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1440x859]-format:2
> 2019-04-20 14:11:02.571 com.bshg.homeconnect.android.dev E/GStreamer+glslstage: 0:04:23.385090209 0x71c9b721e0 ../gst-libs/gst/gl/gstglslstage.c:507:_compile_shader:<glslstage15> fragment shader compilation failed:0:4: P0001: Extension directive must occur before any non-preprocessor tokens
0:6: L0001: Typename expected, found 'samplerExternalOES'
> 2019-04-20 14:11:02.571 com.bshg.homeconnect.android.dev E/GStreamer+glimagesink: 0:04:23.385431917 0x71c9b721e0 ../ext/gl/gstglimagesink.c:2045:gst_glimage_sink_thread_init_redisplay:<sink> Failed to link shader: fragment shader compilation failed:0:4: P0001: Extension directive must occur before any non-preprocessor tokens
0:6: L0001: Typename expected, found 'samplerExternalOES'
> 2019-04-20 14:11:02.571 com.bshg.homeconnect.android.dev W/GStreamer+glimagesink: 0:04:23.385605125 0x71c988cb70 ../ext/gl/gstglimagesink.c:1792:gst_glimage_sink_show_frame:<sink> error: Window redisplay failed
can somebody please help? is this a GStreamer lib error or I'm missing some config?1.16.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/592gl/wayland: API breakage in GstGLDisplayWayland2019-08-07T10:05:42ZSebastian Drögegl/wayland: API breakage in GstGLDisplayWayland808e7127673ffc03815709e7dba9d0b7e2cbe8ac / https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/merge_requests/66 renamed the `shell` struct field to `wl_shell`.
```diff
diff --git a/gst-libs/gst/gl/wayland/gstgldisplay_wayland.h b...808e7127673ffc03815709e7dba9d0b7e2cbe8ac / https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/merge_requests/66 renamed the `shell` struct field to `wl_shell`.
```diff
diff --git a/gst-libs/gst/gl/wayland/gstgldisplay_wayland.h b/gst-libs/gst/gl/wayland/gstgldisplay_wayland.h
index 1ba66551a..7b91baa06 100644
--- a/gst-libs/gst/gl/wayland/gstgldisplay_wayland.h
+++ b/gst-libs/gst/gl/wayland/gstgldisplay_wayland.h
@@ -56,7 +56,7 @@ struct _GstGLDisplayWayland
struct wl_registry *registry;
struct wl_compositor *compositor;
struct wl_subcompositor *subcompositor;
- struct wl_shell *shell;
+ struct wl_shell *wl_shell;
/* <private> */
gboolean foreign_display;
```
CC @nielsdg @ystreet @ndufresnehttps://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/592color loss with jpegdec2019-04-23T12:21:32ZHarishcolor loss with jpegdec![1](/uploads/0ea1eda8f91d14d7600241106f8a4371/1.jpg)
Playing the above file with multisrc and jpegdec with
"gst-launch-1.0 multifilesrc location=~/1.jpg start-index=0 stop-index=100 loop=true ! jpegdec ! videoconvert ! queue ! xima...![1](/uploads/0ea1eda8f91d14d7600241106f8a4371/1.jpg)
Playing the above file with multisrc and jpegdec with
"gst-launch-1.0 multifilesrc location=~/1.jpg start-index=0 stop-index=100 loop=true ! jpegdec ! videoconvert ! queue ! ximagesink" is resulting in color loss of horizontal barshttps://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/144macOS framework: GStreamer bin file should to have minimum version for upload...2020-03-09T23:34:20ZRoman ShpuntovmacOS framework: GStreamer bin file should to have minimum version for upload to AppStoreI tried to upload my app to AppStore without `LC_VERSION_MIN_MACOSX`, but unfortunately - there is some new requirements. I rebuilt GStreamer bin from libs and as a result I have the next:
otool -l GStreamer
```
...
cmd LC_VERSIO...I tried to upload my app to AppStore without `LC_VERSION_MIN_MACOSX`, but unfortunately - there is some new requirements. I rebuilt GStreamer bin from libs and as a result I have the next:
otool -l GStreamer
```
...
cmd LC_VERSION_MIN_MACOSX
cmdsize 16
version 10.10
sdk 10.14
...
```
With this bin everything is fine. I know about `Info.plist` (`LSMinimumSystemVersion`), but as far as I know in modern Xcode versions we have to use LC_VERSION_MIN_MACOSX inside bin.https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/145srt: Crash at CTimer::s_ullCPUFrequency with 1.16.0 on iOS2019-12-01T06:52:35ZMuhammet Ilendemlisrt: Crash at CTimer::s_ullCPUFrequency with 1.16.0 on iOSUpdated to 1.16.0 and the app crashes in CTimer::getTime() at CTimer::s_ullCPUFrequency.
Happens only when running on Simulator.
----
CC @ocrete Updated to 1.16.0 and the app crashes in CTimer::getTime() at CTimer::s_ullCPUFrequency.
Happens only when running on Simulator.
----
CC @ocrete https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/380Crash at CTimer::s_ullCPUFrequency with 1.16.0 on iOS2019-04-23T09:14:24ZMuhammet IlendemliCrash at CTimer::s_ullCPUFrequency with 1.16.0 on iOSUpdated to 1.16.0 and the app crashes in CTimer::getTime() at CTimer::s_ullCPUFrequency.
EDIT: Happens only when running on Simulator.
EDIT 2: Works fine with 1.15.90Updated to 1.16.0 and the app crashes in CTimer::getTime() at CTimer::s_ullCPUFrequency.
EDIT: Happens only when running on Simulator.
EDIT 2: Works fine with 1.15.90https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/379Targetting wrong meson version2019-08-15T13:16:16ZJan Alexander SteffensTargetting wrong meson versionI'm getting a warning from meson:
```
WARNING: Project targetting '>= 0.47' but tried to use feature introduced in '0.50.0': install arg in configure_file
```
gstreamer 1.16.0<br>
meson 0.50.1I'm getting a warning from meson:
```
WARNING: Project targetting '>= 0.47' but tried to use feature introduced in '0.50.0': install arg in configure_file
```
gstreamer 1.16.0<br>
meson 0.50.11.16.1Tim-Philipp Müllertim@centricular.comTim-Philipp Müllertim@centricular.comhttps://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/591scaletempo: Critical warning and negotiation failure when used as playbin aud...2019-04-23T16:31:37ZPhilippe Normandscaletempo: Critical warning and negotiation failure when used as playbin audio-filter```
gst-validate-1.0 playbin video-sink=fakesink audio-filter=scaletempo uri=file://$HOME/gst-build/gst-integration-testsuites/medias/defaults/mp4/mp3_h264.0.mp4 --set-scenario=fast_forward
**-> Running scenario fast_forward on pipeli...```
gst-validate-1.0 playbin video-sink=fakesink audio-filter=scaletempo uri=file://$HOME/gst-build/gst-integration-testsuites/medias/defaults/mp4/mp3_h264.0.mp4 --set-scenario=fast_forward
**-> Running scenario fast_forward on pipeline playbin0**
Starting pipeline
Pipeline started
Executing set-vars (
- default_flags=accurate+flush
)
Executing (subaction)seek (
- name=Fast-forward-seek
- playback-time=0
- rate=2
- start=0
- flags=accurate+flush
)
-> Action seek done (duration: 0:00:00.012380942)
Executing (subaction)seek (
- name=Fast-forward-seek
- playback-time=0:00:00.626937500
- rate=4
- start=0
- flags=accurate+flush
)
0:00:00.353614533 715 0x7f4e484cbf70 ERROR validate gst-validate-reporter.c:195:gst_validate_report_valist: <playbin0> 2285 (critical) : g-log: We got a g_log critical issue : gst_audio_buffer_map: assertion '(!meta && info->layout == GST_AUDIO_LAYOUT_INTERLEAVED) || (meta && info->layout == meta->info.layout)' failed
0:00:00.416149674 715 0x7f4e484cbf70 ERROR validate gst-validate-reporter.c:195:gst_validate_report_valist: <playbin0> 2271 (critical) : runtime: a NOT NEGOTIATED message has been posted on the bus. : Error message posted by: conv
Caps negotiation failed at pad 'pulsesink1:sink' as it refused caps: audio/x-raw, format=(string)S16LE, layout=(string)non-interleaved, rate=(int)44100, channels=(int)1 for the following possible reasons:
-> Field 'layout' downstream value from structure 0 '(gchararray)non-interleaved' can't intersect with filter value from structure number 0 '(gchararray)interleaved'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 1 name 'audio/x-alaw'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 2 name 'audio/x-mulaw'
0:00:00.442777845 715 0x7f4e484cbf70 ERROR validate gst-validate-reporter.c:195:gst_validate_report_valist: <playbin0> 2285 (critical) : g-log: We got a g_log critical issue : gst_audio_buffer_map: assertion '(!meta && info->layout == GST_AUDIO_LAYOUT_INTERLEAVED) || (meta && info->layout == meta->info.layout)' failed
0:00:00.445224123 715 0x5614f87a6390 ERROR validate gst-validate-reporter.c:195:gst_validate_report_valist: <fast_forward> 2276 (critical) : scenario: The program stopped before some actions were executed : 4 actions were not executed:
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(10.0\,\ \$\(duration\)\ \*\ 0.0625\)", rate=(double)4, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(20.0\,\ \$\(duration\)\ \*\ 0.125\)", rate=(double)8, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(40.0\,\ \$\(duration\)\ \*\ 0.25\)", rate=(double)16, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(80.0\,\ \$\(duration\)\ \*\ 0.50\)", rate=(double)32, start=(double)0, flags=(string)"\$\(default_flags\)"; (position: 99:99:99.999999999)
Executing stop (
- generated-after-eos=true
)
0:00:00.503836409 715 0x7f4e484cbf70 ERROR validate gst-validate-reporter.c:195:gst_validate_report_valist: <playbin0> 2271 (critical) : runtime: a NOT NEGOTIATED message has been posted on the bus. : Error message posted by: conv
Caps negotiation failed at pad 'pulsesink1:sink' as it refused caps: audio/x-raw, format=(string)S16LE, layout=(string)non-interleaved, rate=(int)44100, channels=(int)1 for the following possible reasons:
-> Field 'layout' downstream value from structure 0 '(gchararray)non-interleaved' can't intersect with filter value from structure number 0 '(gchararray)interleaved'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 1 name 'audio/x-alaw'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 2 name 'audio/x-mulaw'
warning : received the same caps twice
Detected on <avdec_h264-0:sink>
Detected on <h264parse0:sink>
Detected on <mpegaudioparse0:sink>
Detected on <avdec_mp3-0:sink>
warning : a new segment event has different value than the received one
Detected on <scaletempo0:src>
Description : when receiving a new segment, an element should push an equivalent segment downstream
warning : buffer timestamp is out of the received buffer timestamps' range
Detected on <avdec_mp3-0:src>
Description : a buffer leaving an element should have its timestamps in the range of the received buffers timestamps. i.e. If an element received buffers with timestamps from 0s to 10s, it can't push a buffer with a 11s timestamp, because it doesn't have data for that
critical : We got a g_log critical issue
Detected on <playbin0>
Details : gst_audio_buffer_map: assertion '(!meta && info->layout == GST_AUDIO_LAYOUT_INTERLEAVED) || (meta && info->layout == meta->info.layout)' failed
dotfile : no dotfile produced as GST_DEBUG_DUMP_DOT_DIR is not set.
backtrace :
gst_debug_get_stack_trace (0x14)
gst_validate_report_new (0x266)
gst_validate_report_valist (0x163)
gst_validate_report (0x130)
g_logv (0x543)
g_log (0x143)
gst_audio_buffer_map (0x340)
gst_audio_convert_transform (0x121)
default_generate_output (0x793)
gst_base_transform_chain (0x151)
gst_validate_pad_monitor_chain_ (0x744)
gst_pad_push_data (0x2498)
gst_pad_push (0x258)
gst_proxy_pad_chain_default (0x187)
gst_pad_push_data (0x2498)
gst_pad_push (0x258)
gst_queue_loop (0x2685)
gst_task_func (0x369)
g_thread_pool_new (0x739)
g_test_get_filename (0x405)
start_thread (0x243)
clone (0x63)
critical : a NOT NEGOTIATED message has been posted on the bus.
Detected on <playbin0>
Details : Error message posted by: conv
Caps negotiation failed at pad 'pulsesink1:sink' as it refused caps: audio/x-raw, format=(string)S16LE, layout=(string)non-interleaved, rate=(int)44100, channels=(int)1 for the following possible reasons:
-> Field 'layout' downstream value from structure 0 '(gchararray)non-interleaved' can't intersect with filter value from structure number 0 '(gchararray)interleaved'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 1 name 'audio/x-alaw'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 2 name 'audio/x-mulaw'
dotfile : no dotfile produced as GST_DEBUG_DUMP_DOT_DIR is not set.
backtrace :
gst_debug_get_stack_trace (0x14)
gst_validate_report_new (0x266)
gst_validate_report_valist (0x163)
gst_validate_report (0x130)
_bus_handler (0x3408)
ffi_call_unix64 (0x76)
ffi_call (0x559)
g_cclosure_marshal_generic (0x514)
g_closure_invoke (0x413)
g_signal_handler_disconnect (0x4453)
g_signal_emit_valist (0x3470)
g_signal_emit (0x143)
gst_bus_sync_signal_handler (0x84)
gst_bus_post (0x861)
gst_element_post_message_defaul (0x117)
gst_bin_post_message (0x45)
gst_element_post_message (0x106)
gst_bin_handle_message_func (0x222)
gst_pipeline_handle_message (0x89)
gst_play_bin_handle_message (0x133)
bin_bus_handler (0x24)
gst_bus_post (0x491)
gst_element_post_message_defaul (0x117)
gst_bin_post_message (0x45)
gst_element_post_message (0x106)
gst_bin_handle_message_func (0x222)
gst_play_sink_handle_message (0x678)
bin_bus_handler (0x24)
gst_bus_post (0x491)
gst_element_post_message_defaul (0x117)
gst_bin_post_message (0x45)
gst_element_post_message (0x106)
gst_bin_handle_message_func (0x222)
bin_bus_handler (0x24)
gst_bus_post (0x491)
gst_element_post_message_defaul (0x117)
gst_bin_post_message (0x45)
gst_element_post_message (0x106)
gst_bin_handle_message_func (0x222)
bin_bus_handler (0x24)
gst_bus_post (0x491)
gst_element_post_message_defaul (0x117)
gst_element_post_message (0x106)
gst_element_message_full_with_d (0x557)
gst_element_message_full (0x24)
gst_audio_convert_transform (0x1390)
default_generate_output (0x793)
gst_base_transform_chain (0x151)
gst_validate_pad_monitor_chain_ (0x744)
gst_pad_push_data (0x2498)
gst_pad_push (0x258)
gst_proxy_pad_chain_default (0x187)
gst_pad_push_data (0x2498)
gst_pad_push (0x258)
gst_queue_loop (0x2685)
gst_task_func (0x369)
g_thread_pool_new (0x739)
g_test_get_filename (0x405)
start_thread (0x243)
clone (0x63)
critical : The program stopped before some actions were executed
Detected on <fast_forward>
Details : 4 actions were not executed:
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(10.0\,\ \$\(duration\)\ \*\ 0.0625\)", rate=(double)4, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(20.0\,\ \$\(duration\)\ \*\ 0.125\)", rate=(double)8, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(40.0\,\ \$\(duration\)\ \*\ 0.25\)", rate=(double)16, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(80.0\,\ \$\(duration\)\ \*\ 0.50\)", rate=(double)32, start=(double)0, flags=(string)"\$\(default_flags\)"; (position: 99:99:99.999999999)
dotfile : no dotfile produced as GST_DEBUG_DUMP_DOT_DIR is not set.
backtrace :
gst_debug_get_stack_trace (0x14)
gst_validate_report_new (0x266)
gst_validate_report_valist (0x163)
gst_validate_report (0x130)
message_cb (0x2490)
ffi_call_unix64 (0x76)
ffi_call (0x559)
g_cclosure_marshal_generic (0x514)
g_closure_invoke (0x413)
g_signal_handler_disconnect (0x4453)
g_signal_emit_valist (0x3470)
g_signal_emit (0x143)
gst_bus_async_signal_func (0x84)
gst_bus_source_dispatch (0x205)
g_main_context_dispatch (0x344)
g_main_context_dispatch (0x1352)
g_main_loop_run (0x178)
main (0x1657)
__libc_start_main (0x235)
_start (0x42)
**Got criticals. Return value set to 18**:
* critical error gst_audio_buffer_map: assertion '(!meta && info->layout == GST_AUDIO_LAYOUT_INTERLEAVED) || (meta && info->layout == meta->info.layout)' failed
* critical error Error message posted by: conv
Caps negotiation failed at pad 'pulsesink1:sink' as it refused caps: audio/x-raw, format=(string)S16LE, layout=(string)non-interleaved, rate=(int)44100, channels=(int)1 for the following possible reasons:
-> Field 'layout' downstream value from structure 0 '(gchararray)non-interleaved' can't intersect with filter value from structure number 0 '(gchararray)interleaved'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 1 name 'audio/x-alaw'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 2 name 'audio/x-mulaw'
* critical error 4 actions were not executed:
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(10.0\,\ \$\(duration\)\ \*\ 0.0625\)", rate=(double)4, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(20.0\,\ \$\(duration\)\ \*\ 0.125\)", rate=(double)8, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(40.0\,\ \$\(duration\)\ \*\ 0.25\)", rate=(double)16, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(80.0\,\ \$\(duration\)\ \*\ 0.50\)", rate=(double)32, start=(double)0, flags=(string)"\$\(default_flags\)"; (position: 99:99:99.999999999)
Issues found: 6
Returning 18 as errors were found
=======> Test FAILED (Return value: 18)
```https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/591scaletempo: Critical warning and negotiation failure when used as playbin aud...2019-04-23T08:31:22ZPhilippe Normandscaletempo: Critical warning and negotiation failure when used as playbin audio-filter```
gst-validate-1.0 playbin video-sink=fakesink audio-filter=scaletempo uri=file://$HOME/gst-build/gst-integration-testsuites/medias/defaults/mp4/mp3_h264.0.mp4 --set-scenario=fast_forward
**-> Running scenario fast_forward on pipeli...```
gst-validate-1.0 playbin video-sink=fakesink audio-filter=scaletempo uri=file://$HOME/gst-build/gst-integration-testsuites/medias/defaults/mp4/mp3_h264.0.mp4 --set-scenario=fast_forward
**-> Running scenario fast_forward on pipeline playbin0**
Starting pipeline
Pipeline started
Executing set-vars (
- default_flags=accurate+flush
)
Executing (subaction)seek (
- name=Fast-forward-seek
- playback-time=0
- rate=2
- start=0
- flags=accurate+flush
)
-> Action seek done (duration: 0:00:00.012380942)
Executing (subaction)seek (
- name=Fast-forward-seek
- playback-time=0:00:00.626937500
- rate=4
- start=0
- flags=accurate+flush
)
0:00:00.353614533 715 0x7f4e484cbf70 ERROR validate gst-validate-reporter.c:195:gst_validate_report_valist: <playbin0> 2285 (critical) : g-log: We got a g_log critical issue : gst_audio_buffer_map: assertion '(!meta && info->layout == GST_AUDIO_LAYOUT_INTERLEAVED) || (meta && info->layout == meta->info.layout)' failed
0:00:00.416149674 715 0x7f4e484cbf70 ERROR validate gst-validate-reporter.c:195:gst_validate_report_valist: <playbin0> 2271 (critical) : runtime: a NOT NEGOTIATED message has been posted on the bus. : Error message posted by: conv
Caps negotiation failed at pad 'pulsesink1:sink' as it refused caps: audio/x-raw, format=(string)S16LE, layout=(string)non-interleaved, rate=(int)44100, channels=(int)1 for the following possible reasons:
-> Field 'layout' downstream value from structure 0 '(gchararray)non-interleaved' can't intersect with filter value from structure number 0 '(gchararray)interleaved'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 1 name 'audio/x-alaw'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 2 name 'audio/x-mulaw'
0:00:00.442777845 715 0x7f4e484cbf70 ERROR validate gst-validate-reporter.c:195:gst_validate_report_valist: <playbin0> 2285 (critical) : g-log: We got a g_log critical issue : gst_audio_buffer_map: assertion '(!meta && info->layout == GST_AUDIO_LAYOUT_INTERLEAVED) || (meta && info->layout == meta->info.layout)' failed
0:00:00.445224123 715 0x5614f87a6390 ERROR validate gst-validate-reporter.c:195:gst_validate_report_valist: <fast_forward> 2276 (critical) : scenario: The program stopped before some actions were executed : 4 actions were not executed:
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(10.0\,\ \$\(duration\)\ \*\ 0.0625\)", rate=(double)4, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(20.0\,\ \$\(duration\)\ \*\ 0.125\)", rate=(double)8, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(40.0\,\ \$\(duration\)\ \*\ 0.25\)", rate=(double)16, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(80.0\,\ \$\(duration\)\ \*\ 0.50\)", rate=(double)32, start=(double)0, flags=(string)"\$\(default_flags\)"; (position: 99:99:99.999999999)
Executing stop (
- generated-after-eos=true
)
0:00:00.503836409 715 0x7f4e484cbf70 ERROR validate gst-validate-reporter.c:195:gst_validate_report_valist: <playbin0> 2271 (critical) : runtime: a NOT NEGOTIATED message has been posted on the bus. : Error message posted by: conv
Caps negotiation failed at pad 'pulsesink1:sink' as it refused caps: audio/x-raw, format=(string)S16LE, layout=(string)non-interleaved, rate=(int)44100, channels=(int)1 for the following possible reasons:
-> Field 'layout' downstream value from structure 0 '(gchararray)non-interleaved' can't intersect with filter value from structure number 0 '(gchararray)interleaved'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 1 name 'audio/x-alaw'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 2 name 'audio/x-mulaw'
warning : received the same caps twice
Detected on <avdec_h264-0:sink>
Detected on <h264parse0:sink>
Detected on <mpegaudioparse0:sink>
Detected on <avdec_mp3-0:sink>
warning : a new segment event has different value than the received one
Detected on <scaletempo0:src>
Description : when receiving a new segment, an element should push an equivalent segment downstream
warning : buffer timestamp is out of the received buffer timestamps' range
Detected on <avdec_mp3-0:src>
Description : a buffer leaving an element should have its timestamps in the range of the received buffers timestamps. i.e. If an element received buffers with timestamps from 0s to 10s, it can't push a buffer with a 11s timestamp, because it doesn't have data for that
critical : We got a g_log critical issue
Detected on <playbin0>
Details : gst_audio_buffer_map: assertion '(!meta && info->layout == GST_AUDIO_LAYOUT_INTERLEAVED) || (meta && info->layout == meta->info.layout)' failed
dotfile : no dotfile produced as GST_DEBUG_DUMP_DOT_DIR is not set.
backtrace :
gst_debug_get_stack_trace (0x14)
gst_validate_report_new (0x266)
gst_validate_report_valist (0x163)
gst_validate_report (0x130)
g_logv (0x543)
g_log (0x143)
gst_audio_buffer_map (0x340)
gst_audio_convert_transform (0x121)
default_generate_output (0x793)
gst_base_transform_chain (0x151)
gst_validate_pad_monitor_chain_ (0x744)
gst_pad_push_data (0x2498)
gst_pad_push (0x258)
gst_proxy_pad_chain_default (0x187)
gst_pad_push_data (0x2498)
gst_pad_push (0x258)
gst_queue_loop (0x2685)
gst_task_func (0x369)
g_thread_pool_new (0x739)
g_test_get_filename (0x405)
start_thread (0x243)
clone (0x63)
critical : a NOT NEGOTIATED message has been posted on the bus.
Detected on <playbin0>
Details : Error message posted by: conv
Caps negotiation failed at pad 'pulsesink1:sink' as it refused caps: audio/x-raw, format=(string)S16LE, layout=(string)non-interleaved, rate=(int)44100, channels=(int)1 for the following possible reasons:
-> Field 'layout' downstream value from structure 0 '(gchararray)non-interleaved' can't intersect with filter value from structure number 0 '(gchararray)interleaved'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 1 name 'audio/x-alaw'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 2 name 'audio/x-mulaw'
dotfile : no dotfile produced as GST_DEBUG_DUMP_DOT_DIR is not set.
backtrace :
gst_debug_get_stack_trace (0x14)
gst_validate_report_new (0x266)
gst_validate_report_valist (0x163)
gst_validate_report (0x130)
_bus_handler (0x3408)
ffi_call_unix64 (0x76)
ffi_call (0x559)
g_cclosure_marshal_generic (0x514)
g_closure_invoke (0x413)
g_signal_handler_disconnect (0x4453)
g_signal_emit_valist (0x3470)
g_signal_emit (0x143)
gst_bus_sync_signal_handler (0x84)
gst_bus_post (0x861)
gst_element_post_message_defaul (0x117)
gst_bin_post_message (0x45)
gst_element_post_message (0x106)
gst_bin_handle_message_func (0x222)
gst_pipeline_handle_message (0x89)
gst_play_bin_handle_message (0x133)
bin_bus_handler (0x24)
gst_bus_post (0x491)
gst_element_post_message_defaul (0x117)
gst_bin_post_message (0x45)
gst_element_post_message (0x106)
gst_bin_handle_message_func (0x222)
gst_play_sink_handle_message (0x678)
bin_bus_handler (0x24)
gst_bus_post (0x491)
gst_element_post_message_defaul (0x117)
gst_bin_post_message (0x45)
gst_element_post_message (0x106)
gst_bin_handle_message_func (0x222)
bin_bus_handler (0x24)
gst_bus_post (0x491)
gst_element_post_message_defaul (0x117)
gst_bin_post_message (0x45)
gst_element_post_message (0x106)
gst_bin_handle_message_func (0x222)
bin_bus_handler (0x24)
gst_bus_post (0x491)
gst_element_post_message_defaul (0x117)
gst_element_post_message (0x106)
gst_element_message_full_with_d (0x557)
gst_element_message_full (0x24)
gst_audio_convert_transform (0x1390)
default_generate_output (0x793)
gst_base_transform_chain (0x151)
gst_validate_pad_monitor_chain_ (0x744)
gst_pad_push_data (0x2498)
gst_pad_push (0x258)
gst_proxy_pad_chain_default (0x187)
gst_pad_push_data (0x2498)
gst_pad_push (0x258)
gst_queue_loop (0x2685)
gst_task_func (0x369)
g_thread_pool_new (0x739)
g_test_get_filename (0x405)
start_thread (0x243)
clone (0x63)
critical : The program stopped before some actions were executed
Detected on <fast_forward>
Details : 4 actions were not executed:
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(10.0\,\ \$\(duration\)\ \*\ 0.0625\)", rate=(double)4, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(20.0\,\ \$\(duration\)\ \*\ 0.125\)", rate=(double)8, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(40.0\,\ \$\(duration\)\ \*\ 0.25\)", rate=(double)16, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(80.0\,\ \$\(duration\)\ \*\ 0.50\)", rate=(double)32, start=(double)0, flags=(string)"\$\(default_flags\)"; (position: 99:99:99.999999999)
dotfile : no dotfile produced as GST_DEBUG_DUMP_DOT_DIR is not set.
backtrace :
gst_debug_get_stack_trace (0x14)
gst_validate_report_new (0x266)
gst_validate_report_valist (0x163)
gst_validate_report (0x130)
message_cb (0x2490)
ffi_call_unix64 (0x76)
ffi_call (0x559)
g_cclosure_marshal_generic (0x514)
g_closure_invoke (0x413)
g_signal_handler_disconnect (0x4453)
g_signal_emit_valist (0x3470)
g_signal_emit (0x143)
gst_bus_async_signal_func (0x84)
gst_bus_source_dispatch (0x205)
g_main_context_dispatch (0x344)
g_main_context_dispatch (0x1352)
g_main_loop_run (0x178)
main (0x1657)
__libc_start_main (0x235)
_start (0x42)
**Got criticals. Return value set to 18**:
* critical error gst_audio_buffer_map: assertion '(!meta && info->layout == GST_AUDIO_LAYOUT_INTERLEAVED) || (meta && info->layout == meta->info.layout)' failed
* critical error Error message posted by: conv
Caps negotiation failed at pad 'pulsesink1:sink' as it refused caps: audio/x-raw, format=(string)S16LE, layout=(string)non-interleaved, rate=(int)44100, channels=(int)1 for the following possible reasons:
-> Field 'layout' downstream value from structure 0 '(gchararray)non-interleaved' can't intersect with filter value from structure number 0 '(gchararray)interleaved'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 1 name 'audio/x-alaw'
-> Downstream caps struct 0 name 'audio/x-raw' differs from filter caps struct 2 name 'audio/x-mulaw'
* critical error 4 actions were not executed:
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(10.0\,\ \$\(duration\)\ \*\ 0.0625\)", rate=(double)4, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(20.0\,\ \$\(duration\)\ \*\ 0.125\)", rate=(double)8, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(40.0\,\ \$\(duration\)\ \*\ 0.25\)", rate=(double)16, start=(double)0, flags=(string)"\$\(default_flags\)";
seek, name=(string)Fast-forward-seek, playback-time=(string)"min\(80.0\,\ \$\(duration\)\ \*\ 0.50\)", rate=(double)32, start=(double)0, flags=(string)"\$\(default_flags\)"; (position: 99:99:99.999999999)
Issues found: 6
Returning 18 as errors were found
=======> Test FAILED (Return value: 18)
```https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/378d3dvideosink: Flurry picture when playing raw video2021-09-24T14:02:00ZArchie Liud3dvideosink: Flurry picture when playing raw videoImage seems flurry when playing BGRA raw video in program, see attachment:
the top part is using program and the bottom part is using gst-launch on terminal
![appsrcBGRA](/uploads/c883dd79b9ec3059c52f24c0d5fafb90/appsrcBGRA.jpg)
Steps...Image seems flurry when playing BGRA raw video in program, see attachment:
the top part is using program and the bottom part is using gst-launch on terminal
![appsrcBGRA](/uploads/c883dd79b9ec3059c52f24c0d5fafb90/appsrcBGRA.jpg)
Steps to reproduce this issue:
1) raw file provided, with 1280x720x1 frame data, [bgra-1280-720-1.raw](/uploads/0379521ec70c8d0d04a2b423ee221c6f/bgra-1280-720-1.raw) also I have uploaded here:
https://www.dropbox.com/s/braugpr6dx1y8uo/bgra-1280-720-1.raw?dl=0
2) just build pipeline from command and play
```
GstElement* pipe = gst_parse_launch("filesrc
location=d:/bgra-1280-720-1.raw blocksize=3686400 !
video/x-raw,width=1280,height=720,format=BGRA,framerate=1/1 ! videoconvert !
imagefreeze ! autovideosink", NULL);
```
Thats all, to compare, just open a terminal and type the same command:
```
gst-launch-1.0 -v filesrc location=d:/bgra-1280-720-1.raw blocksize=3686400
! video/x-raw,width=1280,height=720,format=BGRA,framerate=1/1 ! videoconvert
! imagefreeze ! autovideosink
```
Tested on Windows 10 x64, Gstreamer 1.16 MinGW.
update: decode an PNG file can still reproduce it, is it an common issue
#gst-launch-1.0 -v filesrc location=d:/bgra.png ! decodebin ! videoconvert ! imagefreeze ! autovideosink
![bgra](/uploads/10568dc53e5ac65c43833f8aab44507c/bgra.png)