GStreamer issueshttps://gitlab.freedesktop.org/groups/gstreamer/-/issues2020-06-03T19:48:56Zhttps://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/120Older version of gstreamer - 1.14.x2020-06-03T19:48:56ZJOlder version of gstreamer - 1.14.xpreviously posted erroneously in https://gitlab.freedesktop.org/gstreamer/gstreamer-rs
Hello,
I am currently using gstreamer on the Jetson Nano which comes preinstalled with gstreamer-1.14 (this version is currently recommended over 1....previously posted erroneously in https://gitlab.freedesktop.org/gstreamer/gstreamer-rs
Hello,
I am currently using gstreamer on the Jetson Nano which comes preinstalled with gstreamer-1.14 (this version is currently recommended over 1.16 https://forums.developer.nvidia.com/t/gstreamer-upgrade-to-1-16/73496/3)
What's the best way currently to make use of the plugins in this repo from an older version of gstreamer. I am mainly interested in the s3sink plugin.
When I try to run make, I get the following error, suggesting gstreamer-1.16 is required.
```
error: failed to run custom build command for `gstreamer-sys v0.9.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys#6aebe5dd)`
Caused by:
process didn't exit successfully: `/home/jordan/gst-plugins-rs/target/release/build/gstreamer-sys-fd1e7b4d0c9c7547/build-script-build` (exit code: 1)
--- stderr
`"pkg-config" "--libs" "--cflags" "gstreamer-1.0" "gstreamer-1.0 >= 1.16"` did not exit successfully: exit code: 1
--- stderr
Requested 'gstreamer-1.0 >= 1.16' but version of GStreamer is 1.14.5
```
Thanks for the great set of plugins!https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/745deinterlace: tomsmocomp SSE2 code disabled because IS_SSE2 is never defined a...2023-07-06T11:15:49ZVivia Nikolaidoudeinterlace: tomsmocomp SSE2 code disabled because IS_SSE2 is never defined anywhereIn this line:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/blob/master/gst/deinterlace/tvtime/tomsmocomp/tomsmocompmacros.h#L62
there is:
`#ifdef IS_SSE2`
but this doesn't seem to be defined anywhere, effectively disab...In this line:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/blob/master/gst/deinterlace/tvtime/tomsmocomp/tomsmocompmacros.h#L62
there is:
`#ifdef IS_SSE2`
but this doesn't seem to be defined anywhere, effectively disabling the SSE2 code.https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/272BuildStatusPrinter: also print overall progress / percentage done2020-06-17T19:23:43ZTim-Philipp Müllertim@centricular.comBuildStatusPrinter: also print overall progress / percentage doneWould be nice if the status printer printed an overall progress percentage in addition to the `(42/N) [recipe -> fetch]` based on how much has been **done** already.
We now schedule lots of build steps and recipes in parallel, but it's ...Would be nice if the status printer printed an overall progress percentage in addition to the `(42/N) [recipe -> fetch]` based on how much has been **done** already.
We now schedule lots of build steps and recipes in parallel, but it's very confusing to get any idea of where we're at in terms of progress on systems with higher CPU count.
My naive idea was that we have two bits of data:
1. number of recipes completely done
2. N build steps/stages per recipe
3. number of recipes partially done (if available)
So we could come up with a 'done' percentage based on 1 and 2, with 3 for extra granularity.
Does that sound feasible? Is that data available in the `BuildStatusPrinter`?https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1310Fails to build with Vulkan-Headers Sdk 1.2.1412020-06-07T20:53:43ZM.Fails to build with Vulkan-Headers Sdk 1.2.141```
[526/716] cc -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/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/orc-0.4 -fdiagn...```
[526/716] cc -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/lib/arm-linux-gnueabihf/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_CAST_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 -O2 -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fPIC -pthread -DHAVE_CONFIG_H -MD -MQ 'ext/vulkan/dc92c40@@gstvulkan@sha/vkbuffermemory.c.o' -MF 'ext/vulkan/dc92c40@@gstvulkan@sha/vkbuffermemory.c.o.d' -o 'ext/vulkan/dc92c40@@gstvulkan@sha/vkbuffermemory.c.o' -c ../ext/vulkan/vkbuffermemory.c
[527/716] cc -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/lib/arm-linux-gnueabihf/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_CAST_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 -O2 -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fPIC -pthread -DHAVE_CONFIG_H -MD -MQ 'ext/vulkan/dc92c40@@gstvulkan@sha/gstvulkan.c.o' -MF 'ext/vulkan/dc92c40@@gstvulkan@sha/gstvulkan.c.o.d' -o 'ext/vulkan/dc92c40@@gstvulkan@sha/gstvulkan.c.o' -c ../ext/vulkan/gstvulkan.c
[528/716] cc -Iext/ttml/2562583@@gstttmlsubs@sha -Iext/ttml -I../ext/ttml -I. -I../ -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/orc-0.4 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_CAST_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 -O2 -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fPIC -pthread -DHAVE_CONFIG_H -MD -MQ 'ext/ttml/2562583@@gstttmlsubs@sha/ttmlparse.c.o' -MF 'ext/ttml/2562583@@gstttmlsubs@sha/ttmlparse.c.o.d' -o 'ext/ttml/2562583@@gstttmlsubs@sha/ttmlparse.c.o' -c ../ext/ttml/ttmlparse.c
[529/716] cc -Iext/ttml/2562583@@gstttmlsubs@sha -Iext/ttml -I../ext/ttml -I. -I../ -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/orc-0.4 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_CAST_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 -O2 -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fPIC -pthread -DHAVE_CONFIG_H -MD -MQ 'ext/ttml/2562583@@gstttmlsubs@sha/gstttmlrender.c.o' -MF 'ext/ttml/2562583@@gstttmlsubs@sha/gstttmlrender.c.o.d' -o 'ext/ttml/2562583@@gstttmlsubs@sha/gstttmlrender.c.o' -c ../ext/ttml/gstttmlrender.c
ninja: build stopped: subcommand failed.
[00:00:38] FAILURE components/gstreamer-plugins-bad.bst: Running build-commands
[00:01:17] FAILURE components/gstreamer-plugins-bad.bst: Command 'ninja -v -j ${NINJAJOBS} -C _builddir' failed with exitcode 1
```
See https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/merge_requests/2681. This is due to the removal of BEGIN_RANGE / END_RANGE / RANGE_SIZE tokens from headers (https://github.com/KhronosGroup/Vulkan-Docs/issues/1230).https://gitlab.freedesktop.org/gstreamer/gst-template/-/issues/8Install doesn't obey GST_PLUGIN_DIR2020-06-07T16:52:00ZNick BInstall doesn't obey GST_PLUGIN_DIRPer the documentation (https://gstreamer.freedesktop.org/documentation/plugin-development/basics/boiler.html?gi-language=c) and the README file. One should be able to set GST_PLUGIN_DIR and then sudo ninja -C build install should install...Per the documentation (https://gstreamer.freedesktop.org/documentation/plugin-development/basics/boiler.html?gi-language=c) and the README file. One should be able to set GST_PLUGIN_DIR and then sudo ninja -C build install should install into the correct directory. This doesn't work. It always installs the plugin into /usr/local/lib/x86_64-linux-gnu/gstreamer-1.0.
This happens on Ubuntu 18.04 LTS.
Is there an alternative way of setting the output directory?https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/issues/113Crash when loading project with missing proxy2020-06-17T22:56:53ZAlexandru BăluțCrash when loading project with missing proxyWhen loading in Pitivi a project with a missing proxy file, it crashes due to `ges_asset_finish_proxy` calling itself recursively forever:
```
[many ges_asset_finish_proxy calls....]
#261849 0x00007ffff4db6565 in ges_asset_finish_proxy ...When loading in Pitivi a project with a missing proxy file, it crashes due to `ges_asset_finish_proxy` calling itself recursively forever:
```
[many ges_asset_finish_proxy calls....]
#261849 0x00007ffff4db6565 in ges_asset_finish_proxy (proxy=proxy@entry=0x55555707e100 [GESUriClipAsset]) at ../ges/ges-asset.c:879
#261850 0x00007ffff4db6565 in ges_asset_finish_proxy (proxy=proxy@entry=0x55555707e320 [GESUriClipAsset]) at ../ges/ges-asset.c:879
#261851 0x00007ffff4db6565 in ges_asset_finish_proxy (proxy=proxy@entry=0x55555707e100 [GESUriClipAsset]) at ../ges/ges-asset.c:879
#261852 0x00007ffff4db6565 in ges_asset_finish_proxy (proxy=proxy@entry=0x55555707e320 [GESUriClipAsset]) at ../ges/ges-asset.c:879
#261853 0x00007ffff4db6565 in ges_asset_finish_proxy (proxy=0x55555707e100 [GESUriClipAsset]) at ../ges/ges-asset.c:879
#261854 0x00007ffff4dbdf18 in _loading_done (self=self@entry=0x555556f02b00 [GESXmlFormatter]) at ../ges/ges-base-xml-formatter.c:512
#261855 0x00007ffff4dbe833 in new_asset_cb (source=0x55555707e100 [GESUriClipAsset], res=<optimized out>, passet=passet@entry=0x55555702b890) at ../ges/ges-base-xml-formatter.c:736
#261856 0x00007ffff6df5579 in g_task_return_now (task=0x7fffd0006ec0 [GTask]) at ../gio/gtask.c:1212
#261857 0x00007ffff6df614d in g_task_return (task=0x7fffd0006ec0 [GTask], type=<optimized out>) at ../gio/gtask.c:1281
#261858 0x00007ffff704c870 in g_list_foreach (list=<optimized out>, list@entry=0x555556704860 = {...}, func=func@entry=0x7ffff4db3830 <_gtask_return_true>, user_data=user_data@entry=0x0) at ../glib/glist.c:1069
#261859 0x00007ffff4db404e in ges_asset_cache_set_loaded (extractable_type=<optimized out>, id=id@entry=0x555557202470 "file:///home/aleb/dev/pitivi/pitivi/tests/samples/tears_of_steel.webm", error=error@entry=0x0) at ../ges/ges-asset.c:718
#261860 0x00007ffff4db86ea in discoverer_discovered_cb (discoverer=<optimized out>, info=<optimized out>, err=<optimized out>, user_data=<optimized out>) at ../ges/ges-uri-asset.c:516
#261861 0x00007ffff7394b78 in ffi_call_unix64 () at ../src/x86/unix64.S:76
#261862 0x00007ffff7394374 in ffi_call (cif=cif@entry=0x7fffffffd010, fn=fn@entry=0x7ffff4db8230 <discoverer_discovered_cb>, rvalue=<optimized out>, avalue=avalue@entry=0x7fffffffcf20) at ../src/x86/ffi64.c:525
#261863 0x00007ffff6f7b746 in g_cclosure_marshal_generic_va (closure=<optimized out>, return_value=<optimized out>, instance=<optimized out>, args_list=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=<optimized out>) at ../gobject/gclosure.c:1614
#261864 0x00007ffff6f7a996 in _g_closure_invoke_va (closure=0x555557068330, return_value=0x0, instance=0x555555b68b00, args=0x7fffffffd2b0, n_params=2, param_types=0x55555593ec60) at ../gobject/gclosure.c:873
#261865 0x00007ffff6f973bc in g_signal_emit_valist (instance=0x555555b68b00, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7fffffffd2b0) at ../gobject/gsignal.c:3306
#261866 0x00007ffff6f97a03 in g_signal_emit (instance=instance@entry=0x555555b68b00, signal_id=<optimized out>, detail=detail@entry=0) at ../gobject/gsignal.c:3453
#261867 0x00007ffff510bcae in emit_discovererd (dc=dc@entry=0x555555b68b00 [GstDiscoverer]) at ../gst-libs/gst/pbutils/gstdiscoverer.c:1399
#261868 0x00007ffff510fec0 in discoverer_collect (dc=dc@entry=0x555555b68b00 [GstDiscoverer]) at ../gst-libs/gst/pbutils/gstdiscoverer.c:1539
#261869 0x00007ffff5110e79 in discoverer_bus_cb (bus=0x555556f771d0 [GstBus], msg=0x555557065720, dc=0x555555b68b00 [GstDiscoverer]) at ../gst-libs/gst/pbutils/gstdiscoverer.c:1989
#261870 0x00007ffff5110e79 in discoverer_bus_cb (bus=bus@entry=0x555556f771d0 [GstBus], msg=msg@entry=0x555557065720, dc=0x555555b68b00 [GstDiscoverer]) at ../gst-libs/gst/pbutils/gstdiscoverer.c:1980
#261871 0x00007ffff6f7db96 in g_cclosure_marshal_VOID__BOXEDv (closure=0x55555707d880, return_value=<optimized out>, instance=<optimized out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x5555558a3e10) at ../gobject/gmarshal.c:1686
#261872 0x00007ffff6f7a996 in _g_closure_invoke_va (closure=0x55555707d880, return_value=0x0, instance=0x555556f771d0, args=0x7fffffffd680, n_params=1, param_types=0x5555558a3e10) at ../gobject/gclosure.c:873
#261873 0x00007ffff6f973bc in g_signal_emit_valist (instance=0x555556f771d0, signal_id=<optimized out>, detail=398, var_args=var_args@entry=0x7fffffffd680) at ../gobject/gsignal.c:3306
#261874 0x00007ffff6f97a03 in g_signal_emit (instance=instance@entry=0x555556f771d0, signal_id=<optimized out>, detail=<optimized out>) at ../gobject/gsignal.c:3453
#261875 0x00007ffff5351c6c in gst_bus_async_signal_func (bus=0x555556f771d0 [GstBus], message=0x555557065720, data=<optimized out>) at ../gst/gstbus.c:1294
#261876 0x00007ffff5352c36 in gst_bus_source_dispatch (source=0x5555570683b0, callback=0x7ffff5351c10 <gst_bus_async_signal_func>, user_data=0x0) at ../gst/gstbus.c:851
#261877 0x00007ffff705057e in g_main_dispatch (context=0x5555557b7090) at ../glib/gmain.c:3216
#261878 0x00007ffff705057e in g_main_context_dispatch (context=context@entry=0x5555557b7090) at ../glib/gmain.c:3881
#261879 0x00007ffff7050930 in g_main_context_iterate (context=context@entry=0x5555557b7090, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3954
#261880 0x00007ffff70509d3 in g_main_context_iteration (context=context@entry=0x5555557b7090, may_block=may_block@entry=1) at ../glib/gmain.c:4015
#261881 0x00007ffff6e23135 in g_application_run (application=0x555555b68330 [pitivi+application+Pitivi], argc=<optimized out>, argv=<optimized out>) at ../gio/gapplication.c:2559
#261882 0x00007ffff7394b78 in ffi_call_unix64 () at ../src/x86/unix64.S:76
#261883 0x00007ffff7394374 in ffi_call (cif=cif@entry=0x5555565795e8, fn=<optimized out>, rvalue=<optimized out>, rvalue@entry=0x7fffffffda78, avalue=<optimized out>) at ../src/x86/ffi64.c:525
#261884 0x00007ffff71578a5 in pygi_invoke_c_callable (function_cache=0x555556579540, state=<optimized out>, py_args=<optimized out>, py_kwargs=<optimized out>) at ../gi/pygi-invoke.c:684
#261885 0x00007ffff71593dc in pygi_function_cache_invoke (function_cache=<optimized out>, py_args=<optimized out>, py_kwargs=<optimized out>) at ../gi/pygi-cache.c:862
#261886 0x00007ffff7bb2435 in PyObject_Call (callable=callable@entry=0x7ffff64f58f0, args=args@entry=0x7ffff0d5e0f0, kwargs=kwargs@entry=0x7ffff0d64aa0) at ../Objects/call.c:245
#261887 0x00007ffff7b6bef7 in do_call_core (kwdict=0x7ffff0d64aa0, callargs=0x7ffff0d5e0f0, func=0x7ffff64f58f0) at ../Python/ceval.c:4645
#261888 0x00007ffff7b6bef7 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3191
#261889 0x00007ffff7c11d7b in _PyEval_EvalCodeWithName (_co=_co@entry=0x7ffff655f930, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x555555fc0960, argcount=2, kwnames=0x0, kwargs=0x555555fc0970, kwcount=0, kwstep=1, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x7ffff763f770, qualname=0x7ffff64eb870) at ../Python/ceval.c:3930
#261890 0x00007ffff7c120b9 in _PyFunction_FastCallKeywords (func=<optimized out>, stack=0x555555fc0960, nargs=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:433
#261891 0x00007ffff7b6a7e5 in call_function (pp_stack=pp_stack@entry=0x7fffffffded0, oparg=<optimized out>, kwnames=kwnames@entry=0x0) at ../Python/ceval.c:4616
#261892 0x00007ffff7b6e5b9 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3110
#261893 0x00007ffff7b6a62b in function_code_fastcall (co=<optimized out>, args=<optimized out>, nargs=0, globals=<optimized out>) at ../Objects/call.c:283
#261894 0x00007ffff7c121d2 in _PyFunction_FastCallKeywords (func=<optimized out>, stack=<optimized out>, nargs=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:415
#261895 0x00007ffff7b6a7e5 in call_function (pp_stack=pp_stack@entry=0x7fffffffe0a8, oparg=<optimized out>, kwnames=kwnames@entry=0x0) at ../Python/ceval.c:4616
#261896 0x00007ffff7b6c384 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3124
#261897 0x00007ffff7c11d7b in _PyEval_EvalCodeWithName (_co=_co@entry=0x7ffff746fa50, globals=globals@entry=0x7ffff7622be0, locals=locals@entry=0x7ffff7622be0, args=args@entry=0x0, argcount=argcount@entry=0, kwnames=kwnames@entry=0x0, kwargs=0x0, kwcount=0, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at ../Python/ceval.c:3930
#261898 0x00007ffff7c11ffe in PyEval_EvalCodeEx (_co=_co@entry=0x7ffff746fa50, globals=globals@entry=0x7ffff7622be0, locals=locals@entry=0x7ffff7622be0, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3959
#261899 0x00007ffff7c1202b in PyEval_EvalCode (co=co@entry=0x7ffff746fa50, globals=globals@entry=0x7ffff7622be0, locals=locals@entry=0x7ffff7622be0) at ../Python/ceval.c:524
#261900 0x00007ffff7cae6a1 in run_mod (mod=mod@entry=0x555555649f88, filename=filename@entry=0x7ffff749ff30, globals=globals@entry=0x7ffff7622be0, locals=locals@entry=0x7ffff7622be0, flags=flags@entry=0x7fffffffe3a0, arena=arena@entry=0x7ffff7638770) at ../Python/pythonrun.c:1035
#261901 0x00007ffff7caf192 in PyRun_FileExFlags (fp=fp@entry=0x555555559310, filename_str=filename_str@entry=0x7ffff7662dc0 "/home/aleb/dev/pitivi/pitivi/bin/pitivi", start=start@entry=257, globals=globals@entry=0x7ffff7622be0, locals=locals@entry=0x7ffff7622be0, closeit=closeit@entry=1, flags=0x7fffffffe3a0) at ../Python/pythonrun.c:988
#261902 0x00007ffff7ccb98b in PyRun_SimpleFileExFlags (fp=fp@entry=0x555555559310, filename=<optimized out>, closeit=closeit@entry=1, flags=flags@entry=0x7fffffffe3a0) at ../Python/pythonrun.c:429
#261903 0x00007ffff7ccbe1c in PyRun_AnyFileExFlags (fp=fp@entry=0x555555559310, filename=<optimized out>, closeit=closeit@entry=1, flags=flags@entry=0x7fffffffe3a0) at ../Python/pythonrun.c:84
#261904 0x00007ffff7ccfe3a in pymain_run_file (p_cf=0x7fffffffe3a0, filename=<optimized out>, fp=0x555555559310) at ../Modules/main.c:427
#261905 0x00007ffff7ccfe3a in pymain_run_filename (cf=0x7fffffffe3a0, pymain=0x7fffffffe4b0) at ../Modules/main.c:1606
#261906 0x00007ffff7ccfe3a in pymain_run_python (pymain=0x7fffffffe4b0) at ../Modules/main.c:2867
#261907 0x00007ffff7ccfe3a in pymain_main (pymain=pymain@entry=0x7fffffffe4b0) at ../Modules/main.c:3028
#261908 0x00007ffff7cd00b9 in _Py_UnixMain (argc=<optimized out>, argv=<optimized out>) at ../Modules/main.c:3063
#261909 0x00007ffff7e27173 in __libc_start_main (main=0x555555555060 <main>, argc=2, argv=0x7fffffffe608, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe5f8) at ../csu/libc-start.c:308
#261910 0x000055555555509e in _start () at ../sysdeps/x86_64/start.S:120
```
To reproduce, edit the paths in the following file:
[c.xges](/uploads/7488207fc740753e863ddbd6e6915e25/c.xges)
```
(ptv-flatpak) $ ls -l /home/aleb/dev/pitivi/pitivi/tests/samples/tears_of_steel.webm*
-rw-r--r-- 1 aleb users 223340 Apr 30 21:46 /home/aleb/dev/pitivi/pitivi/tests/samples/tears_of_steel.webm
(ptv-flatpak) $ pitivi c.xges
Running in sandbox: /home/aleb/dev/pitivi/pitivi/bin/pitivi c.xges
flatpak build --socket=x11 --socket=wayland --talk-name=org.freedesktop.Flatpak --socket=session-bus --socket=pulseaudio --share=network --env=PITIVI_DEVELOPMENT=1 --env=PYTHONUSERBASE=/app/ --env=CC=ccache gcc --env=CXX=ccache g++ --device=dri --env=LANG=en_US.utf8 --env=DISPLAY=:1 --env=PITIVI_REPO_DIR=/home/aleb/dev/pitivi/pitivi --env=GST_ENCODING_TARGET_PATH=/app/share/gstreamer-1.0/encoding-profiles/:/app/share/pitivi/encoding-profiles/: --env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0/: --env=FREI0R_PATH=/app/lib/frei0r-1/: --env=GST_PRESET_PATH=/app/share/gstreamer-1.0/presets/:/app/share/pitivi/gstpresets/: /home/aleb/dev/pitivi/pitivi-prefix /home/aleb/dev/pitivi/pitivi/bin/pitivi c.xges
(pitivi:2): GStreamer-WARNING **: 07:22:33.870: gst_value_deserialize_g_value_array: unimplemented
(pitivi:2): GStreamer-WARNING **: 07:22:33.870: gst_value_deserialize_g_value_array: unimplemented
(pitivi:2): GStreamer-WARNING **: 07:22:33.870: gst_value_deserialize_g_value_array: unimplemented
(pitivi:2): GStreamer-CRITICAL **: 07:22:34.095: The created element should be floating, this is probably caused by faulty bindings
(pitivi:2): GStreamer-CRITICAL **: 07:22:34.096: The created element should be floating, this is probably caused by faulty bindings
(ptv-flatpak) 139 <<<< RETURNED CODE
```https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/273gst-plugins-bad: Figure out in which case we can ship wasapi2 plugin2021-03-02T18:31:31ZSeungha Yangseungha@centricular.comgst-plugins-bad: Figure out in which case we can ship wasapi2 pluginwasapi2 plugin is linking `runtimeobject.lib` and underlying dll might not be available on Windows 7.
Shipping it for UWP build is always safe but the plugin can be used for Windows 10 WIN32 application.
Need to figure out in which envi...wasapi2 plugin is linking `runtimeobject.lib` and underlying dll might not be available on Windows 7.
Shipping it for UWP build is always safe but the plugin can be used for Windows 10 WIN32 application.
Need to figure out in which environment is required to build/ship the plugin.
At least MSVC and Windows 10 SDK are required for nowhttps://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/570check.gstreamer.elements_leaks.test_get_live_objects fails sometimes on the CI2020-06-09T13:13:09ZNirbheek Chauhannirbheek.chauhan@gmail.comcheck.gstreamer.elements_leaks.test_get_live_objects fails sometimes on the CIFirst noticed at https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/487#note_522189
# `check.gstreamer.elements_leaks.test_get_live_objects`
## Command
``` bash
GST_CHECKS='test_get_live_objects' CK_DEFAULT_TIMEOUT='20'...First noticed at https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/487#note_522189
# `check.gstreamer.elements_leaks.test_get_live_objects`
## Command
``` bash
GST_CHECKS='test_get_live_objects' CK_DEFAULT_TIMEOUT='20' GST_STATE_IGNORE_ELEMENTS='' GST_PLUGIN_LOADING_WHITELIST='gstreamer' GST_PLUGIN_SCANNER_1_0='/builds/gdesmott/gstreamer/gst-build/build/subprojects/gstreamer/libs/gst/helpers/gst-plugin-scanner' CK_TIMEOUT_MULTIPLIER='2.0' GST_REGISTRY='/builds/gdesmott/gstreamer/gst-build/build/registry.dat' GST_PLUGIN_SYSTEM_PATH_1_0='' /builds/gdesmott/gstreamer/gst-build/build/subprojects/gstreamer/tests/check/elements_leaks
```
## elements_leaks output
```
Running suite(s): leakstracer
0%: Checks: 1, Failures: 1, Errors: 0
../subprojects/gstreamer/tests/check/elements/leaks.c:184:F:live-objects:test_get_live_objects:0: 'size' (3) is not equal to 'NUM_BUFFERS' (2)
Check suite leakstracer ran in 0.029s (tests failed: 1)
```
**You can mark the issues as 'known' by adding the following lines to the list of known issues**
``` python
"FIXME 'check.gstreamer.elements_leaks.test_get_live_objects' issues [REPORT A BUG in https://gitlab.freedesktop.org/gstreamer/ or use a proper bug description]": {
"tests": [
"check.gstreamer.elements_leaks.test_get_live_objects"
],
"issues": [
{
'returncode': 1,
'sometimes': True,
},
],
},
```
```
**Duration**: 0.581780195236206
==> check.gstreamer.elements_leaks.test_get_live_objects: Failed 'Application returned 1'
```
Artifacts from the CI run: [artifacts.zip](/uploads/9c5e5c86fc1322f33ed9254e8530f243/artifacts.zip) (since they will get deleted in a couple of days).Nirbheek Chauhannirbheek.chauhan@gmail.comNirbheek Chauhannirbheek.chauhan@gmail.comhttps://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/747rtpjitterbuffer: undefined reference to g_queue_clear_full2020-06-09T21:03:25ZU. Artie Eoffrtpjitterbuffer: undefined reference to g_queue_clear_fullOn Ubuntu Bionic (18.04) and Xenial (16.04), compilation error since commit b4f421e9aa:
```
cc -o gst/rtpmanager/libgstrtpmanager.so 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/gstrtpmanager.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha...On Ubuntu Bionic (18.04) and Xenial (16.04), compilation error since commit b4f421e9aa:
```
cc -o gst/rtpmanager/libgstrtpmanager.so 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/gstrtpmanager.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/gstrtpbin.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/gstrtpdtmfmux.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/gstrtpjitterbuffer.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/gstrtpmux.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/gstrtpptdemux.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/gstrtprtxqueue.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/gstrtprtxreceive.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/gstrtprtxsend.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/gstrtpssrcdemux.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/rtpjitterbuffer.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/rtpsession.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/rtpsource.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/rtpstats.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/rtptimerqueue.c.o' 'gst/rtpmanager/c988f2f@@gstrtpmanager@sha/rtptwcc.c.o' ...
gst/rtpmanager/c988f2f@@gstrtpmanager@sha/gstrtpjitterbuffer.c.o: In function `wait_next_timeout':
/opt/media/build/gst-plugins-good/__meson_build/../gst/rtpmanager/gstrtpjitterbuffer.c:4072: undefined reference to `g_queue_clear_full'
collect2: error: ld returned 1 exit status
```
cc: @ndufresnehttps://gitlab.freedesktop.org/gstreamer/orc/-/issues/30"Failed to create write and exec mmap regions" on macOS2024-01-26T09:26:17ZHitesh Joshi"Failed to create write and exec mmap regions" on macOSI liked gstreamer on xcode to build a macos application.
I run an example and this is the error I get.
Now Probably this is something very small but I have got no idea on what is going on? Cannot find anything on the internet as well.
...I liked gstreamer on xcode to build a macos application.
I run an example and this is the error I get.
Now Probably this is something very small but I have got no idea on what is going on? Cannot find anything on the internet as well.
```2020-06-10 01:27:57.681465+0530 SoundBox[60609:21276290] Metal API Validation Enabled
2020-06-10 01:27:57.924072+0530 SoundBox[60609:21276290] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600000271d20> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2020-06-10 01:27:57.962618+0530 SoundBox[60609:21276290] HALC_ShellDriverPlugIn::Open: Can't get a pointer to the Open routine
2020-06-10 01:27:57.963097+0530 SoundBox[60609:21276290] HALC_ShellDriverPlugIn::Open: Can't get a pointer to the Open routine
ORC: ERROR: ../orc/orccodemem.c(290): void orc_code_region_allocate_codemem(OrcCodeRegion *)(): Failed to create write and exec mmap regions. This is probably because SELinux execmem check is enabled (good) and $TMPDIR and $HOME are mounted noexec (bad).
ORC: ERROR: ../orc/orccodemem.c(149): OrcCodeChunk *orc_code_region_get_free_chunk(int)(): assertion failed: 0
(lldb) ```https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/571Sorry for a naive situation but it happened.2022-11-10T09:21:04ZHitesh JoshiSorry for a naive situation but it happened.I liked gstreamer on xcode to build a macos application.
I run an example and this is the error I get.
Now Probably this is something very small but I have got no idea on what is going on? Cannot find anything on the internet as well.
...I liked gstreamer on xcode to build a macos application.
I run an example and this is the error I get.
Now Probably this is something very small but I have got no idea on what is going on? Cannot find anything on the internet as well.
```2020-06-10 01:27:57.681465+0530 SoundBox[60609:21276290] Metal API Validation Enabled
2020-06-10 01:27:57.924072+0530 SoundBox[60609:21276290] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600000271d20> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2020-06-10 01:27:57.962618+0530 SoundBox[60609:21276290] HALC_ShellDriverPlugIn::Open: Can't get a pointer to the Open routine
2020-06-10 01:27:57.963097+0530 SoundBox[60609:21276290] HALC_ShellDriverPlugIn::Open: Can't get a pointer to the Open routine
ORC: ERROR: ../orc/orccodemem.c(290): void orc_code_region_allocate_codemem(OrcCodeRegion *)(): Failed to create write and exec mmap regions. This is probably because SELinux execmem check is enabled (good) and $TMPDIR and $HOME are mounted noexec (bad).
ORC: ERROR: ../orc/orccodemem.c(149): OrcCodeChunk *orc_code_region_get_free_chunk(int)(): assertion failed: 0
(lldb) ```https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/771No way to guarantee atomic updates of compositor layout2020-08-19T15:15:06ZJan SchmidtNo way to guarantee atomic updates of compositor layoutThere's a fundamental problem with compositor and other elements like it where you can't update the properties on sink pads atomically, or guarantee when they'll be visible in the output stream.
That happens because the rendering is bei...There's a fundamental problem with compositor and other elements like it where you can't update the properties on sink pads atomically, or guarantee when they'll be visible in the output stream.
That happens because the rendering is being done in a task on the source pad. When updating multiple sink pad properties, a new frame might be generated after only some are updated - resulting in a partially modified layout.
Even if the updates of all properties were atomic, that are also 2 cases to consider: Changes to the properties that should take effect immediately (on the next output buffer) and properties that should take effect on the next input buffer on that pad (reconfiguring due to a caps change, for example).
The GstController interface doesn't seem to offer a good way to handle this. I'm not sure if it could be extended to do so sensibly.
One option that would work (either in compositor, or in the aggregator base class):
* Add a draw/aggregate signal that is fired after collecting all input buffers to generate an output frame, but before doing the generating.
* Add a property on each sink pad that exposes a (read-only) GstSample that is created on demand when the property is read and which tells the consumer which input buffer, caps and segment are going to be used for the active render cycle.
In the callback for that signal, the consumer can update properties across all pads atomically before the rendering happens, and check (if needed) which buffer and caps will be used for rendering into this frame.https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/260Assert when display is unavailable in vaapisink when query the caps.2020-06-17T14:55:01ZHe JunyanAssert when display is unavailable in vaapisink when query the caps.Some failure pipeline like:
gst-launch-1.0 -f -e -vvv filesrc location=~/hevc_scc/some_scc_file ! h265parse ! vaapih265dec ! vaapisink
get a assert:
```
GStreamer-CRITICAL **: 14:56:34.226: gst_object_ref: assertion 'object != NULL' fai...Some failure pipeline like:
gst-launch-1.0 -f -e -vvv filesrc location=~/hevc_scc/some_scc_file ! h265parse ! vaapih265dec ! vaapisink
get a assert:
```
GStreamer-CRITICAL **: 14:56:34.226: gst_object_ref: assertion 'object != NULL' failed
gstvaapidisplay.c:1666:gst_vaapi_display_get_image_formats: assertion failed: (display != NULL)
```
This is failure pipeline because I forget to add the SCC support, so it fails soon with:
`
0:00:00.025003782 30167 0x564a637fa4a0 WARN baseparse gstbaseparse.c:3712:gst_base_parse_loop:<h265parse0> error: streaming stopped, reason not-negotiated (-4)
`
I core dump it and log is:
```
(gdb) i thread
Id Target Id Frame
* 1 Thread 0x7f197e67e700 (LWP 30168) __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
2 Thread 0x7f19827e53c0 (LWP 30167) __lll_lock_wait (futex=futex@entry=0x564a638c8ad0, private=0) at lowlevellock.c:52
3 Thread 0x7f197de7d700 (LWP 30169) 0x00007f1982ad6c2f in __GI___poll (fds=0x564a638aa870, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
(gdb) bt
#0 0x00007f1982a073eb in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007f19829e6899 in __GI_abort () at abort.c:79
#2 0x00007f1982c4fb23 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f1982cac39f in g_assertion_message_expr () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007f1981b68f01 in gst_vaapi_display_get_image_formats (display=display@entry=0x0 [GstVaapiDisplay]) at ../gst-libs/gst/vaapi/gstvaapidisplay.c:1666
#5 0x00007f1981b2cdf9 in ensure_allowed_raw_caps (plugin=plugin@entry=0x564a63974600, format=format@entry=GST_VIDEO_FORMAT_UNKNOWN, direction=direction@entry=GST_PAD_SINK)
at ../gst/vaapi/gstvaapipluginbase.c:1500
#6 0x00007f1981b2ec07 in ensure_allowed_raw_caps (direction=GST_PAD_SINK, format=GST_VIDEO_FORMAT_UNKNOWN, plugin=0x564a63974600) at ../gst/vaapi/gstvaapipluginbase.c:1536
#7 0x00007f1981b2ec07 in gst_vaapi_plugin_base_get_allowed_sinkpad_raw_caps (plugin=plugin@entry=0x564a63974600) at ../gst/vaapi/gstvaapipluginbase.c:1536
#8 0x00007f1981b3a2f4 in gst_vaapisink_get_caps_impl (base_sink=0x564a63974600 [GstBaseSink|vaapisink0]) at ../gst/vaapi/gstvaapisink.c:1296
#9 0x00007f1981b3a2f4 in gst_vaapisink_get_caps (base_sink=0x564a63974600 [GstBaseSink|vaapisink0], filter=0x564a637fa5e0) at ../gst/vaapi/gstvaapisink.c:1319
#10 0x00007f1981ea93ac in gst_base_sink_query_caps (bsink=bsink@entry=0x564a63974600 [GstBaseSink|vaapisink0], pad=<optimized out>, filter=0x564a637fa5e0) at ../libs/gst/base/gstbasesink.c:637
#11 0x00007f1981eb471f in gst_base_sink_default_query (basesink=0x564a63974600 [GstBaseSink|vaapisink0], query=0x564a637fa720) at ../libs/gst/base/gstbasesink.c:5575
#12 0x00007f1982def3a8 in gst_pad_query (pad=pad@entry=0x564a63850ca0 [GstPad|sink], query=query@entry=0x564a637fa720) at ../gst/gstpad.c:4144
#13 0x00007f1982defbbb in gst_pad_peer_query (pad=pad@entry=0x564a63850a50 [GstPad|src], query=query@entry=0x564a637fa720) at ../gst/gstpad.c:4276
#14 0x00007f1982e32ed0 in gst_pad_peer_query_caps (pad=pad@entry=0x564a63850a50 [GstPad|src], filter=filter@entry=0x564a637fa5e0) at ../gst/gstutils.c:3152
#15 0x00007f1981d111d9 in __gst_video_element_proxy_getcaps
(element=element@entry=0x564a63979690 [GstElement|vaapidecode_h265-0], sinkpad=<optimized out>, srcpad=0x564a63850a50 [GstPad|src], initial_caps=initial_caps@entry=0x7f1978001a30, filter=filter@entry=0x7f1978001a80) at ../gst-libs/gst/video/gstvideoutilsprivate.c:108
#16 0x00007f1981cfdf1d in gst_video_decoder_proxy_getcaps (decoder=decoder@entry=0x564a63979690 [GstVideoDecoder|vaapidecode_h265-0], caps=caps@entry=0x7f1978001a30, filter=filter@entry=0x7f1978001a80)
at ../gst-libs/gst/video/gstvideodecoder.c:1835
#17 0x00007f1981b27cd3 in gst_vaapidecode_sink_getcaps (vdec=<optimized out>, filter=0x7f1978001a80) at ../gst/vaapi/gstvaapidecode.c:1355
#18 0x00007f1981cfdfee in gst_video_decoder_sink_getcaps (filter=<optimized out>, decoder=0x564a63979690 [GstVideoDecoder|vaapidecode_h265-0]) at ../gst-libs/gst/video/gstvideodecoder.c:1849
#19 0x00007f1981cfdfee in gst_video_decoder_sink_query_default (decoder=0x564a63979690 [GstVideoDecoder|vaapidecode_h265-0], query=0x7f1978001800) at ../gst-libs/gst/video/gstvideodecoder.c:1898
#20 0x00007f1982def3a8 in gst_pad_query (pad=pad@entry=0x564a63850800 [GstPad|sink], query=query@entry=0x7f1978001800) at ../gst/gstpad.c:4144
#21 0x00007f1982e303f0 in gst_pad_query_caps (pad=0x564a63850800 [GstPad|sink], filter=0x7f1978001a80) at ../gst/gstutils.c:3106
#22 0x00007f1981cfe2c1 in gst_video_decoder_sink_query_default (decoder=0x564a63979690 [GstVideoDecoder|vaapidecode_h265-0], query=0x564a637fa770) at ../gst-libs/gst/video/gstvideodecoder.c:1922
#23 0x00007f1982def3a8 in gst_pad_query (pad=pad@entry=0x564a63850800 [GstPad|sink], query=query@entry=0x564a637fa770) at ../gst/gstpad.c:4144
#24 0x00007f1982e330d8 in gst_pad_query_accept_caps (pad=pad@entry=0x564a63850800 [GstPad|sink], caps=<optimized out>) at ../gst/gstutils.c:3189
#25 0x00007f1982de7222 in pre_eventfunc_check (event=0x564a638f4250, pad=0x564a63850800 [GstPad|sink]) at ../gst/gstpad.c:5689
#26 0x00007f1982de7222 in gst_pad_send_event_unchecked (pad=pad@entry=0x564a63850800 [GstPad|sink], event=event@entry=0x564a638f4250, type=<optimized out>, type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
at ../gst/gstpad.c:5835
#27 0x00007f1982de78f7 in gst_pad_push_event_unchecked (pad=pad@entry=0x564a638505b0 [GstPad|src], event=0x564a638f4250, type=<optimized out>, type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
at ../gst/gstpad.c:5488
#28 0x00007f1982de7ec8 in push_sticky (pad=0x564a638505b0 [GstPad|src], ev=0x7f197e67dc60, user_data=0x7f197e67dcd0) at ../gst/gstevent.h:451
#29 0x00007f1982de52d0 in events_foreach (pad=pad@entry=0x564a638505b0 [GstPad|src], func=func@entry=0x7f1982de8200 <sticky_changed>, user_data=user_data@entry=0x7f197e67dcd0) at ../gst/gstpad.c:608
#30 0x00007f1982de7c42 in gst_pad_push_event_unchecked (pad=pad@entry=0x564a638505b0 [GstPad|src], event=0x564a638f4330, type=type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at ../gst/gstpad.c:5464
#31 0x00007f1982df1e4d in check_sticky (event=0x564a638f4330, pad=0x564a638505b0 [GstPad|src]) at ../gst/gstevent.h:451
#32 0x00007f1982df1e4d in gst_pad_push_event (pad=0x564a638505b0 [GstPad|src], event=event@entry=0x564a638f4330) at ../gst/gstpad.c:5619
#33 0x00007f1981ea1593 in gst_base_parse_loop (pad=<optimized out>) at ../libs/gst/base/gstbaseparse.c:3728
#34 0x00007f1982e232ff in gst_task_func (task=0x564a63854290 [GstTask|h265parse0:sink]) at ../gst/gsttask.c:328
#35 0x00007f1982cad8c4 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f1982cad181 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f1982bbb669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#38 0x00007f1982ae3323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) t 2
[Switching to thread 2 (Thread 0x7f19827e53c0 (LWP 30167))]
#0 __lll_lock_wait (futex=futex@entry=0x564a638c8ad0, private=0) at lowlevellock.c:52
52 lowlevellock.c: No such file or directory.
(gdb) bt
#0 0x00007f1982bc60b0 in __lll_lock_wait (futex=futex@entry=0x564a638c8ad0, private=0) at lowlevellock.c:52
#1 0x00007f1982bbe1f1 in __GI___pthread_mutex_lock (mutex=0x564a638c8ad0) at ../nptl/pthread_mutex_lock.c:115
#2 0x00007f1982dec732 in post_activate (new_mode=GST_PAD_MODE_NONE, pad=0x564a63850800 [GstPad|sink]) at ../gst/gstpad.c:1046
#3 0x00007f1982dec732 in activate_mode_internal
(pad=pad@entry=0x564a63850800 [GstPad|sink], parent=parent@entry=0x564a63979690 [GstObject|vaapidecode_h265-0], mode=mode@entry=GST_PAD_MODE_PUSH, active=active@entry=0) at ../gst/gstpad.c:1224
#4 0x00007f1982ded0b9 in gst_pad_set_active (pad=pad@entry=0x564a63850800 [GstPad|sink], active=0) at ../gst/gstpad.c:1115
#5 0x00007f1982dc52a5 in activate_pads (vpad=<optimized out>, ret=0x7ffc92383c90, active=0x7ffc92383cec) at ../gst/gstelement.c:3121
#6 0x00007f1982ddb7bc in gst_iterator_fold (it=it@entry=0x564a63734db0, func=func@entry=0x7f1982dc5280 <activate_pads>, ret=ret@entry=0x7ffc92383c90, user_data=user_data@entry=0x7ffc92383cec)
at ../gst/gstiterator.c:617
#7 0x00007f1982dc5d16 in iterator_activate_fold_with_resync (iter=iter@entry=0x564a63734db0, user_data=user_data@entry=0x7ffc92383cec, func=0x7f1982dc5280 <activate_pads>) at ../gst/gstelement.c:3145
#8 0x00007f1982dc8136 in gst_element_pads_activate (element=element@entry=0x564a63979690 [GstElement|vaapidecode_h265-0], active=<optimized out>, active@entry=0) at ../gst/gstelement.c:3189
#9 0x00007f1982dc8491 in gst_element_change_state_func (element=0x564a63979690 [GstElement|vaapidecode_h265-0], transition=<optimized out>) at ../gst/gstelement.c:3255
#10 0x00007f1981cfd68f in gst_video_decoder_change_state (element=0x564a63979690 [GstElement|vaapidecode_h265-0], transition=GST_STATE_CHANGE_PAUSED_TO_READY)
at ../gst-libs/gst/video/gstvideodecoder.c:2602
#11 0x00007f1982dca8b2 in gst_element_change_state (element=element@entry=0x564a63979690 [GstElement|vaapidecode_h265-0], transition=transition@entry=GST_STATE_CHANGE_PAUSED_TO_READY)
at ../gst/gstelement.c:3033
#12 0x00007f1982dcaefd in gst_element_set_state_func (element=0x564a63979690 [GstElement|vaapidecode_h265-0], state=GST_STATE_NULL) at ../gst/gstelement.c:2987
#13 0x00007f1982da5a0c in gst_bin_element_set_state
(next=GST_STATE_NULL, current=GST_STATE_READY, start_time=0 [0:00:00.000000000], base_time=0 [0:00:00.000000000], element=0x564a63979690 [GstElement|vaapidecode_h265-0], bin=0x564a6386e1a0 [GstBin|pipe
line0]) at ../gst/gstbin.c:2615
#14 0x00007f1982da5a0c in gst_bin_change_state_func (element=0x564a6386e1a0 [GstElement|pipeline0], transition=GST_STATE_CHANGE_READY_TO_NULL) at ../gst/gstbin.c:2957
#15 0x00007f1982df571f in gst_pipeline_change_state (element=0x564a6386e1a0 [GstElement|pipeline0], transition=GST_STATE_CHANGE_READY_TO_NULL) at ../gst/gstpipeline.c:525
#16 0x00007f1982dca8b2 in gst_element_change_state (element=element@entry=0x564a6386e1a0 [GstElement|pipeline0], transition=transition@entry=GST_STATE_CHANGE_READY_TO_NULL) at ../gst/gstelement.c:3033
#17 0x00007f1982dcaefd in gst_element_set_state_func (element=0x564a6386e1a0 [GstElement|pipeline0], state=GST_STATE_NULL) at ../gst/gstelement.c:2987
#18 0x0000564a6254d944 in main (argc=<optimized out>, argv=<optimized out>) at ../tools/gst-launch.c:1278
(gdb)
```
And I add a print:
```
0:00:00.025172307 30167 0x564a637f7d50 ERROR vaapisink gstvaapipluginbase.c:358:gst_vaapi_plugin_base_close: Replaced display 0x564a63836a80 to NULL
```
So the reason is thread race condition.
The sink element is already in NULL state and releases the display, but the filesrc still query sink's caps, while the display has already gone.
I notice:
```
static GstCaps *
gst_vaapisink_get_caps_impl (GstBaseSink * base_sink)
{
....
if (!GST_VAAPI_PLUGIN_BASE_DISPLAY (sink))
return gst_static_pad_template_get_caps (&gst_vaapisink_sink_factory);
out_caps = gst_caps_from_string (surface_caps_str);
raw_caps =
gst_vaapi_plugin_base_get_allowed_sinkpad_raw_caps (GST_VAAPI_PLUGIN_BASE
(sink));
...
}
```
There, just check the display, but display may be disposed during the period of calling gst_vaapi_plugin_base_get_allowed_sinkpad_raw_caps.https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1312d3d11h264dec: monochrome video on windows 102020-06-16T11:22:49ZRoman Shpuntovd3d11h264dec: monochrome video on windows 10My pipeline:
`appsrc -> queue2 -> h264parse -> d3d11h264dec -> d3d11videosink`
I have monochrome video (black and white) on this pipeline and flickers. UWP application, `Windows 10` (10.0.19041.2494), `Xbox one A All Digital Edition` de...My pipeline:
`appsrc -> queue2 -> h264parse -> d3d11h264dec -> d3d11videosink`
I have monochrome video (black and white) on this pipeline and flickers. UWP application, `Windows 10` (10.0.19041.2494), `Xbox one A All Digital Edition` device. I tried different encoder resolutions: 768x432, 1280x800, 1600x1000, 1920x1088 and different encoder profiles: baseline, main, high. The source is colored. Everything is fine when I replace `d3d11h264dec` to `avdec_h264` with `d3d11upload`. Also everything is fine on desktop PC with `d3d11h264dec`.https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1313h264parse doesn't distinguish between interleaved and mixed2021-01-29T12:22:00ZVivia Nikolaidouh264parse doesn't distinguish between interleaved and mixed`gsth264parse.c` says:
```
else if (sps->frame_mbs_only_flag == 0) {
imode = GST_VIDEO_INTERLACE_MODE_MIXED;
}
```
So essentially this means "if it's interleaved or mixed, make it mixed and don't bother checking".
...`gsth264parse.c` says:
```
else if (sps->frame_mbs_only_flag == 0) {
imode = GST_VIDEO_INTERLACE_MODE_MIXED;
}
```
So essentially this means "if it's interleaved or mixed, make it mixed and don't bother checking".
The H264 headers contain more information and `avdec_h264` parses that information. However, `avdec_h264` also says "if we have an `interlace-mode` from the upstream caps, keep it", so all content is detected as mixed.
Ideally `h264parse` should correctly parse that information from the headers. Until then, it might be worth modifying `avdec_h264` to not believe what upstream says about interlace-mode and always override it, as a workaround.Vivia NikolaidouVivia Nikolaidouhttps://gitlab.freedesktop.org/gstreamer/gst-devtools/-/issues/53meson dist fails with validate/launcher_tests failing2020-06-15T23:26:29ZTim-Philipp Müllertim@centricular.commeson dist fails with validate/launcher_tests failing2 Types of failures (first one most important):
**1 - when building against a gstreamer installed into a prefix on the system:**
```
The output from the failed tests:
8/8 validate/launcher_tests FAIL 0.48s (exit status 1)
...2 Types of failures (first one most important):
**1 - when building against a gstreamer installed into a prefix on the system:**
```
The output from the failed tests:
8/8 validate/launcher_tests FAIL 0.48s (exit status 1)
--- command ---
14:59:31 GST_REGISTRY='/tmp/release-1.17.1/b/gst-devtools/meson-private/dist-build/validate/tests/launcher_tests/validate/launcher_tests.registry' GST_PLUGIN_PATH_1_0='/tmp/release-1.17.1/install-prefix/lib/x86_64-linux-gnu/gstreamer-1.0' GST_PLUGIN_SYSTEM_PATH_1_0='' /tmp/release-1.17.1/b/gst-devtools/meson-private/dist-build/validate/tools/gst-validate-launcher -o /tmp/release-1.17.1/b/gst-devtools/meson-private/dist-build/validate-launcher-output/ /tmp/release-1.17.1/b/gst-devtools/meson-private/dist-unpack/gst-devtools-1.17.1/validate/tests/launcher_tests/test_validate.py --validate-tools-path /tmp/release-1.17.1/b/gst-devtools/meson-private/dist-build/validate/tests/launcher_tests/../../tools
--- stdout ---
Setting up tests to test GstValidate
--- stderr ---
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Traceback (most recent call last):
File "/tmp/release-1.17.1/b/gst-devtools/meson-private/dist-build/validate/tools/gst-validate-launcher", line 79, in <module>
exit(main(libsdir))
File "/tmp/release-1.17.1/b/gst-devtools/meson-private/dist-unpack/gst-devtools-1.17.1/validate/launcher/main.py", line 634, in main
res, options, tests_launcher = setup_launcher_from_args(sys.argv[1:])
File "/tmp/release-1.17.1/b/gst-devtools/meson-private/dist-unpack/gst-devtools-1.17.1/validate/launcher/main.py", line 620, in setup_launcher_from_args
if not tests_launcher.set_settings(options, []):
File "/tmp/release-1.17.1/b/gst-devtools/meson-private/dist-unpack/gst-devtools-1.17.1/validate/launcher/baseclasses.py", line 1866, in set_settings
if self.needs_http_server() or options.httponly is True:
File "/tmp/release-1.17.1/b/gst-devtools/meson-private/dist-unpack/gst-devtools-1.17.1/validate/launcher/baseclasses.py", line 2192, in needs_http_server
if tester.needs_http_server():
File "/tmp/release-1.17.1/b/gst-devtools/meson-private/dist-unpack/gst-devtools-1.17.1/validate/launcher/apps/gstvalidate.py", line 1186, in needs_http_server
for test in self.list_tests():
File "/tmp/release-1.17.1/b/gst-devtools/meson-private/dist-unpack/gst-devtools-1.17.1/validate/launcher/apps/gstvalidate.py", line 1050, in list_tests
scenarios = [self.scenarios_manager.get_scenario(scenario_name)
File "/tmp/release-1.17.1/b/gst-devtools/meson-private/dist-unpack/gst-devtools-1.17.1/validate/launcher/apps/gstvalidate.py", line 1050, in <listcomp>
scenarios = [self.scenarios_manager.get_scenario(scenario_name)
File "/tmp/release-1.17.1/b/gst-devtools/meson-private/dist-unpack/gst-devtools-1.17.1/validate/launcher/baseclasses.py", line 2374, in get_scenario
self.discover_scenarios()
File "/tmp/release-1.17.1/b/gst-devtools/meson-private/dist-unpack/gst-devtools-1.17.1/validate/launcher/baseclasses.py", line 2325, in discover_scenarios
f = open(scenario_defs)
FileNotFoundError: [Errno 2] No such file or directory: '/home/tpm/gst-validate/scenarios.def'
-------
```
**2 - when doing `dist` from inside a gst-build devenv environment (but just `gst-validate` configured individually):**
```
The output from the failed tests:
8/8 validate/launcher_tests FAIL 0.12s (exit status 1)
--- command ---
15:31:13 GST_PLUGIN_SYSTEM_PATH_1_0='' GST_REGISTRY='/home/tpm/Devel/gst-build/subprojects/gst-devtools/b/meson-private/dist-build/validate/tests/launcher_tests/validate/launcher_tests.registry' GST_PLUGIN_PATH_1_0='/tmp/gb/subprojects/gst-plugins-base/pkgconfig/..' /home/tpm/Devel/gst-build/subprojects/gst-devtools/b/meson-private/dist-build/validate/tools/gst-validate-launcher -o /home/tpm/Devel/gst-build/subprojects/gst-devtools/b/meson-private/dist-build/validate-launcher-output/ /home/tpm/Devel/gst-build/subprojects/gst-devtools/b/meson-private/dist-unpack/gst-devtools-1.17.0.1/validate/tests/launcher_tests/test_validate.py --validate-tools-path /home/tpm/Devel/gst-build/subprojects/gst-devtools/b/meson-private/dist-build/validate/tests/launcher_tests/../../tools
--- stdout ---
Running with development path
--- stderr ---
Traceback (most recent call last):
File "/home/tpm/Devel/gst-build/subprojects/gst-devtools/b/meson-private/dist-build/validate/tools/gst-validate-launcher", line 68, in <module>
from launcher.main import main
ModuleNotFoundError: No module named 'launcher.main'
-------
```https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/276Errors Bootstrapping Ubuntu 20.042020-06-12T14:07:54ZRay TileyErrors Bootstrapping Ubuntu 20.04Fresh install of Ubuntu 20.04. I apt-get install git and cloned cerbero. First error running `./cerber-uninstalled bootstrap` is `no module named setuptools`. I don't have an exact stack trace of that I'm afraid.
I then ran `apt-get ins...Fresh install of Ubuntu 20.04. I apt-get install git and cloned cerbero. First error running `./cerber-uninstalled bootstrap` is `no module named setuptools`. I don't have an exact stack trace of that I'm afraid.
I then ran `apt-get install python3 python3-pip python3-setuptools` and added an alias for python=python3.
Now when I try to bootstrap I receive the following:
```
trms@cbl-cg:~/cerbero$ ./cerbero-uninstalled bootstrap
Install prefix will be /home/trms/cerbero/build/dist/linux_x86_64
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/home/trms/cerbero/cerbero/main.py", line 183, in main
Main(sys.argv[1:])
File "/home/trms/cerbero/cerbero/main.py", line 53, in __init__
self.run_command()
File "/home/trms/cerbero/cerbero/main.py", line 152, in run_command
res = commands.run(command, self.config, self.args)
File "/home/trms/cerbero/cerbero/commands/__init__.py", line 78, in run
return _commands[command].run(config, args)
File "/home/trms/cerbero/cerbero/commands/bootstrap.py", line 49, in run
bootstrappers = Bootstrapper(config, args.build_tools_only,
File "/home/trms/cerbero/cerbero/bootstrap/bootstrapper.py", line 42, in __new__
bs.append(BuildTools(config, offline))
File "/home/trms/cerbero/cerbero/bootstrap/build_tools.py", line 55, in __init__
tool, found, newer = shell.check_tool_version('cmake' ,'3.10.2', env=None)
File "/home/trms/cerbero/cerbero/utils/shell.py", line 683, in check_tool_version
out = check_output([tool, '--version'], env=env)
File "/home/trms/cerbero/cerbero/utils/shell.py", line 168, in check_output
o = subprocess.check_output(cmd, cwd=cmd_dir, env=env, stderr=stderr)
File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1583, in _execute_child
and os.path.dirname(executable)
File "/usr/lib/python3.8/posixpath.py", line 152, in dirname
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
```
Please let me know if there is any additional info I can provide.https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/issues/107Loses first packets in live pipelines2020-06-15T21:14:34ZSebastian DrögeLoses first packets in live pipelinesCan be reproduced with
```sh
./test-launch "( videotestsrc is-live=true ! timeoverlay ! x264enc ! rtph264pay name=pay0 pt=96 )"
```
The initial keyframe is lost, for me the first two buffer lists are lost. Happens with UDP and TCP clie...Can be reproduced with
```sh
./test-launch "( videotestsrc is-live=true ! timeoverlay ! x264enc ! rtph264pay name=pay0 pt=96 )"
```
The initial keyframe is lost, for me the first two buffer lists are lost. Happens with UDP and TCP clients. Changing `is-live=false` makes it work reliable. This is at least the case since 1.14.0 so it's unclear to me why nobody reported this before :)
Reason for this is that in the `PLAY` handling, first the blocking pad probes on the rtpbin source pads are removed and only then the transports are set up. `multiudpsink` conveniently complains about "no clients" for the first two buffer lists and simply discards the data.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-bad/-/issues/1317inter: using it with encoded video h2642020-06-23T14:30:08ZDaniel Gomezinter: using it with encoded video h264Hi,
I would like to use the `intervideosink` and `intervideosrc` with encoded (h264) data (and add the support for it). I've checked you had similar approach [here (5 years ago)](https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/...Hi,
I would like to use the `intervideosink` and `intervideosrc` with encoded (h264) data (and add the support for it). I've checked you had similar approach [here (5 years ago)](https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/204) but never got merged. Just wondering if could make sense to add `video/x-h264` to the `intervideo` or not... or if instead, it would be better to add `interh264sink`/`interh264src`, `interh265sink`/`interh264src`...
What do you think? Would it make sense?