开发者

Manipulate signals sent to monitor

I am experimenting with lower-level programming, which I know absolutely nothing about. I would like to capture input to the monitor, store it somewhere on disk, then pipe it back to the screen at a later time. While I of course know how to write to disk, I have to idea how to manipulate the monitor in such a fashion. If anyone can give me some pointers/links I'd be most grateful. I know both ruby and java, but I'm assuming ruby, being such a high-level language, isn't really suited to this kind of task. I'm willing to have a look at any new languag开发者_如何学Ce required.


Java is also a very high level language, as it is built on a VM. Because of this, low-level manual manipulation of components such as the monitor is only achievable through round-about methods. There is, however, a Robot API that allows you to do some of these things. Robot has methods to create screen captures and move the mouse, however it does not have methods for altering pixels on the screen. To do this, you'll have to look at some GUI libraries such as Swing, SWT and RCP.

If you're looking to do some real low-level programming, you should check out a different language like C or C++.


Look at this answer if you want to create a movie from screen shots. However, if you want to capture 60hz full monitor bandwidth (as you would if capturing a movie playback for instance), I don't think this is possible with software alone, unless perhaps by modifying a video card driver. You can buy a "video capture card" that can directly capture data sent over DVI or analog for best quality, however they are not cheap.


If you're using a Unix-based system you may want to looking into X11 forwarding over ssh, you can probably do something similar with your own client. This is still pretty high-level though.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜