TVideoGrabber Video Capture SDK Templates
Create a Windows video capture application in one click: these templates add three project types to File > New > Project in Visual Studio 2022 and 2026, ready to preview a webcam, the desktop screen or an RTSP/ONVIF IP camera, to record, to capture frames, to overlay text and images and to play back video clips with the TVideoGrabber video capture SDK.
Templates
| Template |
Language |
Framework |
| TVideoGrabber Video Capture App (Windows Forms) |
C# |
.NET 8, WinForms |
| TVideoGrabber Video Capture App (WPF) |
C# |
.NET 8, WPF |
| TVideoGrabber Video Capture App (Windows Forms, VB.NET) |
Visual Basic |
.NET 8, WinForms |
Each project references the TVideoGrabber-SDK NuGet package and opens a window with:
- Webcam with the list of the video capture devices, Screen, and IP camera with its URL, user name and password;
- Record WMV (Windows Media encoder built into Windows) and Record MP4, Record to new file now while recording, and an option to record the original H264 or MJPEG stream of an IP camera without re-encoding;
- Snapshot of the current frame to a PNG, BMP or JPEG file;
- text and image overlays, faded in and out together;
- a player: open a clip, play backwards, stop, pause, play, next frame, rewind, fast forward, and a trackbar;
- Show log, which displays the log of the component (OnLog event) in a separate window.
Getting started
- File > New > Project, search for TVideoGrabber.
- Choose a template, name the project, create it: the NuGet package is restored automatically.
- Press F5 and click Webcam.
videoGrabber.VideoSource = TVideoSource.vs_VideoCaptureDevice;
videoGrabber.StartPreview();
About TVideoGrabber
TVideoGrabber is a video capture SDK for Windows 10/11 with the same API in C#, VB.NET, Delphi, C++Builder, Visual C++, Java and Qt:
- capture from webcams, USB/HDMI/PCIe capture cards, Blackmagic DeckLink and the desktop screen;
- IP cameras: RTSP, RTMP, HTTP, ONVIF discovery and PTZ, recording without re-encoding;
- recording to MP4, MKV, AVI, MPEG-TS; H.264/HEVC hardware encoding (NVENC, QuickSync, AMF); streaming to RTSP, RTMP, UDP, HLS;
- media player, text and image overlays, frame capture, mixing of several sources, audio VU-meters.
IP cameras require the RTSP/RTMP/HTTP/ONVIF Source Filter and MP4 recording the Multipurpose Encoder, both included in the SDK download.
License
The templates are free (MIT). The TVideoGrabber SDK is commercial software: the NuGet package is the fully functional evaluation version, with a nag screen; a royalty-free developer license is required to deploy an application (pricing).
Links
| |