SkillAgentSearch skills...

WebcamWinForm

A simple Windows Forms application to demonstrate how to record video and audio via a webcam using C#.

Install / Use

/learn @goh-chunlin/WebcamWinForm
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

WebcamWinForm

<div align="center"> <img src="https://gclstorage.blob.core.windows.net/images/WebcamWinForm-banner.png" /> </div>

.NET 5 Build CodeQL License: GPL v3 Donate

A simple Windows Forms (.NET 5) application to demonstrate how to record video and audio via a Logitech webcam using C#.

Objective

In 2017, inspired by "How to use a web cam in C# with .NET Framework 4.0 and Microsoft Expression Encoder 4", a project on Code Project by Italian software developer Massimo Conti, I built a simple demo to show how we can connect C# Windows Form with a webcam to record both video and audio.

In 2020, .NET 5 is officially announced by Microsoft. Many libraries that I used earlier are no longer working. Hence, I took the chance to upgraded this project to use .NET 5 together with other new libraries.

The recorded media will be saved as a MP4 file locally. The file will also be uploaded to Microsoft Azure Storage at the same time in a container named "webcam-videos", hence the user interface asks for the connection string to the Azure Storage.

The webcam that I have tested with is Logitech HD Webcam C270.

Important Nuget Packages

References

License

This library is distributed under the GPL-3.0 License found in the LICENSE file.

Related Skills

View on GitHub
GitHub Stars30
CategoryContent
Updated1y ago
Forks15

Languages

C#

Security Score

80/100

Audited on Sep 8, 2024

No findings