Sascha-L / WPF-MediaKit

Microsoft Public License
366 stars 116 forks source link

Unable to open majority of MP4 files in TestApplication - NullReferenceException #41

Closed AutoWaifu closed 7 years ago

AutoWaifu commented 7 years ago

When opening various MP4 files I get NullReferenceExceptions at MediaUriPlayer, line 311 - the invoke to DirectShowUtil.AddFilterToGraph at line 308 returns null, therefore interfaceFile is null, causing the exception. I haven't made any changes to TestApplication.

I'm running Windows 10 with a Radeon M370X.

When debugging, the SplitterSource is set to LAV Splitter whereas the graph shows FilterGraphNoThread.

An example video is here: http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4

AutoWaifu commented 7 years ago

I've just installed K-Lite media codec, which has fixed the issue.