Java: Capture video of what's on the screen

前端 未结 4 937
隐瞒了意图╮
隐瞒了意图╮ 2021-01-13 14:36

We are considering writing a software in Java that records whats monitor for certain durations of time while it is running. Do you have any suggestions on how to efficiently

4条回答
  •  -上瘾入骨i
    2021-01-13 15:13

    Well with OpenCV you can capture frames and put them in video (i did this for a motion tracking Senior Design project for school) there are a good amount of samples for OpenCV. however Im only familiar with it's C++ bindings, not Java (but there are C,Python libs too)

    Does it HAVE to be java? cause using OpenCV to capture video is EXTREMELY easy (it's a matter of simply capturing frame buffers in a loop)

    Sorry I wish I had a java related answer.....but figure i'd chime in anyways cause OpenCV is very very handy to use.

    edit: http://code.google.com/p/javacv/

    JavaCV contains wrappers to the C class ones? might be worth looking at.

提交回复
热议问题