Closed kahlilfitz closed 3 years ago
From the exception text, it looks as though there is a problem loading the SharpDX.MediaFoundation library (which MediaSource depends on), or one of its dependencies. Can you check in the first instance that the SharpDX.*.dll files exist in the bin output folder of your project?
I was missing the SharpDX.MediaFoundation nuget package. Added it and we're good. Thanks!
I would like to load a video and use the images as a source for PSI. I am attempting to do this with the MediaSource class thusly:
where
location
is string to the full path of a video file. I get the following exception:the value of
fileExists
is true and it is clear from the stack trace that it is trying to use a string that is not a file location. I believe I have used the MediaSource constructor correctly