Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Intel H264 Encoder MFT Problems on Win 7


Also Posted in the MSDN Media Foundation Forum.

I'm trying to get the Intel Quick-Sync H.264 Encoder MFT to work on Windows 7.   I've discovered that it doesn't work with a SinkWriter,  the error I eventually get while pushing samples to the SinkWriter is MF_E_UNEXPECTED( 0xC00D36BB ).  I'd like to get the encoder working in isolation first and then build up to hooking it to a MPEG4Sink to write to a file.

Anyway,  I'm running into a problem with the first step of creating a instance of the encoder and verifying that the eventing mechanism will work.   When I call GetEvent() I get a Access Violation with the following call stack :

mfplat.dll!MFTRACE_MEDIA_EVENT_IMPL( unsigned long, unsigned long, struct IMFMediaEvent * ) <---- Access Violation Here
mfplat.dll!CMFMediaEventGenerator::GetEvent( unsigned long, struct IMFMediaEvent * * )
mfplat.dll!CMFMediaEventQueue::GetEvent( unsigned long, struct IMFMediaEvent * * )
EventCrash.exe!main() Line 92

Here is a link to the code I used to get this far. 

I verified that this code works fine on Windows 10 with no crash.






0 Kudos
4 Replies

Hi Adam, 

Thanks for sharing details on the issue. Can you provide details on platform with Win7? Share a log from system analyzer here: But, before running system analyzer tool, check if you have latest drivers installed on the machine from here: Update the graphics driver if not latest and run the test again. Let me know your findings?



0 Kudos

"Thank you Harsh for your reply.

My drivers are up-to-date.

Here is the output from System Analyzer:

Intel(r) Media Server Studio 2015 R6 - System Analyzer (64-bit)

The following versions of Media SDK API are supported by platform/driver
[opportunistic detection of MSDK API > 1.16]:

        Version Target  Supported       Dec     Enc
        1.0     HW      Yes             X       X
        1.0     SW      Yes             X       X
        1.1     HW      Yes             X       X
        1.1     SW      Yes             X       X
        1.2     HW      Yes             X       X
        1.2     SW      Yes             X       X
        1.3     HW      Yes             X       X
        1.3     SW      Yes             X       X
        1.4     HW      Yes             X       X
        1.4     SW      Yes             X       X
        1.5     HW      No
        1.5     SW      Yes             X       X
        1.6     HW      No
        1.6     SW      Yes             X       X
        1.7     HW      No
        1.7     SW      Yes             X       X
        1.8     HW      No
        1.8     SW      Yes             X       X
        1.9     HW      No
        1.9     SW      Yes             X       X
        1.10    HW      No
        1.10    SW      Yes             X       X
        1.11    HW      No
        1.11    SW      Yes             X       X
        1.12    HW      No
        1.12    SW      Yes             X       X
        1.13    HW      No
        1.13    SW      Yes             X       X
        1.14    HW      No
        1.14    SW      Yes             X       X
        1.15    HW      No
        1.15    SW      Yes             X       X
        1.16    HW      No
        1.16    SW      Yes             X       X
        1.17    SW      Yes             X       X

Graphics Devices:
        Name                                         Version             State
        Intel(R) HD Graphics 3000                  08
        NVIDIA NVS 4200M                           Active

System info:
        CPU:    Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
        OS:     Microsoft Windows 7 Enterprise
        Arch:   64-bit

Installed Media SDK packages (be patient...processing takes some time):
        Intel(R) Media SDK 2016
        Intel(R) Media SDK Samples 2016

Something else interesting I found is that I can get the sample_encode code sample working to perform hardware encoding on this machine.   Even though the direct approach works I would still like to get the hardware encoding transform working through Media Foundation."

Hi Adam, 

Thanks for sharing the system analyzer log. From the log, I see you are using 2nd generation [i5-2520M] dual graphics system (this is very old platform and no longer supported by MediaSDK, please refer to latest release notes). But, I suspect that the issue is caused by dual graphics configuration and few issues were fixed in late 2013 drivers. Unfortunately, we do not have 2nd generation machine on our end here to try. Hence to isolate this issue disable the Nvidia graphics or try on some other latest systems with 4th generation or above processor ( without dual graphics). Please refer to this article on current driver support matrix: 



0 Kudos

I did end up getting past this crash by using BeginGetEvent() instead of GetEvent(),  for whatever reason the Intel Encoder MFT on this machine likes the BeginGetEvent()/EndGetEvent()/IMFAsyncCallback pattern.


0 Kudos

Thanks for the update Adam. Glad, you have resolved the issue. 

0 Kudos