Home
>
Forum
>
Window capture mode cannot retrieve all screens of this window handle
Window capture mode cannot retrieve all screens of this window handle
Jul 15 (36 hours ago)
test
wrote
The window capture mode cannot capture the entire screen of this window handle and can only capture a portion of the screen.
The debug log is as follows:
Filter name: Sample Grabber
Filter CLSID: {c1f400a0-3f08-11d3-9f0b-006008039e37}
Pin 0 - Input - Input
Connected to: Color Space Converter, XForm Out
Connection media type: 640x384 RGB, 24 bit, Frame rate: 30.00
Pin 1 - Output - Output
Connected to: Video Sample Grabber, Input
Connection media type: 640x384 RGB, 24 bit, Frame rate: 30.00
The program is as follows:
ScreenCaptureSourceSettings sourceSettings = new ScreenCaptureSourceSettings
{
FullScreen = false,
WindowHandle = windowHandle,
FrameRate = VideoFrameRate.FPS_30,
GrabMouseCursor = true,
Mode = ScreenCaptureMode.Window
};
Problem: The window size is 841x529, and the logging program can only capture a range of 640x384
Reply
Log in please
Login
Username (Email)
Password
Verification Code
I forgot it
Login
Do not have an account?
Register
4 Answers
Jul 15 (35 hours ago)
Roman Miniailov
agent
wrote
Hi
Looks like a DPI issue.
Could you also check this sample -
https://github.com/visioforge/.Net-SDK-s-samples/tree/master/Video%20Capture%20SDK%20X/WPF/CSharp/Screen_Capture
yesterday 20:08 (12 hours ago)
test
wrote
This sample cannot solve my problem.
If it is a DPI issue, how to use this SDK to solve it.
yesterday 21:43 (11 hours ago)
Roman Miniailov
agent
wrote
Do you have custom DPI like 150%? Or it’s default 100%?
yesterday 23:04 (9 hours ago)
test
wrote
The system is configured with 125%, setting it back to 100% will solve the problem
Login
My tickets
Submit ticket
Help desk software by
LiveAgent