[英]How can I capture video using java?
I want to ask is it possible to capture a video using java programming? 我想问问是否可以使用Java编程来捕获视频? If it is then how to do it???
如果是那怎么办呢??? I searched a lot but not getting satisfatory answer.. Thank You Actually I want to capture all current activities on desktop...Like video shoot....
我进行了很多搜索,但没有得到满意的答案。。谢谢。实际上,我想捕获台式机上所有当前的活动。
Take a look at the Robot class. 看一看机器人课。 And there is a blog post here that uses that Method.
这里有一个使用该方法的博客文章。
http://javagraphics.blogspot.com/2008/06/screen-capture-recording-java-apps.html http://javagraphics.blogspot.com/2008/06/screen-capture-recording-java-apps.html
Do it with Xuggler . 用Xuggler做 。 Here's the exact code you need.
这是您需要的确切代码 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.