How to debug Gstreamer on Windows

erikherz erik at vivoh.com
Mon Mar 30 15:56:27 UTC 2020


Thank you, David!

Here is my inspect output:
Plugin Details:
  Name                     videotestsrc
  Description              Creates a test video stream
  Filename                
C:\gstreamer\1.0\x86_64\lib\gstreamer-1.0\libgstvideotestsrc.dll
  Version                  1.16.2
  License                  LGPL
  Source module            gst-plugins-base
  Binary package           GStreamer Base Plug-ins source release
  Origin URL               Unknown package origin

I verified that libgstvideotestsrc.dll is in the same directory as my
executable.

As a brute force attempt to get it to work, I just copied all of the
libraries to the same directory:
C:\gstreamer\1.0\x86_64\bin\*.dll
C:\gstreamer\1.0\x86_64\lib\gstreamer-1.0\*.dll
C:\Qt\5.14.1\mingw73_64\bin\*.dll
C:\Qt\5.14.1\mingw73_64\plugins\platforms\*.dll
C:\Windows\System32\*.dll

and I get this debug output:

GST_REGISTRY gstregistrychunks.c:850:_priv_gst_registry_chunks_load_plugin:
read strings for name='videotestsrc'
GST_REGISTRY gstregistrychunks.c:851:_priv_gst_registry_chunks_load_plugin:  
desc.description='Creates a test video stream'
GST_REGISTRY gstregistrychunks.c:852:_priv_gst_registry_chunks_load_plugin:  
filename='C:\gstreamer\1.0\x86_64\lib\gstreamer-1.0\libgstvideotestsrc.dll'

GST_REGISTRY gstregistry.c:578:gst_registry_add_feature:<registry0> adding
feature 0000000003DDC380 (videotestsrc)

GST_REGISTRY gstregistrychunks.c:730:gst_registry_chunks_load_feature: Added
feature videotestsrc, plugin 0000000003DDB2C0 videotestsrc

GST_ELEMENT_FACTORY gstelementfactory.c:142:gst_element_factory_find: no
such element factory "videotestsrc"

... I was told that Gstreamer and QT will only work with MSVC and not MinGW
but was not told why ... Perhaps this will all just work once I get my MSVC
environment set up ... but it would be great to understand why MinGW does
not work.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list