video-capture-sdk-net-winforms

Integrates VisioForge Video Capture SDK .NET into Windows Forms for preview, recording, and snapshots.

Updated May 29, 2025
One-click install
npx skills add https://github.com/visioforge/help --skill video-capture-sdk-net-winforms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: video-capture-sdk-net-winforms
Source: https://github.com/visioforge/help/tree/main/dotnet/agent-skills/video-capture-sdk-net-winforms
Command: npx skills add https://github.com/visioforge/help --skill video-capture-sdk-net-winforms

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you integrate VisioForge Video Capture SDK .NET into a Windows Forms app so you can reliably enumerate capture devices, show a live preview, and record or snapshot video/audio with correct runtime setup and licensing.

Core Features & Use Cases

  • WinForms capture with preview: Embed the VisioForge.Core.UI.WinForms.VideoView control and start webcam/IP-camera/screen/DV capture inside a WinForms UI.
  • Capture-to-file recording: Record to common formats such as MP4, AVI, MOV, MPEG-TS, WebM, and WMV (with guidance on optional codec redist packages).
  • Snapshots + device/audio controls: Take still frames and tune audio/video parameters through SDK settings patterns.
  • Common integration troubleshooting: Addresses frequent issues like native DLL not found, missing codec filters, trial period expiry, and “black preview” caused by starting before the control handle exists.

Quick Start

Use the skill to integrate VisioForge Video Capture SDK .NET into your WinForms project, then build and run the provided references/Form1.cs pattern (including engine creation on load and the Start/Stop flow) to confirm devices enumerate and preview renders correctly.

Frequently Asked Questions about video-capture-sdk-net-winforms

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add webcam capture and preview to a WinForms application?

Recording webcam video to MP4 in WinForms requires configuring the SDK output container format and selecting appropriate audio capture sources. Aligned NuGet and codec redist packages are necessary to encode the captured media stream into the target file.

Can I use the Video Capture SDK to record screen and IP camera streams in WinForms?

Yes, the Video Capture SDK supports screen and IP camera capture in WinForms. You can enumerate available devices, display a live preview, and record the streams to common containers like MP4, AVI, or MOV using the same engine workflow.

Why does the WinForms video preview show a black screen when capture starts?

A black preview occurs when capture starts before the WinForms host control handle exists. You must initialize the engine on form load and ensure the VideoView control is fully wired before invoking the start command to display the live feed.

What causes native DLL not found errors during WinForms video capture setup?

Native DLL not found errors stem from misaligned NuGet and redist package versions. You must verify that the installed VisioForge SDK packages match the required redist dependencies and that the native libraries are correctly deployed with the application.

Do I need a license certificate to start webcam recording in a WinForms app?

Yes, proper licensing certificate loading is required before starting capture. Without loading the certificate, the SDK will not initialize the capture engine and users will encounter trial period expiry or restricted functionality issues.