Click here to Skip to main content
15,887,477 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I started learning Intel Media SDK a few weeks ago. But I don't seem to be getting a hang of it. I get the following error when I try to run the screen capture plugin:

IntelSWTools\Intel(R)_Media_SDK_2016.0.2\samples\_bin\x64>sample_decode.exe capture -w 400 -h 108 -p "22d62c07e672408fbb4cc20ed7a053e4" -o test1.yuv
plugin_loader.h :157 [INFO] Plugin was loaded from GUID

Return on error: error code -2, src\pipeline_decode.cpp 281

Return on error: error code 1, src\sample_decode.cpp 501

plugin_loader.h :183 [INFO] MFXBaseUSER_UnLoad(session=0x0000000002868AC0), sts=0

How do I solve this problem?

What I have tried:

I have tried reinstalling Intel Media SDK after clean boot and updating my drivers for Intel GPU. Generally, HP provides the drivers but for driver version 15.40(Intel Core i5 4th gen) they didn't roll out an update. So I installed the Generic drivers from Intel's website.
Posted
Updated 30-Aug-17 0:48am
v2
Comments
Richard MacCutchan 30-Dec-16 6:00am    
The first thing to do is to go to the documentation and find out what those error codes signify. Then go to your code and find out why they are occurring.
theRealGreenz1 30-Dec-16 6:50am    
Thanks Richard for showing interest. I have gone through the forum of Intel for this Media SDK(Asked the same thing there too; awaiting reply), and the documentation provided. I couldn't find anything substantial.
Richard MacCutchan 30-Dec-16 8:06am    
Looking at line 281 of samples/pipeline_decode.cpp at master · Intel-Media-SDK/samples · GitHub[^] I would guess it could be a version issue with the SDK.

1 solution

It looks like something goes wrong with the command line arguments. Check that they are correct and valid for the file.

Tip: look at the source code which is mentioned in the error messsages. My first guess is that your "-h 108" causes the mess.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900