Distorted video in Windows Media Player ActiveX
I'm trying to play MKV (Matroska format) file in Windows Media Player ActiveX control.
While it plays perfectly fine in standalone WMP, the embedded control fails to render the video properly. Image appears with many little squares and no actual picture.
The required codec is properly installed. All other formats don't cause any problems.
An attempt to play in WPF MediaElement control resulted in the same behavior, as it uses WMP ActiveX internally.
I'm wondering i开发者_如何学运维f it's a know bug and any workaround is available?
There could be some problem with your codecs.. try reinstalling them.. cause I just made a small app to check it out and it smoothly played 1080p .mkv video.
The issue only occurs on Windows 7 due to automatic use of Microsoft codecs for H.264 decoding. It can be solved by configuring preferred DirectShow filters to ffdshow in the registry.
精彩评论