Our Product InsightsUSB Cameras

How to Record a video from e-CAM51_USB on Windows

All the USB cameras developed by e-con Systems are UVC compatible. So, you can just plug the camera into your PC and start using it with a simple GraphEdit tool. Sounds too easy? It gets easier. Understand the step-by-step process of how to get this done.

How-to-Record-a-video-from-e-CAM51_USB-on-Windows

As our USB cameras are UVC compatible, we can just plug in to any Windows XP, Windows 7 running PC and start using the camera with the simple GraphEdit tool.

In this blog I am going to walk through the steps required to record a video from the USB camera using a GraphEdit.

Recording Video using 5MP USB Camera on Windows
Recording Video using 5MP USB Camera on Windows
  • Add the TEE filter in order to render the preview as well as record the same to a file by choosing “DirectShow FiltersàSmart Teeà Insert Filters”.
  • Now render the Preview pin by right clicking and selecting the “Render Pin”.
Recording Video using 5MP USB Camera on Windows
Recording Video using 5MP USB Camera on Windows
  • Now the filters which are required for the Preview is automatically added as below.
Recording Video using 5MP USB Camera on Windows
Recording Video using 5MP USB Camera on Windows
  • For the Capture pin insert two more filters from the DirectShow Filters list.
    • Avi Mux Filter
    • File Writer– While adding this filter specify the file name of the video to be stored on disk.
  • After adding the above filters to the filter graph, connect the pins as shown below in the picture.
Recording Video using 5MP USB Camera on Windows
Recording Video using 5MP USB Camera on Windows
  • Now start the graph by “Graph Menu à Play”. It will record to the “testvideo.avi” file which is stored on the disk. Also it will show the preview of the same on the ActiveWindow.
Recording Video using 5MP USB Camera on Windows
Recording Video using 5MP USB Camera on Windows
  • Once we stop the graph by “Graph MenuàStop”, we will be able to playback the recorded file ”testvideo.avi” using VLC player.

Resolution Change:

    • If we want to record at desired resolution (say for ex: 5MP MJPEG), we can switch the resolution before starting the graph. By right clicking on the “capture pin” of the e-con 5MP Camera, select the resolution as 2592×1944 and format as MJPEG. Click Ok and close the dialog.

For more information visit e-CAM51 USB Board Camera product page.

Related posts