Freigeben über


MediaElement not displaying video

I've been working with WPF (Avalon) recently and found some strangeness with the MediaElement control not displaying any video, or displaying a black screen or throwing a COM exception.

Turns out you need to update dxva2.dll and evr.dll as they are not properly updated by the WPF install.

Best bet is to delete c:\windows\system\dxva2.dll and evr.dll and then repair your WPF installation by running the setup again.

You need January 06 dates on these files for Feb CTP of WPF.

Comments

  • Anonymous
    September 12, 2010
    Hi, Paul Tallett, thanks for you share this. I met the same situation today, I use regsvr32 command to register the two dll files,but just  evr.dll can be register success. and I wantn't to install the VS, did you have any other ways to let the WPF can display the video? my email is:66568521@163.com, if you have some idea can help me, please contract with me, I would appreciate your help.

  • Anonymous
    September 12, 2010
    Hi, Paul Tallett, thanks for you share this. I met the same situation today, I use regsvr32 command to register the two dll files,but just  evr.dll can be register success. and I wantn't to install the VS, did you have any other ways to let the WPF can display the video? my email is:66568521@163.com, if you have some idea can help me, please contract with me, I would appreciate your help.

  • Anonymous
    September 12, 2010
    Hi, Paul Tallett, thanks for you share this. I met the same situation today, I use regsvr32 command to register the two dll files,but just  evr.dll can be register success. and I wantn't to install the VS, did you have any other ways to let the WPF can display the video? my email is:66568521@163.com, if you have some idea can help me, please contract with me, I would appreciate your help.