Find installed encoder

Apr 28, 2015 at 5:46 PM
Hallo,

I try to find available codecs for encoding on the system my application is run at. Therefore I use the lines

MFMediaType[] aac = MediaFoundationCore.GetEncoderMediaTypes(MFMediaTypes.MFAudioFormat_AAC);
MFMediaType[] mp3 = MediaFoundationCore.GetEncoderMediaTypes(MFMediaTypes.MFAudioFormat_MP3);
MFMediaType[] wma = MediaFoundationCore.GetEncoderMediaTypes(MFMediaTypes.MFAudioFormat_WMAudioV9);

This works fine on Windows 8.1 64bit. But on a Windows Vista 32bit I get an EntryPointNotFoundException. The reason for this is, that on Windows Vista the library mf.dll does not have a method "MFTranscodeGetAudioOutputAvailableTypes". Is here in CSCORE an exception handling missing? What is the best way to get all available codecs for encoding?

Gravus
Coordinator
May 10, 2015 at 10:04 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.