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 a 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
I have tried reinstalling Intel Media SDK after clean boot and updating my drivers for Intel GPU. Generally, HP provides the drivers but for 15.40(Intel Core i5 4th gen) they didn't roll out an update. So I installed the Generic drivers from Intel's website.