I have a small application that allows you to play videos. Firstly, I do not limit the user to the choice of certain types of files. I want to do this to make sure that I can play the file selected by the user. How to get a list of available codecs or request playback quality of a WPF application ( MediaElement control)?
The suggested alternative is to convert any selected input file into a single format (for example, MPEG) before playing it, but it seems more complicated.
source share