Ultimo aggiornamento: novembre 2026
Video Capture SDK .NET vs Datastead TVideoGrabber
Confronto completo dei componenti di cattura video .NET
La scelta del componente di cattura video giusto per la tua applicazione .NET determina le capacità e i costi a lungo termine del tuo progetto. Questa guida fornisce un confronto dettagliato tra VisioForge Video Capture SDK .NET — una moderna piattaforma di cattura a doppio motore che supporta cinque sistemi operativi — e Datastead TVideoGrabber, un componente di cattura maturo basato su DirectShow per Windows. Esaminiamo architettura, funzionalità, supporto multi-output, streaming, prezzi e codice reale per aiutarti a prendere una decisione informata.
Da 250 €/anno · licenza Lifetime da 900 €
Riepilogo esecutivo
| Aspetto | Video Capture SDK .NET | TVideoGrabber |
|---|---|---|
| Architettura | Doppio motore: DirectShow/Media Foundation nativo + GStreamer multipiattaforma | Motore singolo: componente basato su proprietà DirectShow |
| Supporto piattaforme | Windows, macOS, Linux, Android, iOS (5 piattaforme) | Solo Windows |
| Prezzi | 250–500 €/anno o 900–1.800 € Lifetime·Team | 700 € per sviluppatore; add-on source filter ed encoder 950 € ciascuno, NDI Filters 400 €; Suite di tutti e quattro i prodotti 2.100 € |
| Ideale per | App di cattura multipiattaforma con streaming, multi-output ed effetti in tempo reale | Cattura su Windows in progetti Delphi, C++Builder o .NET |
| Stile API | API .NET async-first con eventi e pattern await | Modello a componenti basato su proprietà con chiamate sincrone |
Analisi approfondita dell'architettura
Architettura di Video Capture SDK .NET
Il Video Capture SDK include due motori. VideoCaptureCore incapsula DirectShow e Media Foundation su Windows, fornendo accesso nativo a ogni dispositivo di cattura esposto dal sistema operativo. VideoCaptureCoreX è basato su GStreamer e gestisce cattura e registrazione su Windows, macOS, Linux, Android e iOS. I due motori sono classi separate con API strettamente correlate, quindi il passaggio dall'uno all'altro richiede alcune modifiche al codice.
- ▶Cattura Windows nativa tramite grafi di filtri DirectShow e Media Foundation
- ▶Motore multipiattaforma basato su GStreamer, con uscite FFmpeg opzionali su Windows
- ▶Anteprima accelerata da GPU tramite renderer Direct3D / OpenGL
- ▶Architettura event-driven con supporto async/await .NET
- ▶Modello a processo singolo — nessuna gestione di processi figlio richiesta
- ▶Supporto multipiattaforma: Windows, macOS, Linux, Android, iOS
Architettura di TVideoGrabber
TVideoGrabber è un componente a motore singolo basato su DirectShow sviluppato da Datastead. Espone le proprietà dei dispositivi di cattura e le impostazioni di registrazione tramite un'API basata su proprietà. La configurazione viene effettuata impostando le proprietà del componente prima di avviare la cattura, seguendo un modello tradizionale di componente Delphi/VCL adattato per .NET.
- ▶Grafo di filtri DirectShow per l'accesso ai dispositivi e la registrazione su Windows
- ▶Modello di configurazione basato su proprietà (impostare le proprietà, poi avviare)
- ▶Discovery ONVIF e metodi di controllo PTZ
- ▶Rilevamento del movimento con registrazione su movimento
- ▶Add-on a pagamento per sorgenti IP, NDI, telecamere GenICam e codifica e streaming avanzati
- ▶Solo Windows — nessun supporto per macOS, Linux o dispositivi mobili
Differenze architetturali chiave
| Aspetto | Video Capture SDK | TVideoGrabber |
|---|---|---|
| Design del motore | Doppio motore (DirectShow/MF + GStreamer) | Motore singolo (solo DirectShow) |
| Ambito piattaforme | 5 sistemi operativi, 7 framework UI | Solo Windows, WinForms/WPF |
| Pattern API | Async/await, eventi, oggetti gestiti | Basato su proprietà, chiamate sincrone |
| Multi-output | Registrazione + stream + snapshot simultanei | Più uscite tramite l'add-on encoder da 950 € |
| Streaming | RTMP, RTSP, SRT, HLS, NDI integrati | RTMP, server RTSP, SRT, HLS tramite l'add-on encoder da 950 €; NDI tramite un add-on da 400 € |
| Modello add-on | Funzionalità per edizione, nessun add-on a pagamento | Base + add-on a pagamento (source filter ed encoder 950 €, NDI 400 €) |
Confronto funzionalità per funzionalità
Sorgenti di cattura
| Funzionalità | Video Capture SDK | TVideoGrabber |
|---|---|---|
| Webcam USB | ✅ | ✅ |
| Telecamere integrate del laptop | ✅ | ✅ |
| Cattura schermo / desktop | ✅ | ✅ |
| Telecamere IP (RTSP/ONVIF) | ✅ | ⚠️(RTSP richiede il source filter da 950 €) |
| Controllo ONVIF PTZ | ✅ | ✅ |
| Schede di cattura (Blackmagic, Magewell) | ✅ | ✅(Dispositivi Decklink e DirectShow) |
| Sintonizzatori TV (BDA/DVB) | ✅ | ❌(Non presente nella documentazione Datastead) |
| Sorgenti NDI | ✅ | ⚠️(Richiede add-on da 400 €) |
| Telecamere virtuali (OBS Virtual Cam) | ✅ | ✅ |
| Ingresso DECKLINK | ✅ | ✅ |
Registrazione
| Funzionalità | Video Capture SDK | TVideoGrabber |
|---|---|---|
| MP4 (H.264 / H.265) | ✅ | ⚠️(H.265: Add-on encoder da 950 €) |
| Container MKV | ✅ | ✅ |
| WebM (VP8 / VP9 / AV1) | ✅ | ⚠️(Add-on encoder da 950 €) |
| AVI | ✅ | ✅ |
| WMV / ASF | ✅ | ✅ |
| MOV (ProRes) | ✅ | ⚠️(Add-on encoder da 950 €) |
| MPEG-TS | ✅ | ⚠️(Add-on encoder da 950 €) |
| GIF animata | ✅ | ❌ |
| Solo audio (MP3, AAC, WAV) | ✅ | ✅ |
| Divisione file per tempo/dimensione | ✅ | ✅ |
| Registrazione Pre-Evento (Buffer Circolare) | ✅ | ✅(Frame retrodatati) |
Multi-output
| Funzionalità | Video Capture SDK | TVideoGrabber |
|---|---|---|
| Registrazione + stream simultanei | ✅ | ⚠️(WMV integrato; altri add-on da 950 €) |
| Uscite di registrazione multiple | ✅ | ⚠️(Add-on encoder da 950 €) |
| Registrazione + snapshot simultanei | ✅ | ⚠️(Supporto snapshot di base) |
| Risoluzioni diverse per uscita | ✅ | ❌ |
| Uscita telecamera virtuale | ✅ | ❌ |
| Timeshift / riproduzione ritardata | ✅ | ❌ |
Protocolli di streaming
| Funzionalità | Video Capture SDK | TVideoGrabber |
|---|---|---|
| RTMP Push (YouTube, Twitch) | ✅ | ⚠️(Add-on encoder da 950 €) |
| Modalità server RTSP | ✅ | ⚠️(Add-on encoder da 950 €) |
| SRT (Caller / Listener) | ✅ | ⚠️(Add-on encoder da 950 €) |
| Generazione segmenti HLS | ✅ | ⚠️(Add-on encoder da 950 €) |
| Uscita NDI | ✅ | ⚠️(Add-on da 400 €) |
| UDP / TCP Unicast / Multicast | ✅ | ⚠️(Add-on encoder da 950 €) |
Elaborazione video
| Funzionalità | Video Capture SDK | TVideoGrabber |
|---|---|---|
| Ridimensionamento / ritaglio in tempo reale | ✅ | ✅ |
| Deinterlacciamento | ✅ | ✅ |
| Regolazione colore (luminosità, contrasto) | ✅ | ✅ |
| Sovrapposizione testo (timestamp, filigrana) | ✅ | ✅ |
| Sovrapposizione immagine / logo | ✅ | ✅ |
| Effetti video accelerati da GPU | ✅ | ❌ |
| Chroma Key (schermo verde) | ✅ | ✅ |
| Picture-in-Picture | ✅ | ✅ |
Audio
| Funzionalità | Video Capture SDK | TVideoGrabber |
|---|---|---|
| Cattura dispositivo audio | ✅ | ✅ |
| Cattura audio di sistema (Loopback) | ✅ | ❌ |
| Mixaggio audio (ingressi multipli) | ✅ | ⚠️ |
| Controllo volume / guadagno in tempo reale | ✅ | ⚠️ |
| Effetti audio (eco, riverbero) | ✅ | ❌ |
| VU meter / monitoraggio livello | ✅ | ✅ |
Rilevamento e analisi
| Funzionalità | Video Capture SDK | TVideoGrabber |
|---|---|---|
| Rilevamento movimento | ✅ | ✅ |
| Rilevamento volti | ✅ | ❌ |
| Lettura codici a barre / QR | ✅ | ❌ |
| Riconoscimento testo OCR (edizione Premium) | ✅ | ❌ |
| Tracciamento oggetti | ✅ | ❌ |
| Rilevamento livello audio | ✅ | ⚠️ |
Supporto piattaforme
Compatibilità sistemi operativi
| Piattaforma | Video Capture SDK | TVideoGrabber |
|---|---|---|
| Windows x64 | ✅ | ✅ |
| Windows ARM64 | ✅ | ❌ |
| macOS (Apple Silicon + Intel) | ✅ | ❌ |
| Linux x64 (Ubuntu, Debian, Fedora) | ✅ | ❌ |
| Linux ARM64 (Raspberry Pi) | ✅ | ❌ |
| Android (tramite .NET MAUI) | ✅ | ❌ |
| iOS (tramite .NET MAUI) | ✅ | ❌ |
Compatibilità framework UI
| Framework | Video Capture SDK | TVideoGrabber |
|---|---|---|
| WinForms | ✅ | ✅ |
| WPF | ✅ | ✅ |
| .NET MAUI | ✅ | ❌ |
| Avalonia UI | ✅ | ❌ |
| Console / Service | ✅ | ❌ |
| ASP.NET Core (servizio in background) | ✅ | ❌ |
| Blazor Hybrid | ✅ | ❌ |
Confronto prezzi
Prezzi di Video Capture SDK .NET
Uno sviluppatore nominato; 12 mesi di aggiornamenti minori e maggiori e supporto e-mail
Uno sviluppatore nominato; 12 mesi di aggiornamenti minori e maggiori e supporto e-mail
Uno sviluppatore nominato; 12 mesi di aggiornamenti minori e maggiori e supporto e-mail
Tutti gli sviluppatori dell’organizzazione acquirente in una sede in una città; uso perpetuo, aggiornamenti a vita e supporto e-mail
Tutte le licenze includono:
- ✓ Distribuzione royalty-free
- ✓ Premium include tutte le funzionalità (streaming, NDI, effetti GPU, multi-output, OCR); le edizioni inferiori ne limitano alcune
- ✓ Tutti gli esempi di codice sorgente
- ✓ Supporto via e-mail
- ✓ Tutte e 5 le piattaforme target incluse
Prezzi di TVideoGrabber
Per sviluppatore, componente di cattura e riproduzione, 2 anni di aggiornamenti, solo Windows
Aggiunge supporto sorgente/uscita NDI
Aggiunge uscita MOV, WebM, MPEG-TS e HEVC, più streaming RTMP, SRT, HLS e server RTSP
SDK, RTSP/RTMP/HTTP/ONVIF Source Filter, Multipurpose Encoder e NDI Filters, per sviluppatore — ancora solo Windows
Costo totale di proprietà
Una configurazione TVideoGrabber completa costa 2.100 € per sviluppatore come Suite di Datastead e funziona solo su Windows. La licenza Video Capture SDK Premium Lifetime·Team a 1.800 € copre tutti gli sviluppatori in una sede e aggiunge supporto multipiattaforma, effetti GPU e OCR. Per un singolo sviluppatore, la licenza annuale SDK Premium costa 500 € all'anno.
- ⚠SDK Premium (1.800 €, tutti gli sviluppatori in una sede) vs la Suite TVideoGrabber (2.100 € per sviluppatore)
- ⚠SDK include protocolli di streaming (RTMP, SRT, HLS) — TVideoGrabber richiede il Multipurpose Encoder da 950 €
- ⚠SDK include registrazione multi-output — TVideoGrabber richiede lo stesso add-on per più uscite
- ⚠SDK copre 5 piattaforme — TVideoGrabber copre solo Windows
- ⚠SDK include effetti accelerati da GPU — la documentazione di TVideoGrabber non ne elenca nessuno
Da 250 €/anno · licenza Lifetime da 900 €
Esempi di codice
Esempio 1: Registrazione webcam in MP4
Video Capture SDK .NET
C#using VisioForge.Core.VideoCapture;
using VisioForge.Core.Types.VideoCapture;
using VisioForge.Core.Types.Output;
// Create the capture engine
var capture = new VideoCaptureCore();
// Set video source (first available webcam)
var devices = capture.Video_CaptureDevices();
capture.Video_CaptureDevice = new VideoCaptureSource(devices[0].Name);
// Set audio source
var audioDevices = capture.Audio_CaptureDevices();
capture.Audio_CaptureDevice = new AudioCaptureSource(audioDevices[0].Name);
capture.Audio_RecordAudio = true;
// Configure MP4 output with H.264 + AAC
capture.Output_Format = new MP4Output
{
Video = new MP4OutputH264Settings
{
Bitrate = 4000,
Profile = H264Profile.ProfileMain
}
};
capture.Output_Filename = "recording.mp4";
// Capture mode records to file while showing preview
capture.Mode = VideoCaptureMode.VideoCapture;
// Start recording with preview
await capture.StartAsync();TVideoGrabber
C#// TVideoGrabber — property-based approach
var grabber = new VideoGrabber();
// Select video device by index
grabber.VideoDevice = 0;
// Select audio device by index
grabber.AudioDevice = 0;
// Set recording mode
grabber.RecordingMethod = TRecordingMethod.rm_MP4;
// Set output filename
grabber.RecordingFileName = "recording.mp4";
// Start recording
grabber.StartRecording();
// Note: Properties set before starting
// No async/await — synchronous callsEsempio 2: Telecamera IP con controllo ONVIF PTZ
Video Capture SDK .NET
C#using VisioForge.Core.VideoCapture;
using VisioForge.Core.ONVIFX;
using VisioForge.Core.Types.VideoCapture;
using VisioForge.Core.Types.Output;
using VisioForge.Core.Types.FFMPEGEXE;
var capture = new VideoCaptureCore();
// Connect to ONVIF IP camera
capture.IP_Camera_Source = new IPCameraSourceSettings
{
URL = new Uri("rtsp://192.168.1.100:554/stream"),
Login = "admin",
Password = "password",
Type = IPSourceEngine.Auto_FFMPEG
};
capture.Mode = VideoCaptureMode.IPCapture;
// ONVIF PTZ control via ONVIFClientX
var onvif = new ONVIFClientX();
await onvif.ConnectAsync(
"http://192.168.1.100/onvif/device_service", "admin", "password");
var profiles = await onvif.GetProfilesAsync();
var token = profiles[0].token;
// pan, tilt, zoom speeds in range -1..1
await onvif.ContinuousMoveAsync(-0.5f, 0.5f, 0.0f);
await onvif.StopMoveAsync(token, panTilt: true, zoom: true);
await onvif.GoToPresetAsync(token, "1", 1.0f, 1.0f, 1.0f);
// Record while controlling PTZ
capture.Output_Format = new MP4Output();
capture.Output_Filename = "camera_feed.mp4";
// Simultaneously stream to RTMP
capture.Network_Streaming_Enabled = true;
capture.Network_Streaming_Format = NetworkStreamingFormat.RTMP_FFMPEG_EXE;
capture.Network_Streaming_Output = new FFMPEGEXEOutput { OutputMuxer = OutputMuxer.FLV };
capture.Network_Streaming_URL = "rtmp://stream.example.com/live";
await capture.StartAsync();TVideoGrabber
C#// TVideoGrabber — ONVIF PTZ support
var grabber = new VideoGrabber();
// IP camera source (RTSP needs the source filter add-on)
grabber.VideoSource = TVideoSource.vs_IPCamera;
grabber.IPCameraURL = "rtsp://192.168.1.100:554/stream";
grabber.SetAuthentication(
TAuthenticationType.at_IPCamera, "admin", "password");
// Record to file
grabber.RecordingMethod = TRecordingMethod.rm_MP4;
grabber.RecordingFileName = "camera_feed.mp4";
grabber.StartRecording();
// ONVIF PTZ methods
grabber.ONVIFPTZStartMove("Pan", false, 0.5, 1000);
grabber.ONVIFPTZStopMove("Pan");
// Note: Streaming needs the Multipurpose Encoder add-on
// Windows onlyEsempio 3: Registrazione multi-output + streaming
Video Capture SDK .NET
C#using VisioForge.Core.VideoCapture;
using VisioForge.Core.Types.VideoCapture;
using VisioForge.Core.Types.Output;
using VisioForge.Core.Types.FFMPEGEXE;
var capture = new VideoCaptureCore();
// Set webcam source
var devices = capture.Video_CaptureDevices();
capture.Video_CaptureDevice = new VideoCaptureSource(devices[0].Name);
capture.Mode = VideoCaptureMode.VideoCapture;
// Output 1: High-quality local MP4 recording
capture.Output_Format = new MP4Output
{
Video = new MP4OutputH264Settings
{
Bitrate = 8000,
Profile = VisioForge.Core.Types.Output.H264Profile.ProfileHigh
}
};
capture.Output_Filename = "archive.mp4";
capture.SeparateCapture_Enabled = true;
capture.SeparateCapture_AutostartCapture = true;
// Output 2: Stream the same source to YouTube via RTMP
capture.Network_Streaming_Enabled = true;
capture.Network_Streaming_Audio_Enabled = true;
capture.Network_Streaming_Format = NetworkStreamingFormat.RTMP_FFMPEG_EXE;
capture.Network_Streaming_Output = new FFMPEGEXEOutput { OutputMuxer = OutputMuxer.FLV };
capture.Network_Streaming_URL = "rtmp://a.rtmp.youtube.com/live2/YOUR_KEY";
// File recording and RTMP stream run simultaneously
await capture.StartAsync();
// Roll over to a second file on demand (split recording)
await capture.SeparateCapture_ChangeFilenameOnTheFlyAsync("archive_part2.mp4");TVideoGrabber
C#// TVideoGrabber — several outputs need an add-on
var grabber = new VideoGrabber();
// Select video device
grabber.VideoDevice = 0;
grabber.RecordingMethod = TRecordingMethod.rm_MP4;
grabber.RecordingFileName = "archive.mp4";
grabber.StartRecording();
// Roll over to a new file
grabber.RecordToNewFileNow("archive_part2.mp4", false);
// Recording + RTMP, or several outputs at once,
// goes through the Multipurpose Encoder add-on (950 €).Esempio 4: Rilevamento movimento con registrazione
Video Capture SDK .NET
C#using VisioForge.Core.VideoCapture;
using VisioForge.Core.Types.VideoCapture;
using VisioForge.Core.Types.VideoProcessing;
using VisioForge.Core.Types.Output;
var capture = new VideoCaptureCore();
// Set video source
var devices = capture.Video_CaptureDevices();
capture.Video_CaptureDevice = new VideoCaptureSource(devices[0].Name);
// Enable motion detection with highlight overlay
capture.Motion_Detection = new MotionDetectionSettings
{
Enabled = true,
Highlight_Enabled = true,
Highlight_Color = MotionCHLColor.Red,
Matrix_Width = 8,
Matrix_Height = 8
};
var lastRoll = DateTime.MinValue;
// Motion event handler (Level is 0-100)
capture.OnMotion += async (s, e) =>
{
// Roll a timestamped file on motion
if (e.Level < 5 || DateTime.Now - lastRoll < TimeSpan.FromMinutes(1)) return;
Console.WriteLine($"Motion at {DateTime.Now}: Level={e.Level}");
lastRoll = DateTime.Now;
if (!await capture.SeparateCapture_ChangeFilenameOnTheFlyAsync(
$"motion_{DateTime.Now:yyyyMMdd_HHmmss}.mp4"))
{
lastRoll = DateTime.MinValue;
}
};
// Configure output (preview + capture)
capture.Output_Format = new MP4Output
{
Video = new MP4OutputH264Settings { Bitrate = 4000 }
};
capture.Output_Filename = "capture.mp4";
capture.SeparateCapture_Enabled = true;
capture.SeparateCapture_AutostartCapture = true;
capture.Mode = VideoCaptureMode.VideoCapture;
// Start capture with motion detection
await capture.StartAsync();TVideoGrabber
C#// TVideoGrabber — motion detection
var grabber = new VideoGrabber();
// Select video device
grabber.VideoDevice = 0;
// Enable motion detection
grabber.MotionDetector_Enabled = true;
// Motion event
grabber.OnMotionDetected += (s, e) =>
{
Console.WriteLine(
$"Motion detected at {DateTime.Now}");
};
// Set recording format
grabber.RecordingMethod = TRecordingMethod.rm_MP4;
grabber.RecordingFileName = "motion.mp4";
grabber.StartPreview();
// Note: motion detection is a shared capability.
// TVideoGrabber can also record on motion
// (RecordingOnMotion_Enabled).Matrice decisionale
| Requisito | Video Capture SDK | TVideoGrabber | Vincitore |
|---|---|---|---|
| Multipiattaforma (Windows, Mac, Linux, mobile) | Video Capture SDK | ||
| Multi-output (registrare + trasmettere simultaneamente) | Video Capture SDK | ||
| Effetti audio in tempo reale | Video Capture SDK | ||
| Effetti video accelerati da GPU | Video Capture SDK | ||
| Streaming RTMP / HLS / SRT | Video Capture SDK | ||
| Uscita telecamera virtuale | Video Capture SDK | ||
| Divisione file / timeshift | Video Capture SDK | ||
| Codifica hardware (NVENC, QSV) | Video Capture SDK | ||
| NDI senza costi aggiuntivi | Video Capture SDK | ||
| Progetto Delphi / C++Builder | TVideoGrabber |
Conclusione
Video Capture SDK .NET
Il Video Capture SDK offre una piattaforma di cattura moderna e completa che copre cinque sistemi operativi e sette framework UI. L'edizione Premium include streaming, multi-output, effetti GPU, NDI, codifica hardware e OCR in un'unica licenza: 500 € all'anno per uno sviluppatore o 1.800 € per una licenza Lifetime·Team. Per i team che sviluppano applicazioni di cattura multipiattaforma, la licenza Lifetime·Team (una sede in una città) costa anche meno della Suite TVideoGrabber.
TVideoGrabber
TVideoGrabber è un componente di cattura maturo solo per Windows con una solida integrazione DirectShow, controllo ONVIF PTZ e supporto di prim'ordine per Delphi e C++Builder. Streaming, più uscite e codec moderni arrivano tramite il Multipurpose Encoder da 950 € e le sorgenti IP tramite un source filter da 950 €, quindi una configurazione completa raggiunge 2.100 € per sviluppatore come Suite. La sua documentazione non elenca effetti audio, OCR o rilevamento dei volti.
In pratica
Per progetti solo Windows in Delphi o C++Builder, o per team già costruiti attorno a TVideoGrabber, rimane un'opzione valida. Per il lavoro multipiattaforma, gli effetti GPU, l'OCR o un'unica licenza team, il Video Capture SDK è la scelta più forte.
Domande frequenti
TVideoGrabber supporta lo streaming RTMP verso YouTube o Twitch?
TVideoGrabber può registrare su più file contemporaneamente?
Quanto costa TVideoGrabber rispetto all'SDK?
Il Video Capture SDK supporta il controllo telecamera ONVIF PTZ come TVideoGrabber?
Posso usare TVideoGrabber su macOS o Linux?
Il Video Capture SDK supporta l'OCR?
Posso passare da TVideoGrabber al Video Capture SDK?
Inizia ora
Prezzi di Datastead come pubblicati su datastead.com/purchase.html (TVideoGrabber 700 €; RTSP/RTMP/HTTP/ONVIF Source Filter e Multipurpose Encoder 950 € ciascuno; NDI Filters 400 €; Suite di tutti e quattro i prodotti 2.100 €), per sviluppatore IVA esclusa, verificato il 2026-11-02. I prezzi possono cambiare senza preavviso.
