简体   繁体   English

Java网络摄像头调整快门速度

[英]java webcam adjust shutter speed

I want to (manually) adjust the "shutter speed" of my webcam with Java code. 我想(手动)使用Java代码调整网络摄像头的“快门速度”。

  1. Is it possible to do this (with java) ? 是否可以这样做(使用Java)?
  2. How do I realize it ? 我怎么知道的?

Extra info: 额外信息:

  • Windows vista and NetBeans IDE 7.3.1 Windows Vista和NetBeans IDE 7.3.1
  • Webcam : Logitech webcam pro 4000 网络摄像头:Logitech网络摄像头pro 4000
  • Driver : Quickcam v11 驱动程序:Quickcam v11
  • Language : java 语言:Java
  • Library : LTI-CIVIL with example code for image capturing 库:LTI-CIVIL带有用于图像捕获的示例代码
  • I think I need to adjust somewhere the time between the command for the camera to collect light and stop collecting light. 我认为我需要调整命令之间的时间,以使相机收集光和停止收集光。 (half thinking of an SLR camera). (半思索单反相机)。

There are certain available API's that can be used to control your webcam using java. 有一些可用的API ,可用于使用Java 控制网络摄像头

  • Java Media Framework (JMF) Java Media Framework(JMF)

The Java Media Framework API (JMF) enables audio, video and other time-based media to be added to applications and applets built on Java technology. Java Media Framework API(JMF)允许将音频,视频和其他基于时间的媒体添加到基于Java技术的应用程序和applet中。 This optional package, which can capture, playback, stream, and transcode multiple media formats, extends the Java 2 Platform, Standard Edition (J2SE) for multimedia developers by providing a powerful toolkit to develop scalable, cross-platform technology. 这个可选软件包可以捕获,回放,流传输和转码多种媒体格式,它通过提供强大的工具包来开发可扩展的跨平台技术,扩展了针对多媒体开发人员的Java 2 Platform Standard Edition(J2SE)。

  • Freedom for Media in Java (FMJ) Java中的媒体自由(FMJ)

FMJ is an open-source project with the goal of providing an alternative to Java Media Framework (JMF), while remaining API-compatible with JMF. FMJ是一个开源项目,旨在提供Java Media Framework(JMF)的替代方案,同时保持与JMF的API兼容。 It aims to produce a single API/Framework which can be used to capture, playback, process, and stream media across multiple platforms.Since FMJ is API-compatible with latest JMF, you may use existing JMF codes and run them. 它旨在产生一个单一的API /框架,可以跨多个平台捕获,回放,处理和流式传输媒体。由于FMJ与最新的JMF兼容,因此您可以使用现有的JMF代码并运行它们。

  • Xuggler 徐格勒

Xuggler is the easy way to uncompress, modify, and re-compress any media file (or stream) from Java. Xuggler是从Java解压缩,修改和重新压缩任何媒体文件(或流)的简便方法。 This is more widely used for manipulation of media files and related operations. 这被更广泛地用于媒体文件的操作和相关操作。

You can refer the following links: 您可以参考以下链接:

You can find tons of tutorials on them. 您可以在其中找到大量的教程。 I'm sure you can figure out an efficient way to control the shutter speed of your webcam using any of these API's. 我相信您可以找到使用这些API中任何一种来控制网络摄像头快门速度的有效方法。 :) :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM