Skip to content
Ondrej Medek edited this page Oct 13, 2017 · 11 revisions

FAQ

Cannot play certain file type or URL

WPF-MediaKit itself does not play any media, it's the problem of the codecs used. E.g. can any other DirectShow player (like MPC-HC) play that URL/file? If not, then the WPF-MediaKit cannot play it, too.

Cannot play transparent mov, avi

LAVFilters does not return alpha channel, for some workarounds, see #45.

How to use HW acceleration

See Wiki HW Acceleration.

How to grab a screenshot

Use MediaUriPlayer.CloneSingleFrameD3DImage() or, when offscree, see the Wiki Headless Examples.

How to use custom MediaUriPlayer subclass

You may modify some behaviour to subclass the MediaUriPlayer. Then subclass the MediaUriElement, too and override the OnRequestMediaPlayer to return your player.

Clone this wiki locally