Closed xinsuinizhuan closed 4 years ago
For more detail,you can find the function get_dst_adapter of record_desktop_duplication.cpp and do_record of record_desktop_gdi.cpp
If you do not have other problems,I will close this issue.
whether have any example? Or whether current project could compile in linux?
For more detail,you can find the function get_dst_adapter of record_desktop_duplication.cpp and do_record of record_desktop_gdi.cpp
Thank you very much!
whether have the example that draw rect in windows or linux, that sopport the mult screen?
whether have any example? Or whether current project could compile in linux?
only support windows for now
whether have the example that draw rect in windows or linux, that sopport the mult screen?
You can find the test code in the Test project, and give different values to the v_left|v_top|v_width|v_height
whether it can compile with x64, what version of your ffmpeg?
whether it can compile with x64, what version of your ffmpeg?
It is designed on x86.
Do you still have any problems?
whether it can compile with x64, what version of your ffmpeg?
It is designed on x86.
Do you still have any problems?
First, thankyou very much. Then, I also want to ask: how to get the monitor of my current cursor in?
We usually enum all monitors and let user to choose one. Well, you can get the point of cursor and rects of all monitors through window api.
We usually enum all monitors and let user to choose one. Well, you can get the point of cursor and rects of all monitors through window api. whether have a function, that pass the current cursor to it, that then i could get the cur monitor?
Well, you can get the point of cursor and rects of all monitors through window api? How to do, i am a newer, do you could give me some guidances?
Well, you can get the point of cursor and rects of all monitors through window api? How to do, i am a newer, do you could give me some guidances?
GetCursorInfo EnumDisplayDevices
Do you still have any problems? I will close this issue.
Yes. when i get the current cursor information is: typedef struct { DWORD cbSize; DWORD flags; HCURSOR hCursor; POINT ptScreenPos; } CURSORINFO, PCURSORINFO, LPCURSORINFO; And when i get the all DisplayDevices: typedef struct _DISPLAY_DEVICE { DWORD cb; TCHAR DeviceName[32]; TCHAR DeviceString[128]; DWORD StateFlags; TCHAR DeviceID[128]; TCHAR DeviceKey[128]; } DISPLAY_DEVICE, *PDISPLAY_DEVICE; 1、how to get the current DISPLAY_DEVICE that current cursor in? 2、when get the current DISPLAY_DEVICE that to record, how to match the info IDXGIAdapter?
https://docs.microsoft.com/en-us/windows/win32/gdi/multiple-display-monitors-functions
It is not about screen-recorder, I will close this issue.
typedef struct {
}AMRECORDER_SETTING;
You can specifiy the resolution of monitor which you want to record by the param AMRECORDER_SETTING of initialize function.