Giter Club home page Giter Club logo

Comments (7)

fzwoch avatar fzwoch commented on June 5, 2024

Sounds like some DLL files cannot be found. Check with the dependencywalker.com tool if it reports something obvious.

Maybe it depends on what kind of gstreamer release you pick - msvc or mingw. The binary is linked to the mingw version. Msvc tends to strip the "lib" prefix from library names - so that may be something..

from obs-gstreamer.

gzalo avatar gzalo commented on June 5, 2024

Thanks! I was able to fix it. Dependency walker was not useful, so I switched to Process Monitor (a tool that lists every Windows API call) and detected that after loading that library, some of the additional dlls it loads were being pulled from another directory (in my case, the mingw directory), which contained a library with the same name but probably an older version.
So I changed the Mingw path to the bottom of the Path env var lists. Now it seems to be working just fine :D !

from obs-gstreamer.

mk0x9 avatar mk0x9 commented on June 5, 2024

Had the same issue, added bin directory of mingw gstreamer to the system PATH

image

from obs-gstreamer.

philhartung avatar philhartung commented on June 5, 2024

I had a similar issue. Process Monitor solved it for me. There was Tesseract-OCR in my path, which includes some gstreamer dlls which the plugin tried to load, but I guess where incompatible. Removed Tesseract-OCR from my path to get it working. I have OBS v26.0.2, v0.2.0 of this plugin and gstreamer v1.16.1 (mingw)

from obs-gstreamer.

some1chan avatar some1chan commented on June 5, 2024

For anyone running into a similar issue, I found https://github.com/lucasg/Dependencies/ to be significantly more useful than http://dependencywalker.com/, as it loads in the obs-gstreamer.dll file instantly, compared to depends.exe not responding for >10 minutes, and then later giving out info I couldn't read. I'd recommend using this program over depends.exe or Process Monitor first.

After following the red herring of obs.dll not being found, my real issue was this: libglib-2.0-0.dll was being fetched from the System32 folder, and is incompatible with obs-gstreamer.

libglib-2.0-0.dll highlighted, with its path directed at System32

According to this post on the Qt forums, I needed obs-gstreamer.dll to find libglib-2.0-0.dll in:

  • The directory where the executable module for the current process is located
  • The current directory

...before it reads from the Windows system directory, and causes the issue.

From there, I could solve the problem by copying libglib-2.0-0.dll in the plugins folder, or where obs.exe was. Logs are cleaner if I used C:\Program Files\obs-studio\bin\64bit, so I went with that, and it worked!

from obs-gstreamer.

fzwoch avatar fzwoch commented on June 5, 2024

There should never be a libglib in the System32 folder.

from obs-gstreamer.

some1chan avatar some1chan commented on June 5, 2024

Huh, good to know. I've renamed the one in System32 (in-case something actually used it) so obs-gstreamer shouldn't anymore, along with deleting the one I placed with obs64.exe. Test output seems to work!

from obs-gstreamer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.