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
Announcements
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.

sample_decode capture screen failed

derek_q_
Beginner
521 Views

Hi,
I build sample_decode and use it for screen capturing, but failed. I have tried it by several commands
1) Try load capture plugin from guid

sample_decode.exe capture -hw -d3d -async 1 -scr:w 1920 -scr:h 1080 -p 22d62c07e672408fbb4cc20ed7a053e4

command ouput:
plugin_loader.h :166 [ERROR] Failed to load plugin from GUID, sts=-9: { 0x22, 0xd6, 0x2c, 0x07, 0xe6, 0x72, 0x40, 0x8f, 0xbb, 0x4c, 0xc2, 0x0e, 0xd7, 0xa0, 0x53, 0xe4 } (Unknown plugin)
Default plugin cannot be loaded (possibly you have to define plugin explicitly)

Return on error: error code -3, e:\devel\zy\wifidirect\mediasdk\samples\sample_decode\src\pipeline_decode.cpp   355


Return on error: error code 1,  e:\devel\zy\wifidirect\mediasdk\samples\sample_decode\src\sample_decode.cpp     636

2) Try load capture plugin from file

sample_decode.exe capture -hw -d3d -async 1 -scr:w 1920 -scr:h 1080 -path mfxplugin64_screen_capture.dll

command ouput:
plugin_loader.h :130 [ERROR] Failed to load plugin from GUID, sts=-1: { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } (Unknown plugin)

Return on error: error code -3, e:\devel\zy\wifidirect\mediasdk\samples\sample_decode\src\pipeline_decode.cpp   355


Return on error: error code 1,  e:\devel\zy\wifidirect\mediasdk\samples\sample_decode\src\sample_decode.cpp     636

3) Finally, I tried the built in capture plugin

sample_decode.exe capture -hw -d3d -async 1 -scr:w 1920 -scr:h 1080

pretending that stream is 30fps one
pretending that aspect ratio is 1:1

Return on error: error code -3, e:\devel\zy\wifidirect\mediasdk\samples\sample_decode\src\pipeline_decode.cpp   921


Return on error: error code -3, e:\devel\zy\wifidirect\mediasdk\samples\sample_decode\src\pipeline_decode.cpp   394


Return on error: error code 1,  e:\devel\zy\wifidirect\mediasdk\samples\sample_decode\src\sample_decode.cpp     636

 

I use Media SDK 2016.02, and the driver version is 10.18.10.4358 for HD 4000.

Is it necessary to install Intel Media Server Studio?

0 Kudos
2 Replies
Ramashankar
New Contributor III
521 Views

Hi derek,

sample_decode.exe capture -hw -d3d -async 1 -scr:w 1920 -scr:h 1080 -p 22d62c07e672408fbb4cc20ed7a053e4

command ouput:
plugin_loader.h :166 [ERROR] Failed to load plugin from GUID, sts=-9: { 0x22, 0xd6, 0x2c, 0x07, 0xe6, 0x72, 0x40, 0x8f, 0xbb, 0x4c, 0xc2, 0x0e, 0xd7, 0xa0, 0x53, 0xe4 } (Unknown plugin)
Default plugin cannot be loaded (possibly you have to define plugin explicitly)

is you capture plugin folder [22d62c07e672408fbb4cc20ed7a053e4] placed at same path  where sample_decode.exe is placed? If not then it could be one probable cause.

~ Thanks,

0 Kudos
Bjoern_B_Intel
Employee
521 Views

Hi Derek,

As Ramashankar mentioned, you can copy the directory with the plugin to your location of the executable. This has proved working. In rare cases the path variable gets used. I am in contact with development team here to get the details on correct usage.

Thanks & Best,
Bjoern

0 Kudos
Reply