Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test scenes can not be run #8

Open
18rmt14 opened this issue Nov 29, 2018 · 3 comments
Open

Test scenes can not be run #8

18rmt14 opened this issue Nov 29, 2018 · 3 comments

Comments

@18rmt14
Copy link

18rmt14 commented Nov 29, 2018

I tried following the steps the README.md.(excepted step 4.I used visual studio 2017 & runtimes x64 version)
But i can not run Test 1.unity.I get errors in console:

NullReferenceException: Object reference not set to an instance of an object
CustomPipelinePlayer.Update () (at mrayGStreamerUnity-master/mrayGStreamerUnity-master/Unity/UnityTests/Assets/GStreamerUnity/Components/CustomPipelinePlayer.cs:69)

I confirmed that gstreamer was installed properly.
What do i need to do to solve this problem ?

@spaul13
Copy link

spaul13 commented Apr 6, 2019

@18rmt14, I am getting this problem of "Plugin Load Error"
While running the test scenes, its giving error

Failed to load 'Assets/Plugins/x86_64/GStreamerUnityPlugin.dll' with error 'The specified module could not be found.
'.
GstBaseTexture:Initialize() (at Assets/GStreamerUnity/Scripts/GstBaseTexture.cs:92)
GstBaseTexture:Initialize() (at Assets/GStreamerUnity/Scripts/GstBaseTexture.cs:88)
CustomSBSPipelinePlayer:Start() (at Assets/GStreamerUnity/Components/CustomSBSPipelinePlayer.cs:39)

@18rmt14 can u plz tell me whether u have gotten this kind of problem or not? and please suggest me some possible ways to resolve this.

@JinghaoZhao
Copy link

@18rmt14, I am getting this problem of "Plugin Load Error"
While running the test scenes, its giving error

Failed to load 'Assets/Plugins/x86_64/GStreamerUnityPlugin.dll' with error 'The specified module could not be found. '. GstBaseTexture:Initialize() (at Assets/GStreamerUnity/Scripts/GstBaseTexture.cs:92) GstBaseTexture:Initialize() (at Assets/GStreamerUnity/Scripts/GstBaseTexture.cs:88) CustomSBSPipelinePlayer:Start() (at Assets/GStreamerUnity/Components/CustomSBSPipelinePlayer.cs:39)

@18rmt14 can u plz tell me whether u have gotten this kind of problem or not? and please suggest me some possible ways to resolve this.

Not the exact same error but I also meet the DllNotFound error. This problem may be caused by #13. After changing the local gstreamer version from minGW to msvc, my test scene can find the DLL.

@mrayy
Copy link
Owner

mrayy commented Nov 5, 2020

The two versions of GStreamer runtimes have different dll conventions:

  • mingw uses "lib" prefix for the dlls, which leads to the error gstreamer dlls are not found.

The compiled version in this repo takes to assumption that the installed gstreamer dlls don't have such prefix.

You could also double check that by using a dependency walker, which you can test the plugin dll to check any missing dependencies:
https://www.dependencywalker.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants