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

Could not create IMFVideoPresenter #93

Open
Sharkboy-j opened this issue Aug 21, 2019 · 6 comments
Open

Could not create IMFVideoPresenter #93

Sharkboy-j opened this issue Aug 21, 2019 · 6 comments

Comments

@Sharkboy-j
Copy link

StackTrace:

   at WPFMediaKit.MediaFoundation.EvrPresenter.CreateNew()
   at WPFMediaKit.DirectShow.MediaPlayers.MediaPlayerBase.CreateEnhancedVideoRenderer(IGraphBuilder graph, Int32 streamCount)
   at WPFMediaKit.DirectShow.MediaPlayers.MediaPlayerBase.CreateVideoRenderer(VideoRendererType rendererType, IGraphBuilder graph, Int32 streamCount)
   at WPFMediaKit.DirectShow.MediaPlayers.MediaUriPlayer.oldOpenSource()

InnerException

Can't load library '...\bin\Build\EvrPresenter64.dll'.

Im using MediaUriElement to play RTSP stream. But i got exception: there are no EvrPresenter64.dll in my folder, actually it exists

How can i fix this

@henriknc
Copy link

Hi Jeremi,
Did you solve this problem. I have the exact same problem when trying to load the EvrPresenter32.dll library. It suddenly stopped working.

@Sharkboy-j
Copy link
Author

Hi Jeremi,
Did you solve this problem. I have the exact same problem when trying to load the EvrPresenter32.dll library. It suddenly stopped working.

I change platform to x86, and it start working

@henriknc
Copy link

Thanks for getting back to me so quickly. I already run on the x86 platform, so the cause of my problem must be different.

@vryan95
Copy link

vryan95 commented Dec 3, 2019

Got the same problem. Cant load evrpresenter64.dll and when i build as x86, it cant load EvrPresenter32.dll. Both dll's are in the correct folder.

@henriknc
Copy link

henriknc commented Dec 4, 2019

I our case it was because the C++ 2013 redistributable was not installed on the pc.

@vryan95
Copy link

vryan95 commented Dec 4, 2019

Tried that but doesn't solve the problem. Guess I'll continue my search. Thanks anyway
Edit: after installing, i opened the same installer and performed a repair. Now it does work.

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

3 participants