Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Webcam Capture
Author:
David Patterson
Submitted:
4/13/2020
Version:
VB 2015
Compatibility:
VB 2015
Category:
Multimedia
Downloads:
2326
This allows the capture of AVI video from webcams along with high quality Audio. The audio can be taken from the default audio input device or any device selected from a drop down box. If default audio is used (Audio option 1) the video is saved as a raw, un-compressed, avi. This can be subsequently compressed using the Compress raw file option. If a specified audio device is used (Audio option 2), separate audio and video streams are joined together (muxed) using the open source program ffmpeg.exe (from https://sourceforge.net/projects/ffmpeg/ ). The resulting file is then compressed. A sliding scale is provided to synchronise the audio and video streams. I found adding a delay of +5/10ths of a second to the start of the video stream worked on my PC. Single frame screen capture to jpg/bmp is available using Save Image. The video capture devices are listed. This requires DirectShowLib-2005.dll ( from https://sourceforge.net/projects/directshownet/files/ ) Avi analysis of frame rate and audio stream is provided using ffprobe.exe from the ffmpeg download. Remember to download the external files. ffprobe.exe, ffmpg.exe and DirectShowLib-2005.dll should be placed in c:\windows. Tested on windows 10.
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement