Sascha-L / WPF-MediaKit

Microsoft Public License
367 stars 117 forks source link

Could not add SpliterSource to graph #92

Closed lookitskris closed 5 years ago

lookitskris commented 5 years ago

Hit this issue when trying to run the client app under 64bit.

Clone Repo Run App Load video -> Runs fine :D Right click "Test Application", Properties, Build Tab, change "Platform Target" to x64 or AnyCPU Run App Load video -> exception "Could not add SpliterSource to graph" :(

This is the simplist repro I could manage as I ran into this error trying to use the library in a 64bit app.

Is there a fix? Something obvious i'm missing?

Kris

xmedeko commented 5 years ago

Check, you have proper codecs installed https://github.com/Sascha-L/WPF-MediaKit/wiki/Codecs

lookitskris commented 5 years ago

Thanks. is there a way to use just MF as a player, with no need for codecs out of the box? Or does this need additional work? asking before I jump in

xmedeko commented 5 years ago

Use the original WPF MediaElement unless you are really sure you need DirectX video. If so, you can distribute LAVFilters or other filters with your app and load them somehow (I do not experience with that, see FilterFromFile), but you must not break licence when distributing the filters.

xmedeko commented 5 years ago

Closing due to the inactivity.