Replies: 3 comments 1 reply
-
Hi @addy9908! You can use the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks Shaw.
That is what I did before with ScreenCaptureStream, but the resolution is
quite low, and CaptureRegion keeps messing up when I have multiple monitors.
…On Thu, Jan 23, 2025 at 10:26 AM Shawn Tan ***@***.***> wrote:
Hi @addy9908 <https://github.com/addy9908>! You can use the
ScreenCaptureStream operator from the Bonsai.Video package together with
a VideoWriter to record a video of the desktop screen and thus the GUI in
action.
—
Reply to this email directly, view it on GitHub
<#2117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC2KB3DLOCE2W4EGUMMOFP32MECZXAVCNFSM6AAAAABVXPOLDCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOJTGEYTCNA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks again Shawn. Change to a better monitor could be a solution.
For the 3rd point: I have two monitors for my desktop. Last time I try to
adjust CaptureRegion to only record from one monitor. The preview inside
Bonsai looks good, while the avi file saved is not the same as preview, but
with the left side of my screen cutted off.
…On Thu, Jan 23, 2025 at 11:19 AM Shawn Tan ***@***.***> wrote:
Some thoughts:
1.
The resolution for ScreenCaptureStream is set to your desktop
resolution, so if you want a higher resolution set your desktop resolution
higher. I believe it will also resize the GUI elements (see next).
2.
If you wanted to keep the current resolution but just want bigger GUI
elements, you can resize the GUI elements in ColumnStyles and RowStyles
in TableLayoutPanel together with Font size in all the elements.
3.
Hmm not sure what you mean by CaptureRegion messing up, can you
elaborate more on that? If you have dual monitors then the unaltered
ScreenCaptureStream should just be the two windows side by side and I
guess its a matter of playing around the coordinates to find out where the
GUI is.
4.
Unfortunately the output of TableLayoutPanel isn't an image, so as far
as I can tell I don't think you can compose a video with it.
—
Reply to this email directly, view it on GitHub
<#2117 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC2KB3GGB4RZ2PMRUOTAQOL2MEJCFAVCNFSM6AAAAABVXPOLDCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOJTGIZDCMI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am starting to use the GUI, which seems to be fantastic for organizing and visualizing everything together. The question is, can we save the "tablelayoutpanel" as a avi video file so I can do the demo of my program for others? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions