PC SOFT

WINDEV的在线文档

  • Overview
  • Principle
  • Notes
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Managing videos (broadcasted by a Web Camera)

Overview
To manage the video sequence currently broadcasted by the Web camera installed on the current computer, WinDev proposes:You have the ability to:
  • view the video broadcasted by a Web camera.
  • save an image from the broadcasted video in an image file (BMP, JPEG, ...).
  • save a section of the broadcasted video in a video file.
  • ...
Note: To view a video in AVI format, use an Image control and the MCI functions.

Principle
To handle the videos:
  1. Create a window containing a Web Camera control.
  2. Display the description window of this control ("Description" from the popup menu).
  3. In this window, select the Web Camera to use.
    Note: The Web camera to use can also be specified by programming (视频改变驱动).
  4. By programming:
    • Display the video sequence currently broadcasted by the specified Web camera in the Web Camera control (视频显示).
    • Save (if necessary) the video currently broadcasted by the specified Web camera in image format (BMP file) or as a video sequence (AVI file) with 视频采集.
    • Modify (if necessary) the Web camera used (视频改变驱动).
    • Configure (if necessary) the driver for video capture (视频配置).
    • List (if necessary) the drivers for video capture installed on the current computer (视频驱动列表).
    • Return (if necessary) the status of the Web Camera control (视频状态).
    • Stop displaying or saving a video sequence in the Web Camera control (视频停止).

Notes

  • At run time, the video sequence broadcasted by the associated Web Camera is automatically displayed as soon as the window containing the Web Camera control is opened. In this case, the use of 视频显示 is not required.
  • If no Web camera was associated with the Web Camera control, 视频显示 and/or 视频采集 use the video sequence broadcasted by the default Web camera (on the current computer).
  • To save the video currently broadcasted by the specified Web camera in the format of an image file, you can use: