GStreamer issueshttps://gitlab.freedesktop.org/groups/gstreamer/-/issues2022-06-28T10:59:08Zhttps://gitlab.freedesktop.org/gstreamer/gst-libav/-/issues/17avdemux_ape0 can not work when getting audio data from http data2022-06-28T10:59:08ZBugzilla Migration Useravdemux_ape0 can not work when getting audio data from http data## Submitted by soh..@..il.com
**[Link to original bug (#738807)](https://bugzilla.gnome.org/show_bug.cgi?id=738807)**
## Description
gstreamer I use is v1.4.1.
in the code gstavdemux.c, it set avdemux_ape in blacklist.
it mea...## Submitted by soh..@..il.com
**[Link to original bug (#738807)](https://bugzilla.gnome.org/show_bug.cgi?id=738807)**
## Description
gstreamer I use is v1.4.1.
in the code gstavdemux.c, it set avdemux_ape in blacklist.
it means avdemux_ape can not work in push mode,
Why avdemux_ape cannot work in push mode?
Is there any limitation?
if I try to set demux->can_push = TRUE; for ape,
then I got the error :
stream_movi flow: error / error
pausing task, reason -5 (error)
Any solution for ape to work when playing from http ?
since dlna application will use http protocol to get audio data , other audio format can be download via http protocol, when ape audio file can not be download from http?
Version: 1.4.1https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1724hlssink2 -> splitmuxsink format-location-full handler2022-06-28T09:11:25ZTonyfacehlssink2 -> splitmuxsink format-location-full handlerIn 1.14.5, the custom handler for format-location-full in splitmuxsink was expected to return a gchar* with the custom location to store a fragment. Providing a custom handler for this successfully created custom named files and those fi...In 1.14.5, the custom handler for format-location-full in splitmuxsink was expected to return a gchar* with the custom location to store a fragment. Providing a custom handler for this successfully created custom named files and those filenames were passed to the hlssink2, and ended up in the output playlist.
Now (1.20.1), the default on_format_location in hlssink2 returns NULL, and sets a private variable current_location whose value is used to create the appropriate line in the output playlist.
If one now returns a gchar* from a custom handler, and creates a GOutputStream and assigns it to the splitmux giostreamsink, the location isn't seen by hlssink2, current_location isn't updated, the resulting playlist is empty (aside from headers), and an element message is posted indicating "Fragment closed without knowing its location".
I currently can't see any way to have both
- a custom format-location-full handler, and
- working playlist file output
Am I just missing something obvious? Is there a way I can access and set current_location?
If not, would it break any rules to have the hlssink2 provide an equivalent "format-location-full" signal, emitted when the splitmuxsink emits its own, but which would capture the return value, store it in current_location, then pass it as the return value to the splitmuxsink signal handler?https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/213Fallbackswitch : erroneous pipeline: could not link videotestsrc0 to s2022-06-28T06:20:30ZFredericFallbackswitch : erroneous pipeline: could not link videotestsrc0 to sI have two Gstreamer pipelines that work separately:
```
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=30/1" ! nvvidconv ! video/x-raw ! ximagesink
```
and
```gst-launch-1.0 vid...I have two Gstreamer pipelines that work separately:
```
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=30/1" ! nvvidconv ! video/x-raw ! ximagesink
```
and
```gst-launch-1.0 videotestsrc ! ximagesink```
But when I join them together with fallbackswitch like:
```
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=30/1" ! nvvidconv ! video/x-raw ! fallbackswitch name=s ! ximagesink videotestsrc ! s.fallback_sink
```
I get the following error message:
```
WARNING: erroneous pipeline: could not link videotestsrc0 to s
```
Any idea why this does not work ?
Regards.https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/212fallbackswitch : Compilation with elder version of GStreamer2022-06-27T11:10:14ZFredericfallbackswitch : Compilation with elder version of GStreamerHello, I would like to install and use fallbackswitch on a Nvidia Jetson Xavier NX with Ubuntu 18 and GStreamer 1.14. However the compilation of the plugin with cargo build provides the following error message : Requested 'gstreamer-1.0 ...Hello, I would like to install and use fallbackswitch on a Nvidia Jetson Xavier NX with Ubuntu 18 and GStreamer 1.14. However the compilation of the plugin with cargo build provides the following error message : Requested 'gstreamer-1.0 >= 1.20' but version of GStreamer is 1.14.5
Is there a way around this because I cannot change the version of GStreamer ?
Thanks for your help.https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1067nvcodec: features are not detected2022-06-26T04:25:29ZNaresh Kumarnvcodec: features are not detectedHi There,
Newbie here, I'm trying to get gstreamer to work with nvidia gpu. I've build the gstreamer using meson (gst-build).
gst-inspect-1.0 does not recognise any features from nvcodec plugin, also when I use exists option using gst...Hi There,
Newbie here, I'm trying to get gstreamer to work with nvidia gpu. I've build the gstreamer using meson (gst-build).
gst-inspect-1.0 does not recognise any features from nvcodec plugin, also when I use exists option using gst-inspect-1.0 command it does not recognise nvcodec plugin
```
# gst-inspect-1.0 --plugin nvcodec
Plugin Details:
Name nvcodec
Description GStreamer NVCODEC plugin
Filename /gst-build/build/subprojects/gst-plugins-bad/sys/nvcodec/libgstnvcodec.so
Version 1.17.0.1
License LGPL
Source module gst-plugins-bad
Binary package GStreamer Bad Plug-ins git
Origin URL Unknown package origin
0 features:
# gst-inspect-1.0 --exists nvcodec
#
```
Also nvcodec plugin is not getting detected by gst-inspect-1.0, if we are outside uninstalled environment.
> System details: Ubuntu 18.04 CUDA 10.1 (NVIDIA 2080ti GPU)
Not sure, if this is an issue or I'm doing a mistake. Please help.
Thanks, <br>
Naresh Ganesanhttps://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/7871.17.2: test suite is failing: audiotestsrc timeout2022-06-25T19:24:52ZTomasz Kłoczko1.17.2: test suite is failing: audiotestsrc timeout```
+ xvfb-run -a /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/gst-plugins-base-1.17.2/x86_64-redhat-linux-gnu'
ninja: no work to do.
1/116...```
+ xvfb-run -a /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/gst-plugins-base-1.17.2/x86_64-redhat-linux-gnu'
ninja: no work to do.
1/116 gst_typefindfunctions OK 1.80s
2/116 libs_audio OK 3.56s
3/116 libs_audiocdsrc OK 1.48s
4/116 libs_audiodecoder OK 2.27s
5/116 libs_audioencoder OK 0.83s
6/116 libs_audiosink OK 0.83s
7/116 libs_baseaudiovisualizer OK 0.82s
8/116 libs_discoverer OK 2.21s
9/116 libs_fft OK 2.31s
10/116 libs_libsabi OK 1.06s
11/116 libs_mikey OK 1.17s
12/116 libs_navigation OK 1.01s
13/116 libs_pbutils OK 2.33s
14/116 libs_profile OK 1.79s
15/116 libs_rtp OK 3.95s
16/116 libs_rtpbasedepayload OK 3.05s
17/116 libs_rtpbasepayload OK 3.90s
18/116 libs_rtpmeta OK 1.31s
19/116 libs_rtsp OK 2.57s
20/116 libs_sdp OK 2.83s
21/116 libs_tag OK 2.84s
22/116 libs_video OK 28.67s
23/116 libs_videoanc OK 1.53s
24/116 libs_videoencoder OK 2.89s
25/116 libs_videodecoder OK 8.19s
26/116 libs_videotimecode OK 3.85s
27/116 libs_xmpwriter OK 2.39s
28/116 elements_adder OK 8.32s
29/116 elements_appsink OK 3.45s
30/116 elements_appsrc OK 16.83s
31/116 elements_audioconvert OK 3.16s
32/116 elements_audiointerleave OK 30.41s
33/116 elements_audiomixer OK 9.73s
34/116 elements_audiorate OK 3.20s
35/116 elements_audiotestsrc FAIL 22.38s (exit status 1)
36/116 elements_audioresample OK 8.72s
37/116 elements_compositor OK 11.34s
38/116 elements_decodebin OK 2.55s
39/116 elements_overlaycomposition OK 5.99s
40/116 elements_playbin OK 3.19s
41/116 elements_playsink OK 2.11s
42/116 elements_streamsynchronizer OK 2.13s
43/116 elements_subparse OK 4.02s
44/116 elements_urisourcebin OK 2.55s
45/116 elements_videoconvert OK 2.57s
46/116 elements_videorate OK 6.90s
47/116 elements_videoscale OK 8.34s
48/116 elements_videotestsrc OK 4.73s
49/116 elements_volume OK 5.78s
50/116 generic_clock_selection OK 1.60s
51/116 generic_states OK 4.88s
52/116 pipelines_simple_launch_lines OK 5.61s
53/116 pipelines_basetime OK 5.72s
54/116 pipelines_capsfilter_renegotiation OK 2.22s
55/116 pipelines_gio OK 3.16s
56/116 pipelines_streamsynchronizer OK 1.71s
57/116 libs_allocators OK 2.74s
58/116 libs_rtspconnection OK 3.67s
59/116 elements_libvisual OK 2.25s
60/116 elements_encodebin OK 4.42s
61/116 elements_multifdsink OK 8.37s
62/116 elements_multisocketsink OK 3.01s
63/116 elements_playbin_complex OK 3.42s
64/116 elements_textoverlay OK 6.34s
65/116 elements_vorbisdec OK 2.53s
66/116 elements_vorbistag OK 3.01s
67/116 pipelines_oggmux OK 3.92s
68/116 pipelines_tcp OK 3.17s
69/116 pipelines_theoraenc OK 3.35s
70/116 pipelines_vorbisenc OK 2.95s
71/116 pipelines_vorbisdec OK 3.08s
72/116 libs_gstglcolorconvert OK 10.25s
73/116 libs_gstglcontext OK 6.61s
74/116 libs_gstglfeature OK 3.93s
75/116 libs_gstglformat OK 5.41s
76/116 libs_gstglheaders OK 3.74s
77/116 libs_gstglmatrix OK 2.71s
78/116 libs_gstglmemory OK 4.45s
79/116 libs_gstglquery OK 5.40s
80/116 libs_gstglshader OK 3.77s
81/116 libs_gstglsl OK 1.52s
82/116 libs_gstglslstage OK 2.27s
83/116 libs_gstglupload OK 2.97s
84/116 elements_glimagesink OK 2.96s
85/116 elements_glbin OK 8.71s
86/116 pipelines_gl_launch_lines OK 40.80s
87/116 elements_glfilter OK 2.78s
88/116 elements_glstereo OK 3.09s
89/116 elements_glmixer OK 4.20s
90/116 libs_gstlibscpp OK 2.10s
91/116 elements-videoscale-1 OK 15.31s
92/116 elements-videoscale-2 OK 12.54s
93/116 elements-videoscale-3 OK 14.15s
94/116 elements-videoscale-4 OK 14.46s
95/116 elements-videoscale-5 OK 10.77s
96/116 elements-videoscale-6 OK 12.56s
97/116 orc_audio OK 1.91s
98/116 orc_video OK 2.02s
99/116 orc_adder OK 1.61s
100/116 orc_audiomixer OK 2.31s
101/116 orc_compositor OK 1.96s
102/116 orc_volume OK 2.27s
103/116 orc_videotestsrc OK 1.70s
104/116 validate.audiotestsrc.reverse SKIP 1.47s
105/116 validate.videorate.10_to_1fps SKIP 2.21s
106/116 validate.videorate.reverse.10_to_1fps SKIP 1.82s
107/116 validate.videorate.reverse.10_to_30fps SKIP 2.08s
108/116 validate.videorate.reverse.1_to_10fps SKIP 1.61s
109/116 validate.videorate.reverse.30fps SKIP 1.04s
110/116 validate.videorate.reverse.variable_to_10fps SKIP 1.20s
111/116 validate.videorate.change_rate_while_playing SKIP 1.30s
112/116 validate.videorate.change_rate_reverse_playback SKIP 1.92s
113/116 validate.videorate.rate_0_5 SKIP 1.66s
114/116 validate.videorate.rate_0_5_with_decoder SKIP 1.28s
115/116 validate.videorate.rate_2_0 SKIP 1.38s
116/116 validate.videorate.rate_2_0_with_decoder SKIP 1.19s
Ok: 102
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 13
Timeout: 0
The output from the failed tests:
35/116 elements_audiotestsrc FAIL 22.38s (exit status 1)
--- command ---
17:08:22 GST_PLUGIN_SYSTEM_PATH_1_0='' GST_REGISTRY='/home/tkloczko/rpmbuild/BUILD/gst-plugins-base-1.17.2/x86_64-redhat-linux-gnu/tests/check/elements_audiotestsrc.registry' GST_PLUGIN_PATH_1_0='/home/tkloczko/rpmbuild/BUILD/gst-plugins-base-1.17.2/x86_64-redhat-linux-gnu:/usr/lib64/gstreamer-1.0' GST_STATE_IGNORE_ELEMENTS='cdio cdparanoiasrc libvisual_ alsasrc alsasink' GST_PLUGIN_SCANNER_1_0='/usr/libexec/gstreamer-1.0/gst-plugin-scanner' GST_PLUGIN_LOADING_WHITELIST='gstreamer:gst-plugins-base@/home/tkloczko/rpmbuild/BUILD/gst-plugins-base-1.17.2/x86_64-redhat-linux-gnu' GST_TAG_LICENSE_TRANSLATIONS_DICT='/home/tkloczko/rpmbuild/BUILD/gst-plugins-base-1.17.2/gst-libs/gst/tag/license-translations.dict' CK_DEFAULT_TIMEOUT='20' /home/tkloczko/rpmbuild/BUILD/gst-plugins-base-1.17.2/x86_64-redhat-linux-gnu/tests/check/elements_audiotestsrc
--- stdout ---
Running suite(s): audiotestsrc
50%: Checks: 2, Failures: 0, Errors: 1
../tests/check/elements/audiotestsrc.c:275:E:general:test_layout:0: (after this point) Test timeout expired
Check suite audiotestsrc ran in 20.547s (tests failed: 1)
-------
Full log written to /home/tkloczko/rpmbuild/BUILD/gst-plugins-base-1.17.2/x86_64-redhat-linux-gnu/meson-logs/testlog.txt
```https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/781test elements_audiotestsrc.test_layout occasionally times out2022-06-25T19:24:52ZJordan Petridіstest elements_audiotestsrc.test_layout occasionally times outCI Log: https://gitlab.freedesktop.org/alatiera/gst-ci/-/jobs/77553
Output
```sh
check.gst-plugins-base.elements_audiotestsrc.test_layout: Failed 'Application returned 1'
You can reproduce with: GST_PLUGIN_PATH_1_0='/builds/alat...CI Log: https://gitlab.freedesktop.org/alatiera/gst-ci/-/jobs/77553
Output
```sh
check.gst-plugins-base.elements_audiotestsrc.test_layout: Failed 'Application returned 1'
You can reproduce with: GST_PLUGIN_PATH_1_0='/builds/alatiera/gst-ci/gst-build/build:/usr/local/lib64/gstreamer-1.0' CK_DEFAULT_TIMEOUT='20' GST_REGISTRY='/builds/alatiera/gst-ci/gst-build/build/subprojects/gst-plugins-base/tests/check/elements_audiotestsrc.registry' GST_STATE_IGNORE_ELEMENTS='cdio cdparanoiasrc libvisual_ alsasrc alsasink' GST_TAG_LICENSE_TRANSLATIONS_DICT='/builds/alatiera/gst-ci/gst-build/subprojects/gst-plugins-base/gst-libs/gst/tag/license-translations.dict' GST_PLUGIN_LOADING_WHITELIST='gstreamer:gst-plugins-base@/builds/alatiera/gst-ci/gst-build/build' GST_PLUGIN_SYSTEM_PATH_1_0='' GST_CHECKS='test_layout' /builds/alatiera/gst-ci/gst-build/build/subprojects/gst-plugins-base/tests/check/elements_audiotestsrc
Dumping log files on failure
Dumping contents of /builds/alatiera/gst-ci/validate-output/logs/check/gst-plugins-base/elements_audiotestsrc/test_layout
=================
Test name: check.gst-plugins-base.elements_audiotestsrc.test_layout
Command: '/builds/alatiera/gst-ci/gst-build/build/subprojects/gst-plugins-base/tests/check/elements_audiotestsrc'
=================
(gst-plugin-scanner:4538): GStreamer-WARNING **: 14:33:26.157: Failed to load plugin '/builds/alatiera/gst-ci/gst-build/build/subprojects/pygobject/gi/_gi.cpython-37m-x86_64-linux-gnu.so': /builds/alatiera/gst-ci/gst-build/build/subprojects/pygobject/gi/_gi.cpython-37m-x86_64-linux-gnu.so: undefined symbol: PyExc_NotImplementedError
(gst-plugin-scanner:4538): GStreamer-WARNING **: 14:33:26.158: Failed to load plugin '/builds/alatiera/gst-ci/gst-build/build/subprojects/pygobject/gi/_gi_cairo.cpython-37m-x86_64-linux-gnu.so': /builds/alatiera/gst-ci/gst-build/build/subprojects/pygobject/gi/_gi_cairo.cpython-37m-x86_64-linux-gnu.so: undefined symbol: PyExc_ValueError
Running suite(s): audiotestsrc
0%: Checks: 1, Failures: 0, Errors: 1
../subprojects/gst-plugins-base/tests/check/elements/audiotestsrc.c:275:E:general:test_layout:0: (after this point) Test timeout expired
Check suite audiotestsrc ran in 22.170s (tests failed: 1)
```https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/3201.19.3: test suite is failing2022-06-25T18:12:37ZTomasz Kłoczko1.19.3: test suite is failingSource tree configuration:
```console
+ /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...Source tree configuration:
```console
+ /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 examples=enabled -D tests=enabled
The Meson build system
Version: 0.59.4
Source dir: /home/tkloczko/rpmbuild/BUILD/gstreamer-vaapi-1.19.3
Build dir: /home/tkloczko/rpmbuild/BUILD/gstreamer-vaapi-1.19.3/x86_64-redhat-linux-gnu
Build type: native build
Project name: gstreamer-vaapi
Project version: 1.19.3
C compiler for the host machine: /usr/bin/gcc (gcc 11.2.1 "gcc (GCC) 11.2.1 20211019 (Red Hat 11.2.1-6)")
C linker for the host machine: /usr/bin/gcc ld.bfd 2.37-17
Host machine cpu family: x86_64
Host machine cpu: x86_64
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
Library m found: YES
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency gstreamer-1.0 found: YES 1.19.3
Run-time dependency gstreamer-base-1.0 found: YES 1.19.3
Run-time dependency gstreamer-pbutils-1.0 found: YES 1.19.3
Run-time dependency gstreamer-allocators-1.0 found: YES 1.19.3
Run-time dependency gstreamer-video-1.0 found: YES 1.19.3
Run-time dependency gstreamer-codecparsers-1.0 found: YES 1.19.1
Run-time dependency gstreamer-gl-1.0 found: YES 1.19.3
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: YES
Run-time dependency gmodule-2.0 found: YES 2.70.1
Run-time dependency libva found: YES 1.13.0
Run-time dependency libva-drm found: YES 1.13.0
Run-time dependency libva-wayland found: YES 1.13.0
Run-time dependency libva-x11 found: YES 1.13.0
Run-time dependency libdrm found: YES 2.4.107
Run-time dependency libudev found: YES 249
Run-time dependency egl found: YES 1.5
Run-time dependency gl found: YES 1.2
Run-time dependency glesv2 found: YES 3.2
Run-time dependency gstreamer-check-1.0 found: YES 1.19.3
Library dl found: YES
Run-time dependency wayland-client found: YES 1.19.0
Run-time dependency wayland-protocols found: YES 1.23
Program wayland-scanner found: YES (/usr/bin/wayland-scanner)
Run-time dependency x11 found: YES 1.7.2
Run-time dependency xrandr found: YES 1.5.2
Run-time dependency gtk+-3.0 found: YES 3.24.30
Has header "GLES2/gl2.h" with dependency glesv2: YES
Has header "GLES2/gl2ext.h" with dependency glesv2: YES
Has header "GLES3/gl3.h" with dependency glesv2: YES
Has header "GLES3/gl3ext.h" with dependency glesv2: YES
Has header "GLES2/gl2ext.h" with dependency glesv2: YES (cached)
Has header "va/va_enc_vp9.h" with dependency libva: YES
Has header "va/va_dec_av1.h" with dependency libva: YES
Run-time dependency gstreamer-gl-prototypes-1.0 found: YES 1.19.3
Run-time dependency gstreamer-gl-x11-1.0 found: YES 1.19.3
Run-time dependency gstreamer-gl-wayland-1.0 found: YES 1.19.3
Run-time dependency gstreamer-gl-egl-1.0 found: YES 1.19.3
Has header "X11/XKBlib.h" with dependency x11: YES
Program /usr/libexec/gstreamer-1.0/gst-plugins-doc-cache-generator found: YES (/usr/libexec/gstreamer-1.0/gst-plugins-doc-cache-generator)
Program hotdoc skipped: feature doc disabled
Message: Hotdoc not found, not building the documentation
Program scripts/extract-release-date-from-doap-file.py found: YES (/home/tkloczko/rpmbuild/BUILD/gstreamer-vaapi-1.19.3/scripts/extract-release-date-from-doap-file.py)
Message: Package release date: 2021-11-03
Configuring config.h using configuration
Build targets in project: 24
```
And test suite result:
```console
+ /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 12 --print-errorlogs
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/gstreamer-vaapi-1.19.3/x86_64-redhat-linux-gnu'
ninja: no work to do.
1/2 elements_vaapioverlay OK 0.88s
2/2 elements_vaapipostproc FAIL 1.72s exit status 2
>>> MALLOC_PERTURB_=13 GST_PLUGIN_PATH_1_0=/home/tkloczko/rpmbuild/BUILD/gstreamer-vaapi-1.19.3/x86_64-redhat-linux-gnu:/usr/lib64/gstreamer-1.0 GST_PLUGIN_SYSTEM_PATH_1_0='' GST_REGISTRY=/home/tkloczko/rpmbuild/BUILD/gstreamer-vaapi-1.19.3/x86_64-redhat-linux-gnu/tests/check/elements_vaapipostproc.registry CK_DEFAULT_TIMEOUT=20 /home/tkloczko/rpmbuild/BUILD/gstreamer-vaapi-1.19.3/x86_64-redhat-linux-gnu/tests/check/elements_vaapipostproc
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
stdout:
Running suite(s): vaapipostproc
33%: Checks: 3, Failures: 0, Errors: 2
../tests/check/elements/vaapipostproc.c:174:E:general:test_crop_mouse_events:0: (after this point) Received signal 6 (Aborted)
../tests/check/elements/vaapipostproc.c:174:E:general:test_orientation_mouse_events:0: (after this point) Received signal 6 (Aborted)
Check suite vaapipostproc ran in 0.823s (tests failed: 2)
stderr:
(gst-plugin-scanner:512076): GStreamer-WARNING **: 23:22:53.479: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstrtp.so': /usr/lib64/gstreamer-1.0/libgstrtp.so: undefined symbol: gst_rtp_header_extension_set_attributes_from_caps_simple_sdp
(gst-plugin-scanner:512076): GStreamer-WARNING **: 23:22:53.479: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstrtpmanager.so': /usr/lib64/gstreamer-1.0/libgstrtpmanager.so: undefined symbol: gst_rtp_header_extension_set_attributes_from_caps_simple_sdp
libva info: VA-API version 1.13.0
libva info: Trying to open /usr/lib64/dri/nouveau_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva info: va_openDriver() returns 0
libva info: VA-API version 1.13.0
libva info: Trying to open /usr/lib64/dri/nouveau_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva info: va_openDriver() returns 0
nouveau: kernel rejected pushbuf: No such device
nouveau: ch2: krec 0 pushes 1 bufs 4 relocs 0
nouveau: ch2: buf 00000000 00000002 00000004 00000004 00000000
nouveau: ch2: buf 00000001 00000006 00000004 00000000 00000004
nouveau: ch2: buf 00000002 0000000c 00000002 00000000 00000002
nouveau: ch2: buf 00000003 0000000d 00000004 00000004 00000000
nouveau: ch2: psh 00000000 0000001ef4 0000001f44
nouveau: 0x200181c2
nouveau: 0x03303210
nouveau: 0x200681c3
nouveau: 0x00001030
nouveau: 0x00000020
nouveau: 0x00000040
nouveau: 0x00000001
nouveau: 0x00000000
nouveau: 0x00000000
nouveau: 0x20088100
nouveau: 0x00000000
nouveau: 0x003d5000
nouveau: 0x00000000
nouveau: 0x019a3000
nouveau: 0x00000080
nouveau: 0x00000080
nouveau: 0x00000020
nouveau: 0x00000040
nouveau: 0x200180c0
nouveau: 0x00000686
elements_vaapipostproc: ../nouveau/pushbuf.c:728: nouveau_pushbuf_data: Assertion `kref' failed.
nouveau: kernel rejected pushbuf: No such device
nouveau: ch2: krec 0 pushes 1 bufs 4 relocs 0
nouveau: ch2: buf 00000000 00000002 00000004 00000004 00000000
nouveau: ch2: buf 00000001 00000006 00000004 00000000 00000004
nouveau: ch2: buf 00000002 0000001a 00000002 00000000 00000002
nouveau: ch2: buf 00000003 0000000c 00000004 00000004 00000000
nouveau: ch2: psh 00000000 0000001f44 0000001f94
nouveau: 0x200181c2
nouveau: 0x03303210
nouveau: 0x200681c3
nouveau: 0x00001030
nouveau: 0x00000020
nouveau: 0x00000040
nouveau: 0x00000001
nouveau: 0x00000000
nouveau: 0x00000000
nouveau: 0x20088100
nouveau: 0x00000000
nouveau: 0x019a7000
nouveau: 0x00000000
nouveau: 0x019a5000
nouveau: 0x00000080
nouveau: 0x00000080
nouveau: 0x00000020
nouveau: 0x00000040
nouveau: 0x200180c0
nouveau: 0x00000686
elements_vaapipostproc: ../nouveau/pushbuf.c:728: nouveau_pushbuf_data: Assertion `kref' failed.
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Summary of Failures:
2/2 elements_vaapipostproc FAIL 1.72s exit status 2
Ok: 1
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
```https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/13161.16.2: does not build with latest (sdk) vulkan 1.2.141.02022-06-25T17:37:12ZTomasz Kłoczko1.16.2: does not build with latest (sdk) vulkan 1.2.141.0```
[tkloczko@barrel x86_64-redhat-linux-gnu]$ ninja -C .
ninja: Entering directory `.'
[5/239] Generating viewporter-protocol.c with a custom command
Using "code" is deprecated - use private-code or public-code.
See the help page for de...```
[tkloczko@barrel x86_64-redhat-linux-gnu]$ ninja -C .
ninja: Entering directory `.'
[5/239] Generating viewporter-protocol.c with a custom command
Using "code" is deprecated - use private-code or public-code.
See the help page for details.
[6/239] Generating linux-dmabuf-unstable-v1-protocol.c with a custom command
Using "code" is deprecated - use private-code or public-code.
See the help page for details.
[7/239] Generating fullscreen-shell-unstable-v1-protocol.c with a custom command
Using "code" is deprecated - use private-code or public-code.
See the help page for details.
[8/239] Generating xdg-shell-protocol.c with a custom command
Using "code" is deprecated - use private-code or public-code.
See the help page for details.
[18/239] Compiling C object 'ext/vulkan/dc92c40@@gstvulkan@sha/vkerror.c.o'
FAILED: ext/vulkan/dc92c40@@gstvulkan@sha/vkerror.c.o
gcc -Iext/vulkan/dc92c40@@gstvulkan@sha -Iext/vulkan -I../ext/vulkan -I. -I.. -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/orc-0.4 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -Wmissing-prototypes -Wdeclaration-after-statement -Wold-style-definition -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Wformat -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith -Wno-unused -O2 -g -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 -fPIC -pthread -DHAVE_CONFIG_H -MD -MQ 'ext/vulkan/dc92c40@@gstvulkan@sha/vkerror.c.o' -MF 'ext/vulkan/dc92c40@@gstvulkan@sha/vkerror.c.o.d' -o 'ext/vulkan/dc92c40@@gstvulkan@sha/vkerror.c.o' -c ../ext/vulkan/vkerror.c
../ext/vulkan/vkerror.c: In function ‘_vk_result_to_string’:
../ext/vulkan/vkerror.c:66:16: error: ‘VK_RESULT_BEGIN_RANGE’ undeclared (first use in this function)
66 | if (result < VK_RESULT_BEGIN_RANGE)
| ^~~~~~~~~~~~~~~~~~~~~
../ext/vulkan/vkerror.c:66:16: note: each undeclared identifier is reported only once for each function it appears in
[67/239] Linking target ext/ttml/libgstttmlsubs.so
```https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/6761.16.2: build fails2022-06-25T17:34:51ZTomasz Kłoczko1.16.2: build failsLooks like something is missing in meson dependencies checking but actually I cannot find which package is part of that missing header file.
<pre>[446/783] gcc -Iext/gtk/571c101@@gstgtk@sha -Iext/gtk -I../ext/gtk -I. -I../ -I/usr/include...Looks like something is missing in meson dependencies checking but actually I cannot find which package is part of that missing header file.
<pre>[446/783] gcc -Iext/gtk/571c101@@gstgtk@sha -Iext/gtk -I../ext/gtk -I. -I../ -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/lib64/gstreamer-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -fno-strict-aliasing -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Winit-self -Wmissing-include-dirs -Wno-multichar -Wvla -Wpointer-arith -Wmissing-prototypes -Wdeclaration-after-statement -Wold-style-definition -Waggregate-return -O2 -g -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 -fPIC -pthread -DHAVE_CONFIG_H -DGST_USE_UNSTABLE_API -DHAVE_GTK3_GL -MD -MQ 'ext/gtk/571c101@@gstgtk@sha/gstgtkglsink.c.o' -MF 'ext/gtk/571c101@@gstgtk@sha/gstgtkglsink.c.o.d' -o 'ext/gtk/571c101@@gstgtk@sha/gstgtkglsink.c.o' -c ../ext/gtk/gstgtkglsink.c
FAILED: ext/gtk/571c101@@gstgtk@sha/gstgtkglsink.c.o
gcc -Iext/gtk/571c101@@gstgtk@sha -Iext/gtk -I../ext/gtk -I. -I../ -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/lib64/gstreamer-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -fno-strict-aliasing -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Winit-self -Wmissing-include-dirs -Wno-multichar -Wvla -Wpointer-arith -Wmissing-prototypes -Wdeclaration-after-statement -Wold-style-definition -Waggregate-return -O2 -g -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 -fPIC -pthread -DHAVE_CONFIG_H -DGST_USE_UNSTABLE_API -DHAVE_GTK3_GL -MD -MQ 'ext/gtk/571c101@@gstgtk@sha/gstgtkglsink.c.o' -MF 'ext/gtk/571c101@@gstgtk@sha/gstgtkglsink.c.o.d' -o 'ext/gtk/571c101@@gstgtk@sha/gstgtkglsink.c.o' -c ../ext/gtk/gstgtkglsink.c
In file included from <b>../ext/gtk/gstgtkglsink.c:30</b>:
<b>/usr/include/gstreamer-1.0/gst/gl/gstglfuncs.h:42:14:</b> <font color="#CC0000"><b>fatal error: </b></font>GLES3/gl3ext.h: No such file or directory
42 | # include <font color="#CC0000"><b><GLES3/gl3ext.h></b></font>
| <font color="#CC0000"><b>^~~~~~~~~~~~~~~~</b></font>
compilation terminated.
ninja: build stopped: subcommand failed.
error: Bad exit status from /var/tmp/rpm-tmp.SVvRla (%build)
</pre>https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/873tee: Suppress push errors when dynamically linking/unlinking pads2022-06-25T06:47:58Zlawrencetrouptee: Suppress push errors when dynamically linking/unlinking padsIn our video pipelines, we use a 'tee' element to continually stream video (over RTP or RTSP), and then dynamically add and remove a 2nd source pad and link a pipeline branch to record MP4 clips. When unlinking the MP4 record pipeline br...In our video pipelines, we use a 'tee' element to continually stream video (over RTP or RTSP), and then dynamically add and remove a 2nd source pad and link a pipeline branch to record MP4 clips. When unlinking the MP4 record pipeline branch, we use BLOCK+IDLE probes (followed by EOS) to ensure we can unlink the branch safely and keep the main streaming branch of the pipeline running. However, we still intermittently hit errors in the 'tee' element when it tries to push frames to the 2nd source pad while it is in the process of being linked or unlinked.
A simple solution we have found is to add a new 'ignore-push-errors' property to the 'tee' element, which suppresses errors hit when pushing buffers downstream, and so does not propagate them upstream. I'm interested in whether it would be appropriate to integrate this new property into the Gstreamer mainline. I have attached a patch for this (against version 1.18.3).
[0001-Add-ignore-push-errors-property-on-tee.patch](/uploads/79a8487e3b62e94d6a113536a7d3ab7e/0001-Add-ignore-push-errors-property-on-tee.patch)https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1114sdpdemux throws a critical assertion error2022-06-24T17:51:38ZFunkyBobysdpdemux throws a critical assertion errorHi GStreamer devs,
I have stumbled upon an issue when trying out the sdpsrc and sdpdemux plugins. I have started working on it under LMDE 3, which is based on Debian 9 stable, which provides GStreamer 1.10.4. I was able to listen to an ...Hi GStreamer devs,
I have stumbled upon an issue when trying out the sdpsrc and sdpdemux plugins. I have started working on it under LMDE 3, which is based on Debian 9 stable, which provides GStreamer 1.10.4. I was able to listen to an audio RTP stream just fine by using the following pipeline :
```
$ gst-launch-1.0 sdpsrc location=sdp://test.sdp ! decodebin ! autoaudiosink
```
I then tried it out on a Debian Sid VM, which provides GStreamer 1.16.1. The same pipeline with the same SDP file throws the following error :
```
$ gst-launch-1.0 sdpsrc location=sdp://test.sdp ! decodebin ! autoaudiosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
** (gst-launch-1.0:602): CRITICAL **: 16:59:26.470: gst_sdp_media_get_connection: assertion 'idx < media->connections->len' failed
ERROR: from element /GstPipeline:pipeline0/GstSdpSrc:sdpsrc0/GstSDPDemux:sdpdemux0: Could not read from resource.
Additional debug info:
gstsdpdemux.c(982): gst_sdp_demux_handle_message (): /GstPipeline:pipeline0/GstSdpSrc:sdpsrc0/GstSDPDemux:sdpdemux0:
Could not receive any UDP packets for 10.0000 seconds, maybe your firewall is blocking it.
Execution ended after 0:00:10.014706472
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
```
After looking at the debug output, I understand that `sdpsrc` internally uses `sdpdemux`, so I tried the following and got the exact same output :
```
$ gst-launch-1.0 filesrc location=test.sdp ! sdpdemux ! decodebin ! autoaudiosink
```
Logs and SDP file are available here :
[gstreamer_sdpdemux_bug.zip](/uploads/7fdcc7ebe6d25d732e84504dbd8ff5c1/gstreamer_sdpdemux_bug.zip)
Did I do something wrong, considering that my pipeline only works with an outdated version ?
Thanks for your time.https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/210Handling SIGSEGV: invalid address on gstElementFactory.create()2022-06-24T12:03:56ZMattia AHandling SIGSEGV: invalid address on gstElementFactory.create()Hi all,
I'm working on a loader for the nodes present on the system, however, I'm having some issues with some third-party nodes.
Or better I started to have issues after their installation.
After some LLDB, I managed to pinpoint that t...Hi all,
I'm working on a loader for the nodes present on the system, however, I'm having some issues with some third-party nodes.
Or better I started to have issues after their installation.
After some LLDB, I managed to pinpoint that the error is generated from the create method of a **gstElementFactory** on the **create** method.
the object is the **avmux_ttml** .
Now the problem is that even if I know the line giving me issues I can't check for error since it is generated from the c side, Does someone know how can I work around this?
I would like to help if someone gives me some guidance to propose a fix to propagate the error back from c to rust wrapping it inside a nice Err().
This is a part of the backtrace:
```
`* thread #1, name = 'myapp', stop reason = signal SIGSEGV: invalid address (fault address: 0x70)
* frame #0: 0x00007ffff7e75c7b libgstreamer-1.0.so.0`gst_pad_new_from_template + 11
frame #1: 0x00007ffff5a4b678 libgstlibav.so`gst_ffmpegmux_init + 72
frame #2: 0x00007ffff7f781dd libgobject-2.0.so.0`g_type_create_instance + 781
frame #3: 0x00007ffff7f5734d libgobject-2.0.so.0`___lldb_unnamed_symbol127$$libgobject-2.0.so.0 + 509
frame #4: 0x00007ffff7f58b45 libgobject-2.0.so.0`g_object_new_with_properties + 629
frame #5: 0x00007ffff7f596f1 libgobject-2.0.so.0`g_object_new + 193
frame #6: 0x00007ffff7e579f3 libgstreamer-1.0.so.0`gst_element_factory_create + 435
frame #7: 0x0000555555d9e221 myapp`gstreamer::auto::element_factory::ElementFactory::create::h3b3646d7343bf9f8(self=0x00007fffffff7518, name=Option<&str> @ 0x00007fffffff6c48) at element_factory.rs:66:41
frame #8: 0x00005555556e2563 myapp`myapp::dgi::element::DgiElement::from_plugin_factory::hcd8baf6093ae2986(gst_factory=0x00007fffffff7518, gst_plugin=0x00007fffffff74d0) at element.rs:27:23
frame #9: 0x0000555555706835 myapp`myapp::dgi::inspector::index_elements::h86477c7f8cd922c6 at inspector.rs:26:27
frame #10: 0x0000555555763041 myapp`myapp::cli_commands::list_elements_commands::handle_list_element::ha7f1cee74af359f3 at list_elements_commands.rs:6:20
frame #11: 0x0000555555786f48 myapp`myapp::main::_$u7b$$u7b$closure$u7d$$u7d$::h29467d2c73ededaa((null)=Pin<&mut myapp::main::{async_block_env#0}> @ 0x00007fffffffbd98, (null)=ResumeTy @ 0x00007fffffffbda0) at main.rs:35:30`
```https://gitlab.freedesktop.org/gstreamer/gstreamer-project/-/issues/99Dynamic removing webrtcbin from GstTee cause total pipeline paused2022-06-24T10:48:46ZZhuChaselDynamic removing webrtcbin from GstTee cause total pipeline pausedI use one tee for maybe 5 webrtcbins as receiver, and one appsrc as sender. Between appsrc and tee, I have GstQueue, named queue1. I try to remove one webrtcbin frequently. Then i found queue1 paused sometimes, then block all the pipelin...I use one tee for maybe 5 webrtcbins as receiver, and one appsrc as sender. Between appsrc and tee, I have GstQueue, named queue1. I try to remove one webrtcbin frequently. Then i found queue1 paused sometimes, then block all the pipeline.
I even use GST_PAD_PROBE_TYPE_IDLE to unlink teepad using gst_pad_unlink before removing webrtcbin, code like,
gst_pad_add_probe(sink->teepad, GST_PAD_PROBE_TYPE_IDLE, unlink_cb, sink, (GDestroyNotify)g_free);
But I can still produce pipeline block, queue1 paused. I dig into the source code, when peer(chrome) leaves, I find teepad change to GST_FLOW_FLUSHING(-2) state even without removing webrtcbin from pipeline, I think changing to GST_FLOW_FLUSHING state is inevitable. Below is the state related log:
tee gsttee.c:940:gst_tee_handle_data:<videotee:src_4> Starting to push buffer 0000027DC865E000
0:00:03.219030000 9820 0000027DC5905800 INFO GST_SCHEDULING gstpad.c:4860:gst_pad_push_data:<videotee:src_4> error pushing events, return flushing
0:00:03.219759000 9820 0000027DC5905800 INFO tee gsttee.c:945:gst_tee_handle_data:<videotee:src_4> Pushing item 0000027DC865E000 yielded result flushing pad src_4
0:00:03.220583000 9820 0000027DC5905800 INFO tee gsttee.c:1013:gst_tee_handle_data:<videotee> received error flushing
0:00:03.222496000 9820 0000027DC5905800 INFO GST_PADS gstpad.c:4468:gst_pad_chain_data_unchecked:<videotee> chainfunc return2 queue videotee return -2 funcname gst_tee_chain pad sink
0:00:03.223200000 9820 0000027DC5905800 INFO GST_SCHEDULING gstpad.c:4478:gst_pad_chain_data_unchecked:<videotee:sink> called chainfunction &gst_tee_chain with buffer 0000027DC865E000, returned flushing
0:00:03.223904000 9820 0000027DC5905800 INFO GST_PADS gstpad.c:4511:gst_pad_chain_data_unchecked:<videotee> chainfunc return queue videotee pad sink return -2
0:00:03.227789000 9820 0000027DC5905800 INFO GST_SCHEDULING gstpad.c:4478:gst_pad_chain_data_unchecked:<caps:sink> called chainfunction &gst_base_transform_chain with buffer 0000027DC865E000, returned flushing
0:00:03.228397000 9820 0000027DC5905800 INFO GST_PADS gstpad.c:4511:gst_pad_chain_data_unchecked:<caps> chainfunc return queue caps pad sink return -2
0:00:03.228885000 9820 0000027DC5905800 INFO GST_SCHEDULING gstpad.c:4500:gst_pad_chain_data_unchecked:<caps:sink> called chainlistfunction &gst_pad_chain_list_default, returned flushing ret -2
0:00:03.229151000 9820 0000027DC5905800 INFO GST_PADS gstpad.c:4511:gst_pad_chain_data_unchecked:<caps> chainfunc return queue caps pad sink return -2
0:00:03.229579000 9820 0000027DC5905800 INFO task gsttask.c:733:gst_task_set_state_unlocked:<queuebb:src> Changing task 0000027DC5907290 to state 2
0:00:03.230532000 9820 0000027DC5905800 INFO queue_dataflow gstqueue.c:1660:gst_queue_loop:<queuebb> pause task, reason: flushing
0:00:03.231669000 9820 0000027DC5905800 INFO task gsttask.c:369:gst_task_func:<queuebb:src> Task 0000027DC5907290 going to paused
from function gst_tee_handle_data,
while (pads) {
GstPad *pad;
/* stop pushing more buffers when we have a fatal error */
if (G_UNLIKELY (ret != GST_FLOW_OK && ret != GST_FLOW_NOT_LINKED))
goto error;
pads = g_list_next (pads);
}
if one pad is not OK, then all pads will be affected. How about move goto error out? So, what can I do to dynamically remove webrtcbin from tee without affect other webrtcbin? Please advise.
Thanks.https://gitlab.freedesktop.org/gstreamer/gstreamer-project/-/issues/98Dynamic removing webrtcbin from GstTee cause total pipeline paused2022-06-24T10:47:02ZZhuChaselDynamic removing webrtcbin from GstTee cause total pipeline pausedI use one tee for maybe 5 webrtcbins as receiver, and one appsrc as sender. Between appsrc and tee, I have GstQueue, named queue1. I try to remove one webrtcbin frequently. Then i found queue1 paused sometimes, then block all the pipelin...I use one tee for maybe 5 webrtcbins as receiver, and one appsrc as sender. Between appsrc and tee, I have GstQueue, named queue1. I try to remove one webrtcbin frequently. Then i found queue1 paused sometimes, then block all the pipeline.
I even use GST_PAD_PROBE_TYPE_IDLE to unlink teepad using gst_pad_unlink before removing webrtcbin, code like,
gst_pad_add_probe(sink->teepad, GST_PAD_PROBE_TYPE_IDLE, unlink_cb, sink, (GDestroyNotify)g_free);
But I can still produce pipeline block, queue1 paused. I dig into the source code, when peer(chrome) leaves, I find teepad change to GST_FLOW_FLUSHING(-2) state even without removing webrtcbin from pipeline, I think changing to GST_FLOW_FLUSHING state is inevitable. Below is the state related log:
>>>>>>>>>>>>>>>>>>log>>>>>>>>>>>>>>>>>>>>>>>>>
tee gsttee.c:940:gst_tee_handle_data:<videotee:src_4> Starting to push buffer 0000027DC865E000
0:00:03.219030000 9820 0000027DC5905800 INFO GST_SCHEDULING gstpad.c:4860:gst_pad_push_data:<videotee:src_4> error pushing events, return flushing
0:00:03.219759000 9820 0000027DC5905800 INFO tee gsttee.c:945:gst_tee_handle_data:<videotee:src_4> Pushing item 0000027DC865E000 yielded result flushing pad src_4
0:00:03.220583000 9820 0000027DC5905800 INFO tee gsttee.c:1013:gst_tee_handle_data:<videotee> received error flushing
0:00:03.222496000 9820 0000027DC5905800 INFO GST_PADS gstpad.c:4468:gst_pad_chain_data_unchecked:<videotee> chainfunc return2 queue videotee return -2 funcname gst_tee_chain pad sink
0:00:03.223200000 9820 0000027DC5905800 INFO GST_SCHEDULING gstpad.c:4478:gst_pad_chain_data_unchecked:<videotee:sink> called chainfunction &gst_tee_chain with buffer 0000027DC865E000, returned flushing
0:00:03.223904000 9820 0000027DC5905800 INFO GST_PADS gstpad.c:4511:gst_pad_chain_data_unchecked:<videotee> chainfunc return queue videotee pad sink return -2
0:00:03.227789000 9820 0000027DC5905800 INFO GST_SCHEDULING gstpad.c:4478:gst_pad_chain_data_unchecked:<caps:sink> called chainfunction &gst_base_transform_chain with buffer 0000027DC865E000, returned flushing
0:00:03.228397000 9820 0000027DC5905800 INFO GST_PADS gstpad.c:4511:gst_pad_chain_data_unchecked:<caps> chainfunc return queue caps pad sink return -2
0:00:03.228885000 9820 0000027DC5905800 INFO GST_SCHEDULING gstpad.c:4500:gst_pad_chain_data_unchecked:<caps:sink> called chainlistfunction &gst_pad_chain_list_default, returned flushing ret -2
0:00:03.229151000 9820 0000027DC5905800 INFO GST_PADS gstpad.c:4511:gst_pad_chain_data_unchecked:<caps> chainfunc return queue caps pad sink return -2
0:00:03.229579000 9820 0000027DC5905800 INFO task gsttask.c:733:gst_task_set_state_unlocked:<queuebb:src> Changing task 0000027DC5907290 to state 2
0:00:03.230532000 9820 0000027DC5905800 INFO queue_dataflow gstqueue.c:1660:gst_queue_loop:<queuebb> pause task, reason: flushing
0:00:03.231669000 9820 0000027DC5905800 INFO task gsttask.c:369:gst_task_func:<queuebb:src> Task 0000027DC5907290 going to paused
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
from function gst_tee_handle_data,
while (pads) {
GstPad *pad;
/* stop pushing more buffers when we have a fatal error */
if (G_UNLIKELY (ret != GST_FLOW_OK && ret != GST_FLOW_NOT_LINKED))
goto error;
pads = g_list_next (pads);
}
if one pad is not OK, then all pads will be affected. How about move goto error out? So, what can I do to dynamically remove webrtcbin from tee without affect other webrtcbin? Please advise.
Thanks.https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1129meson: error when trying to enable vaapi: Tried to get unknown builtin option...2022-06-24T09:36:39ZGuillaume Desmottesmeson: error when trying to enable vaapi: Tried to get unknown builtin option gstreamer-vaapi:default_libraryWith `main`:
- `meson build-test`
- `meson configure build-test -D vaapi=enabled`
- `ninja -C build-test/`
```
(...)
Executing subproject gstreamer-vaapi
gstreamer-vaapi| Project name: gstreamer-vaapi
gstreamer-vaapi| Project version:...With `main`:
- `meson build-test`
- `meson configure build-test -D vaapi=enabled`
- `ninja -C build-test/`
```
(...)
Executing subproject gstreamer-vaapi
gstreamer-vaapi| Project name: gstreamer-vaapi
gstreamer-vaapi| Project version: 1.21.0.1
gstreamer-vaapi| C compiler for the host machine: ccache cc (gcc 10.3.1 "cc (GCC) 10.3.1 20210422 (Red Hat 10.3.1-1)")
gstreamer-vaapi| C linker for the host machine: cc ld.bfd 2.35-18
gstreamer-vaapi| Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES (cached)
gstreamer-vaapi| Compiler for C supports arguments -fvisibility=hidden: YES (cached)
gstreamer-vaapi| Compiler for C supports arguments -fno-strict-aliasing: YES (cached)
gstreamer-vaapi| Library m found: YES
gstreamer-vaapi| Dependency gstreamer-1.0 found: YES 1.21.0.1 (overridden)
gstreamer-vaapi| Dependency gstreamer-base-1.0 found: YES 1.21.0.1 (overridden)
gstreamer-vaapi| Dependency gstreamer-pbutils-1.0 found: YES 1.21.0.1 (overridden)
gstreamer-vaapi| Dependency gstreamer-allocators-1.0 found: YES 1.21.0.1 (overridden)
gstreamer-vaapi| Dependency gstreamer-video-1.0 found: YES 1.21.0.1 (overridden)
gstreamer-vaapi| Dependency gstreamer-codecparsers-1.0 found: YES 1.21.0.1 (overridden)
gstreamer-vaapi| Dependency gstreamer-gl-1.0 found: YES 1.21.0.1 (overridden)
gstreamer-vaapi| Message: GStreamer debug system is enabled
gstreamer-vaapi| Dependency libva found: YES 1.9.0 (cached)
gstreamer-vaapi| Dependency libva-drm found: YES 1.9.0 (cached)
gstreamer-vaapi| Run-time dependency libva-wayland found: YES 1.9.0
gstreamer-vaapi| Dependency libva-x11 found: YES 1.9.0 (cached)
gstreamer-vaapi| Dependency libdrm found: YES 2.4.102 (cached)
gstreamer-vaapi| Run-time dependency libudev found: YES 246
gstreamer-vaapi| Dependency x11 found: YES 1.7.2 (cached)
gstreamer-vaapi| Run-time dependency xrandr found: YES 1.5.2
gstreamer-vaapi| Dependency gmodule-2.0 found: YES 2.66.8 (cached)
gstreamer-vaapi| Dependency egl found: YES 1.5 (cached)
gstreamer-vaapi| Dependency glesv2 found: YES 3.2 (cached)
gstreamer-vaapi| Run-time dependency gl found: YES 1.2
gstreamer-vaapi| Library dl found: YES
gstreamer-vaapi| Dependency wayland-client found: YES 1.18.0 (cached)
gstreamer-vaapi| Dependency wayland-protocols found: YES 1.20 (cached)
gstreamer-vaapi| Program wayland-scanner found: YES (/usr/bin/wayland-scanner)
gstreamer-vaapi| Dependency gstreamer-check-1.0 found: YES 1.21.0.1 (overridden)
gstreamer-vaapi| Dependency gtk+-3.0 found: YES 3.24.29 (cached)
gstreamer-vaapi| Has header "GLES2/gl2.h" with dependency glesv2: YES
gstreamer-vaapi| Has header "GLES2/gl2ext.h" with dependency glesv2: YES
gstreamer-vaapi| Has header "GLES3/gl3.h" with dependency glesv2: YES
gstreamer-vaapi| Has header "GLES3/gl3ext.h" with dependency glesv2: YES
gstreamer-vaapi| Has header "GLES2/gl2ext.h" with dependency glesv2: YES (cached)
gstreamer-vaapi| Dependency gstreamer-gl-prototypes-1.0 found: YES 1.21.0.1 (overridden)
gstreamer-vaapi| Dependency gstreamer-gl-x11-1.0 found: YES 1.21.0.1 (overridden)
gstreamer-vaapi| Dependency gstreamer-gl-wayland-1.0 found: YES 1.21.0.1 (overridden)
gstreamer-vaapi| Dependency gstreamer-gl-egl-1.0 found: YES 1.21.0.1 (overridden)
gstreamer-vaapi| Has header "X11/XKBlib.h" with dependency x11: YES
../subprojects/gstreamer-vaapi/gst/vaapi/meson.build:36:0: ERROR: Tried to get unknown builtin option gstreamer-vaapi:default_library
```
Note that enabling `vaapi` directly does work: `meson build-test -D vaapi=enabled`
cc @xclaessehttps://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/10Add wrapper for GstBaseTransform2022-06-23T17:19:05ZSebastian DrögeAdd wrapper for GstBaseTransformSee https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseTransform.html
Might make sense to do this first: https://github.com/sdroege/gstreamer-rs/issues/7
First step would be to come up with an API de...See https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseTransform.html
Might make sense to do this first: https://github.com/sdroege/gstreamer-rs/issues/7
First step would be to come up with an API design (mostly the main trait) in the style of `Source`, `Sink` and `Demuxer`. That is:
- all functions return a value and don't call into other elements. So return value would be some kind of enum
- the general idea of the C base class would be kept (i.e. you have some kind of `transform` function, `transform_caps`, etc)
- implementors of the trait do not have to worry about threading
As part of this should also be a simple transform element. Maybe just a minimal "volume" element, or mono to stereo converter (the latter would at least make use of caps transformations).https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1268filesrc: Error during cross compile with mingw: unknown type name FILE_STANDA...2022-06-23T05:51:25Zrobinperssonfilesrc: Error during cross compile with mingw: unknown type name FILE_STANDARD_INFOI´m getting the following error when trying to cross compile on linux for windows.
Cross compilation worked fine in 1.18
/subprojects/gstreamer/plugins/elements/gstfilesrc.c:476:5: error: unknown type name 'FILE_STANDARD_INFO'; did you ...I´m getting the following error when trying to cross compile on linux for windows.
Cross compilation worked fine in 1.18
/subprojects/gstreamer/plugins/elements/gstfilesrc.c:476:5: error: unknown type name 'FILE_STANDARD_INFO'; did you mean 'MIDL_SYNTAX_INFO'?https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/329Vaapih264enc encoded ts segments do not play on AVPlayer2022-06-22T12:21:32ZGuru GovindanVaapih264enc encoded ts segments do not play on AVPlayerThe ts segments generated by `vaapih264enc` elements do not play in AVplayer(quicktime or IOS).
For example the ts segment generated by the following pipeline does not play in quicktime player.
```
gst-launch-1.0 rtspsrc location=rtsp:...The ts segments generated by `vaapih264enc` elements do not play in AVplayer(quicktime or IOS).
For example the ts segment generated by the following pipeline does not play in quicktime player.
```
gst-launch-1.0 rtspsrc location=rtsp://admin:pass@10.10.0.233:554/ name=rtpsrc0 rtpsrc0. ! rtph264depay ! queue ! decodebin ! vaapih264enc ! mpegtsmux name=mux ! filesink location=mymux.ts rtpsrc0. ! decodebin ! queue ! fdkaacenc ! mux.
```
However if I use a SW encoder `x264enc`, it plays fine.
Another weird scenario is it plays fine when the original stream from the rtsp is H265.
If I wrap this over with an ffmpeg copy that would just work fine
eg: doing the following will just work fine
```
ffmpeg -i mymux.ts -vcodec copy -acodec copy mymux_ffmpeg.ts
```
I appreciate any help with this. Please let me know if you need me to attach the ts segments.https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/327gstreamer crashes with gstreamer-vaapi installed2022-06-21T14:01:17ZCheriogstreamer crashes with gstreamer-vaapi installedThe issue is documented [here](https://github.com/openframeworks/openFrameworks/issues/6871).
The following error
`(parole:4094): GStreamer-Base-CRITICAL **: 13:27:30.761: basetransform: second attempt to fixate caps returned invalid (...The issue is documented [here](https://github.com/openframeworks/openFrameworks/issues/6871).
The following error
`(parole:4094): GStreamer-Base-CRITICAL **: 13:27:30.761: basetransform: second attempt to fixate caps returned invalid (NULL) caps on pad vaapipostproc0:sink`
shows up with different front ends (parole in my case). It is reliably reproducible in `Arch Linux` when `gstreamer-vaapi` is installed with [the video mentioned here](https://github.com/openframeworks/openFrameworks/issues/6871#issuecomment-1107940741); when gstreamer-vaapi is not installed the video plays but without hardware acceleration.
Hardware acceleration driver: intel-media-driver (Intel UHD Graphics 10710U, Comet Lake GT2)