video-capture-sdk-net-wpf

Integrate VisioForge Video Capture SDK .NET into WPF apps for live capture.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill eliminates the friction of integrating VisioForge Video Capture SDK .NET into a Windows WPF application by guiding you through the correct NuGet setup, engine initialization, licensing, and common runtime pitfalls that prevent capture from starting.

Core Features & Use Cases

  • WPF capture with preview: wire a WPF VideoView to the capture engine so users see live webcam, IP camera, screen, or DV camera preview.
  • Recording and snapshots: capture video (optionally audio) to common formats and save still frames from the live stream.
  • Production-ready troubleshooting: handle frequent issues such as missing native DLLs, codec/filter not found errors, trial expiry messages, and preview freezing due to timing.

Quick Start

Use the video-capture-sdk-net-wpf skill to generate the minimal WPF MainWindow pattern for starting preview and selecting the first available video/audio devices on Windows.

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

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

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

Add webcam preview and capture to a WPF application by installing the VisioForge.DotNet.VideoCapture NuGet package, initializing VideoCaptureCore with a WPF IVideoView, and calling StartAsync for live rendering.

How do I initialize the VisioForge Video Capture SDK in a .NET WPF project?

Initialize the VisioForge Video Capture SDK by using Microsoft.NET.Sdk.WindowsDesktop with WPF enabled, then instantiate VideoCaptureCore and wire it to a WPF VideoView before selecting video and audio devices.

Can I use the Video Capture SDK to record video and save snapshots from an IP camera?

Yes, the Video Capture SDK supports recording live video and audio from webcams, IP cameras, or DV devices to common formats, and saving still frame snapshots directly from the initialized capture engine.

How do I apply a VisioForge license to the Video Capture SDK in WPF?

Apply a VisioForge license in WPF by loading your .vflicense bytes and calling SetLicenseCertificateAsync on the VideoCaptureCore instance before invoking StartAsync to begin the capture stream.

Why does my WPF video capture preview freeze or show a missing DLL error?

WPF video capture preview freezing or missing DLL errors typically stem from missing native dependencies, codec or filter issues, or incorrect timing during VideoCaptureCore initialization, requiring proper troubleshooting steps.