Home | Sign in | English US
  • Overview
  • Principle
  • Notes
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
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.
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 (VideoSetDriver).
  4. By programming:
    • Display the video sequence currently broadcasted by the specified Web camera in the Web Camera control (VideoDisplay).
    • 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 VideoCapture.
    • Modify (if necessary) the Web camera used (VideoSetDriver).
    • Configure (if necessary) the driver for video capture (VideoConfigure).
    • List (if necessary) the drivers for video capture installed on the current computer (VideoListDriver).
    • Return (if necessary) the status of Web Camera control (VideoStatus).
    • Stop displaying or saving a video sequence in the Web Camera control (VideoStop).


  • 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, there is no need to use VideoDisplay.
  • If no Web camera was associated with the Web Camera control, VideoDisplay and/or VideoCapture handle 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:
Related Examples:
WD WebCam Complete examples (WINDEV): WD WebCam
[ + ] This example explains how to include a WebCam in a WINDEV application.
The following topics will be presented in this example:
1/ Camera control
2/ Use of the video functions

Summary of the example supplied with WINDEV:
This example explains how a WebCam can be included in a WINDEV window.
You have the ability to view the image captured by the camera, to perform an instant capture and to film the scene broadcasted as a Windows animation (AVI).
The Unit examples (WINDEV Mobile): The "Camera" functions
[ + ] Using the WLanguage "Camera" functions to start the native video camera application of the device in order to record a video or to take a photo.
The Camera control Unit examples (WINDEV Mobile): The Camera control
[ + ] Using the Camera control in a WINDEV Mobile application.
The control is used to capture photos and videos.
Minimum required version
  • Version 9
This page is also available for…
Click [Add] to post a comment