Hi, I'm facing with an issue regarding screen capture performance.
Screen capture performance gets worse when windows media player is playing video.
I checked MFXVideoDECODE::DecodeFrameAsync() performance in sample_decode.
Followings are the results and the issue is case 3):
1) Run sample_decode.exe alone
DecodeframeAsync() takes 1-3ms.
2) Run sample_decode.exe while WindowsMediaPlayer is playing music
DocdeFrameAsync() takes more than 1-3ms.
3) Run sample_decode.exe while WindowsMediaPlayer is playing video
DocdeFrameAsync() takes more than 80ms.
sample_decode.exe capture -hw -d3d -fourcc nv12 -async 1 -p 22d62c07e672408fbb4cc20ed7a053e4 -h 1080 -w 1920
INDE Media SDK for Windows 22.214.171.1248
Intel Media Samples 126.96.36.199
The following versions of Media SDK API are supported by platform/driver:
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.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 Yes X X
1.8 SW Yes X X
Name Version State
Intel(R) HD Graphics 4600 10.18.14.4264 Active
CPU: Intel(R) Core(TM) i5-4310M CPU @ 2.70GHz
OS: Microsoft Windows 7 Professional
I guess screen capture plug-in is slow when other DirectX application(for example, Windows Media Player) is running.
Is it right?
I want to capture screen image(1920x1080) less than 10ms even if other application is running.
Do you have any workaround to avoid this issue?