Media (Intel® oneAPI 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

capture screen plugin failed


when I use capture screen plugin ,the result is failed.

Can anybody tell me what's wrong is happened? thanks.

error log:

C:\Intel Media Samples\_bin\win32>cd C:\Intel Media Samples\_bin\x64

C:\Intel Media Samples\_bin\x64>sample_decode.exe capture  -p 22d62c07e672408fbb4cc20ed7a053e4 -h 1366  -w 768

-hw -n 30 -o outputfile.nv12

Return on error: error code -3, src\pipeline_decode.cpp 641

Return on error: error code -3, src\pipeline_decode.cpp 287

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

0 Kudos
8 Replies

when i use -sw to decode,nv12 file can be created.

sample_decode.exe capture  -p 22d62c07e672408fbb4cc20ed7a053e4 -h 1366  -w 768 -sw -n 30 -o outputfile.nv12

my PC info:

CPU:I5 4200U

GPU:inter HD Graphics family

0 Kudos


Can you please send the system analyzer log from your machine?

Execute the binary “<install-folder>\tools\mediasdk_sys_analyzer\win32\sys_analyzer.exe or
<install-folder>\tools\mediasdk_sys_analyzer\x64\sys_analyzer.exe” in your machine. Send a copy of it.


0 Kudos

Here is the log, encoding and decoding are not support?

Intel(R) Media Server Studio 2016 R2 - System Analyzer (64-bit)

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

        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      Yes             X       X
        1.5     SW      Yes             X       X
        1.6     HW      Yes             X       X
        1.6     SW      Yes             X       X
        1.7     HW      Yes             X       X
        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    HW      No
        1.17    SW      Yes             X       X
        1.18    HW      No
        1.18    SW      Yes             X       X
        1.19    HW      No
        1.19    SW      Yes             X       X

Graphics Devices:
        Name                                         Version             State
        Intel(R) HD Graphics Family                08
        NVIDIA GeForce GT 720M                     Active

System info:
        CPU:    Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
        OS:     Microsoft Windows 7 ???
        Arch:   64-bit

Installed Media SDK packages (be patient...processing takes some time):
        Intel(R) Media SDK Video Encoding Sample 5.0.461.91752
        Intel(R) Media Samples
        Intel(R) Media SDK 2016
        Intel(R) Media SDK 2016 R2

Installed Media SDK DirectShow filters:

Installed Intel Media Foundation Transforms:
        Intel(R) Hardware VC-1 Decoder MFT : {059A5BAE-5D7A-4C5E-8F7A-BFD57D1D6AAA}
        Intel(R) Hardware H.264 Decoder MFT : {45E5CE07-5AC7-4509-94E9-62DB27CF8F96}
        Intel(R) Hardware MPEG-2 Decoder MFT : {CD5BA7FF-9071-40E9-A462-8DC5152B1776}
        Intel(R) Quick Sync Video H.264 Encoder MFT : {4BE8D3C0-0515-4A37-AD55-E4BAE19AF471}
        Intel(R) Hardware Preprocessing MFT : {EE69B504-1CBF-4EA6-8137-BB10F806B014}


Analysis complete... [press ENTER]

0 Kudos


To : Nikhil R. (Intel)

when i try it on SurfacePro3,nv12 file can be created successfully.

but I want to encode this nv12 file to h264 format file.Although the H264 files are created, but the file is too small, also unable to play.

input file:nv12(889MB)



C:\Intel Media Samples\_bin\x64>sample_encode.exe h264 -i 0717.nv12 -o output.h264 -w 1920 -h 1080 -b 1000 -nv1
2 -hw
Encoding Sample Version

Input file format       NV12
Output video            AVC
Source picture:
        Resolution      1920x1088
        Crop X,Y,W,H    0,0,1920,1080
Destination picture:
        Resolution      1920x1088
        Crop X,Y,W,H    0,0,1920,1080
Frame rate      30.00
Bit rate(Kbps)  1000
Target usage    balanced
Memory type     system
Media SDK impl          hw
Media SDK version       1.7

Processing started
Frame number: 300
Processing finished

C:\Intel Media Samples\_bin\x64>

Could you help me find out the cause of the error ,thanks.

0 Kudos

Hi Zhou,

Thanks for sharing the log.

Screen Capture (MFX_CODEC_CAPTURE) is supported from API 1.15, which is not supported with your current graphics driver. Please update the driver at to the latest version ( It should fix your issue.

Try it and let us know.

0 Kudos

To : Nikhil R. (Intel)

thanks for answer.

When I install the latest driver( win64_153631.4414),

indicate that the system can't install.(error info :this operating system is not supported).

0 Kudos
1 about driver
Because the system is a custom OS, driver from Inter could not be updated.
When I driver from lenovo's official website,it also can not install. 
I ready to confirm on other computer. 
2 about h264 file can't play
I changed  player tool from VLC player to  storm player, the h264 file can be play well.
0 Kudos

When you observed the error (error info :this operating system is not supported), did you make sure your download was for Windows 7 64-bit OS? If not, try this link

If you can provide me with the Lenovo model & serial number, I may be able to make sure that you have a right driver installed.

Anyway, it's good to hear that you are ready to test on other system. Please let me know the result.

Yes, VLC may not be playing the elementary streams. I personally use 'mplayer' to play such streams. You may use any application of your choice.

Thank you for the regular updates.


0 Kudos