This requires our TVideoGrabber SDK + Multipurpose Encoder. The typical sample code is the following, e.g.: VideoGrabber.VideoDevice = VideoGrabber.VideoDeviceIndex (“Sensoray Model 3364 Video”) Videograbber.SetTextOverlay_Enabled (0,…
Private Sub Button_Click(ByVal sender As Object, ByVal e As System.EventArgs) VideoGrabber1.OpenURLAsync = False ‘ True for asynchrone capture VideoGrabber1.SetAuthentication(VidGrab.TAuthenticationType.at_IPCamera, “user”, “password”) VideoGrabber1.IPCameraURL = “onvif://192.168.6.122” AddHandler…
The current versions require linking to d3d9.lib and dwmapi.lib, just add them to the project and recompile. For older 32bit only versions of C++Builder, these…
These codecs are 32-bit only (most of them are old Video for Windows codecs): a 64-bit application can only load 64-bit codecs, so they are…
Since version 17.0.0.1, TVideoGrabber plays the usual formats without installing any decoder: the clips are opened through the Media Foundation demultiplexers and decoders included in…
Pass the extra parameters through the Encoder_SetStr(Enc_Extra_Parameters, “”) function, as lines of text separated by line feeds, e.g.: C# / C++ VideoGrabber->Encoder_SetStr (ENCODER_RECORDING_ID, Enc_Extra_Parameters, “movflags…
– to display the video to the proper aspect ratio, set: VideoGrabber.Display_AspectRatio = ar_Box – to stretch the video to the control size, set: VideoGrabber.Display_AspectRatio…
private void VideoGrabber1_OnFrameBitmap(object sender, VidGrab.TOnFrameBitmapEventArgs e) { Helpers.TFrameBitmapInfo FrameBitmapInfo = (Helpers.TFrameBitmapInfo)Marshal.PtrToStructure((IntPtr)e.bitmapInfo, typeof(Helpers.TFrameBitmapInfo)); Bitmap bitmap = System.Drawing.Bitmap.FromHbitmap(FrameBitmapInfo.bitmapHandle); … }
First determine the ONVIF port used by the IP camera by looking at the camera’s control panel (sometimes the ONVIF port is 8080 but it…
In the older versions of the SDK the overlay index must be first selected with VideoGrabber.OverlaySelector before setting the value. As this is not thread-safe…