-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build improved screenshot API #1342
Comments
I noticed a previous commit removed ffmpeg as a windows dependency. Would we add it back in, or rely on a windows API for encoding? |
I think ffmpeg is something people would install separately. It's too much to bundle this for every platform. |
Which do you mean?
|
Streaming raw frames into ffmpeg is very useful. A lot of other libraries do this (Wasabi2D, moderngl-window, etc) The last option is true: including ffmpeg makes the install size too large It's something you install on the side. |
I'm worried that recommending ffmpeg installation might be out of the reach of beginner users. Does the following sound like a reasonable plan?
|
ffmpeg would probably not be a beginner thing. Can just start with screenshot and expand later. We don't even have the video capture module yet. |
Having a unified & streamlined cross-platform video capture technique would significantly simplify the screen capture doc. We might want to revisit the topic at a later point after considering minimal & maximal install versions some more. |
Which would be preferable for default save paths?
Option 1 would be fastest, so I'm in favor of implementing it first. |
1 is more than fine. |
I noticed another issue: I see two general ways of addressing it:
Breaking compatibility seems like the better choice:
This seems like a good approach for now:
It will make screenshots less confusing for all users and preserve the ability to use the non-OOP style used for teaching very young students. |
We may want to wrap standard deprecation directives with warning boxes to mark |
Enhancement request:
tl;dr add beginner-friendly screenshot functionality with reasonable defaults
What should be added/changed?
The minimum
A function that grabs the image from the screen and immediately writes it to disk. It should meet the following requirements:
"%windowname_%Y%m%d_%H%M_%S_%f.jpg"
get_image
save_path
argument that directly specifies the directory to save to or filename to use, overriding any formatting in the latter casetime_format
argument to override the default timestamp format.Additional features
We may also want to add :
Integrations with video format libraries to automatically assemble a movie of the screenshotsMoved to Video Capture in Arcade #1349What would it help with?
The text was updated successfully, but these errors were encountered: