Andrey1994 / screen_recorder_sdk

Library to take screenshots and record videos
https://screen-recorder-sdk.readthedocs.io/en/latest/
MIT License
45 stars 15 forks source link

Capturing the screen by selecting which monitor to capture screen from and not the PID #4

Closed KhalidYahia94 closed 3 years ago

KhalidYahia94 commented 3 years ago

Is there any method to select which monitor to capture the screen from? because using only PID produces some limitations and setting its value to 0 to capture the main monitor is also not so functional when having more than one monitor.

Andrey1994 commented 3 years ago

When you provide pid of process to capture it will find monitor based on it. Which limitations in this approach do you see? I can add this option easily if needed

KhalidYahia94 commented 3 years ago

I want to have the ability to just simply choose capture video from montior one or two for example, without giving a pid.

Andrey1994 commented 3 years ago

I will add this option

Andrey1994 commented 3 years ago

Implemented in new release, check docs and updated sample for instructions https://screen-recorder-sdk.readthedocs.io/en/latest/Examples.html#python-basic-demo