video-capture-sdk-x-winforms

Integrate VisioForge Video Capture SDK X into WinForms apps for device capture and recording.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you integrate VisioForge Video Capture SDK X into a Windows Forms app so you can reliably enumerate capture devices, start preview/recording, and apply built-in computer-vision processing without dealing with the most common setup failures.

Core Features & Use Cases

  • WinForms capture integration: Embed the VisioForge VideoView control and drive capture/recording from a WinForms UI.
  • Cross-platform engine (X edition): Use VideoCaptureCoreX with the GStreamer-backed runtime for scenarios that can later share logic across MAUI/Avalonia/Uno and mobile/desktop.
  • Computer-vision pipelines: Enable processors like face detection, pedestrian detection, and car counting on the live stream.
  • Operational readiness: Covers mandatory VisioForgeX.InitSDKAsync() boot, native redist NuGet wiring, license registration (SetLicenseCertificateAsync), and practical troubleshooting for missing DLLs/codecs, trial expiry, and black/frozen preview.

Quick Start

Use the video-capture-sdk-x-winforms skill to set up a new WinForms project by referencing the pinned NuGet wrapper plus the matching Windows x64 redists, then call await VisioForgeX.InitSDKAsync() in your form load before constructing VideoCaptureCoreX and pressing Start to preview a selected camera.

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

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

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

To add video capture to a WinForms application, embed the VisioForge VideoView control, call `VisioForgeX.InitSDKAsync()` during form load, construct `VideoCaptureCoreX`, and execute `StartAsync` to begin streaming from the selected camera.

Can I use the Video Capture SDK X with computer vision processing in C#?

Yes, Video Capture SDK X supports computer vision processing in C# by enabling built-in processors like face detection, pedestrian detection, and car counting directly on the live video stream during capture and preview operations.

What is the correct initialization sequence for VisioForge Video Capture SDK X?

The correct initialization sequence requires calling `await VisioForgeX.InitSDKAsync()` before constructing `VideoCaptureCoreX`, optionally loading a license via `SetLicenseCertificateAsync`, and finally executing `StartAsync` to begin preview or recording.

Does the Video Capture SDK X WinForms integration support IP cameras and screen capture?

Yes, the WinForms integration supports webcam, IP camera, and screen capture scenarios using the `VideoCaptureCoreX` engine, allowing you to enumerate devices and capture video across multiple input sources on Windows Forms.

Why does my VisioForge video preview freeze or show a black screen in WinForms?

A black or frozen video preview often results from missing native DLLs or codecs, incorrect NuGet version pinning, or skipping the mandatory `VisioForgeX.InitSDKAsync()` boot sequence before starting the `VideoCaptureCoreX` engine.

Can I reuse WinForms video capture logic in other .NET UI frameworks?

Yes, the `VideoCaptureCoreX` engine is portable, allowing you to share capture logic across MAUI, Avalonia, and Uno Platform applications by keeping the core video processing code separate from the WinForms VideoView host.