dahuapp / dahu

[DEPRECATED] The objective of this project is to develop a "real" alternative to existing screencasting software. Even if there is a wide variety of software that offers to make screencasts, none of these programs do offer effective solutions combining the features / properties that we could expect of this kind of tool.
http://dahuapp.github.io
Other
81 stars 25 forks source link

Allow the user to capture only a region of the screen. #13

Open beckerdenis opened 11 years ago

beckerdenis commented 11 years ago

The user may want to capture only a window or an area of the screen (that will be constant in one project, but can change from a project to an other).

moy commented 10 years ago

One source of inspiration would be xvidcap:

http://sourceforge.net/projects/xvidcap/

I like the way the user just draws a rectangle on the screen. The unix command "import" is also good at this: the user can either click on a window and capture this window, or drag on screen to draw a rectangle.

At worse, we can just ask the user to point to the top-left, press a key, point to the bottom-right, press a key. We already know how to detect keypresses and find the mouse position, so we have the code to do that.