Bytescout screen capturing
Author: m | 2025-04-24
Download Bytescout Post2Blog for free. Bytescout Post2Blog is a blog editor for the WordPress, Typepad, Movable type and other platforms. such as Bytescout.PDF, Bytescout Watermarking PRO or Bytescout Watermarking, Bytescout Screen Capturing SDK. Screen Capture. Bytescout Screen Capturing. Screen Capture. Latest updates. QZ Tray.
Bytescout Screen Capturing Download - Captures
This code in VB.NET shows how to set low FPS to get min file size for screen video with this how to tutorialWe made thousands of pre-made source code pieces for easy implementation in your own programming projects. ByteScout Screen Capturing SDK is the SDK for developers for quick implementation of screen video recording. The SDK records screen into video or into a series of screenshots. Can also record audio. Saves video into AVI,WMV and Google’s WebM. Output video quality, size, resolution or framerate can be adjusted easily. Provides additional tools for privacy features like blacking out on scren areas with sensitive information on screen right during recording. Supports web camera as input and can add instant text and images into video output. It can set low FPS to get min file size for screen video in VB.NET.VB.NET code samples for VB.NET developers help to speed up coding of your application when using ByteScout Screen Capturing SDK. Follow the instructions from the scratch to work and copy the VB.NET code. Further enhancement of the code will make it more vigorous.Download free trial version of ByteScout Screen Capturing SDK from our website with this and other source code samples for VB.NET. Imports System.ThreadingImports System.DiagnosticsImports BytescoutScreenCapturingLib ' import bytescout screen capturer activex object' NOTE: if you are getting error like "invalid image" related to loading the SDK's dll then ' try to do the following:' 1) remove the reference to the SDK by View - Solution Explorer' then click on References, select Bytescout... reference name and right-click it and select Remove' 2) To re-add click on the menu: Project - Add Reference' 3) In "Add Reference" dialog switch to "COM" tab and find Bytescout...' 4) Select it and click "Add" ' 5) Recompile the application ' Note: if you need to run on both x64 and x86 then please make sure you have set "Embed Interop Types" to True for this referenceModule Module1 Sub Main() ' create capturer class Dim capturer As New Capturer() ' set capturing area to the region type (to capture from given region on the screen) capturer.CapturingType = Of the service starting.3. Enhanced the driver connection security check.4. Fixed the issue which the user access rights not working correctly. Software: EaseFilter Process Filter Driver SDK 4.5.6.3 Date Released: Nov 1, 2019 Status: New Release Release Notes: new release Most popular Components & Libraries downloads for Vista .NET My Frame Panel 2.20 download by Namtuk This .net component let you add visual panel like Vista, Aqua, XP, Office, ... type: Demo ($69.00) categories: panel, frame, group, control, .NET, Aqua, gradient, csharp, vista, office, component View Details Download Portable Jutoh 3.23.0 download by Anthemion Software Portable Jutoh: Versatile eBook creation tool for Windows, ideal for authors. View Details Download Bytescout Screen Capturing SDK 2.56.1044 download by ByteScout, Inc Screen Capturing SDK records desktop to WMV, AVI video in VB, C#, C++ apps type: Demo ($1 499.99) categories: screen capturing, capture screen, capture screen video, directshow, record screen, screen recording, screen video recording, video recording, record screen video, record desktop, capture desktop, c++, bytescout View Details Download SMTP/POP3/IMAP Email Component Library for Visual Basic 8.6 download by MarshallSoft Computing Robust email component library for Visual Basic supporting SMTP, POP3, and IMAP. View Details Download Free Fingerprint Verification SDK 1.0.0.2 download by Neurotechnology Freeware SDK and .NET components for biometric application development type: Freeware categories: free, fingerprint, verification, SDK, recognition, matching, biometric, biometrical, Windows, security, scan, authentication, logon, access control, attendance control View Details DownloadDownload Bytescout Screen Capturing by Bytescout Software
Recording video from a given window or an application, the code samples:The code samples below demonstrate how to use Screen Capturing SDK to autmatically record video from a given window or an application. The property .WindowToCapture is used to define the window title search string. In these samples below we are recording video from the Internet Explorer browser by setting .WindowToCapture = “Internet Explorer”. Sound for the video is recorded from the default recording line by default (if user can record voice comments then you should change audio line to Mic line source)1) Visual Basic .NET Create new VB.NET Console project in Visual Studio. Click Project | Add Reference.. and add the reference to Bytescout Screen Capturing Lib on the COM tab and click OK. Then use the code snippet below. IMPORTANT: before running this sample run Internet Explorer browser (this sample will record video from the IE browser).Imports System.ThreadingImports System.DiagnosticsImports BytescoutScreenCapturingLib ' import bytescout screen capturer activex objectModule Module1 Sub Main() ' create capturer class Dim capturer As New CapturerClass() ' set capturing area to the region type (to capture from given region on the screen) capturer.CapturingType = CaptureAreaType.catWindow ' output video filename capturer.OutputFileName = "CaptureGivenWindow.avi" ' set the window to capture from MsgBox("Please run Internet Explorer (this sample will capture video from IE) and click OK") ' set the title (or name) of the window to capture from capturer.WindowToCapture = "Internet Explorer" ' set width and height of output video capturer.OutputWidth = 320 capturer.OutputHeight = 240 ' start capturing capturer.Run() ' wait for 20 seconds Thread.Sleep(20000) ' stop capturing and flush AVI video file into the disk capturer.Stop() ' open the output video Process.Start("CaptureGivenWindow.avi") End SubEnd Module2) Visual C# .NET Create new C# Console project in Visual Studio. Click Project | Add Reference.. and add the reference to Bytescout Screen Capturing Lib on the COM tab and click OK. Then use the code snippet below. IMPORTANT: before running this sample run Internet Explorer browser (this sample will record video from the IE browser). using System;using System.Collections.Generic;using System.Text;using System.Threading;using System.Diagnostics;using System.Windows.Forms;using BytescoutScreenCapturingLib; // import bytescout screen capturing activex objectnamespace SimpleCaptureCSharp{ class Program { static void Main(string[] args) { CapturerClass capturer = new CapturerClass(); // create new screen capturer object capturer.CapturingType = CaptureAreaType.catWindow; // set capturing area type to Mouse type (to record from the given area near the mouse) capturer.OutputFileName = "GivenWindowCaptured.avi"; // set output video filename // set window to capture MessageBox.Show("Please run Internet Explorer (this sample will capture video from IE) and click OK"); // set window to capture to Internet Explorer to capture video from Internet Explorer capturer.WindowToCapture = "Internet Explorer"; // set output video width and height capturer.OutputWidth = 320; capturer.OutputHeight = 240; capturer.Run(); // run screen video capturing Thread.Sleep(15000); // wait for 15 seconds capturer.Stop(); // stop video capturing Process.Start("GivenWindowCaptured.avi"); } }}3) Visual Basic 6 and VBScript (VBS) IMPORTANT: before running this sample run Internet Explorer browser (this sample will record video from the IE browser). ' create video capturer activex object Set capturer. Download Bytescout Post2Blog for free. Bytescout Post2Blog is a blog editor for the WordPress, Typepad, Movable type and other platforms. such as Bytescout.PDF, Bytescout Watermarking PRO or Bytescout Watermarking, Bytescout Screen Capturing SDK. Screen Capture. Bytescout Screen Capturing. Screen Capture. Latest updates. QZ Tray.GitHub - bytescout/screen-capturing-sdk-samples: ByteScout Screen
How to create full featured screen capturing app in C#These sample source codes on this page below are demonstrating how to create full featured screen capturing app in C#. What is ByteScout Screen Capturing SDK? It is the screen video recording SDK helps in quick implementation of screen video recording. WMV, AVI, WebM output options are available with adjustable quality, video size, framerate and video and audio codec. Includes special features like live multiple blacking out of selected areas, recording from web cam as main source and as overlay, optional watermarks for output video. It can help you to create full featured screen capturing app in your C# application.Fast application programming interfaces of ByteScout Screen Capturing SDK for C# plus the instruction and the code below will help you quickly learn how to create full featured screen capturing app. In your C# project or application you may simply copy & paste the code and then run your app! You can use these C# sample examples in one or many applications.ByteScout free trial version is available for download from our website. It includes all these programming tutorials along with source code samples. CapturingThread.cs using System;using System.Drawing;using System.IO;using System.Runtime.InteropServices;using System.Threading;using System.Windows.Forms;using BytescoutScreenCapturingLib;// NOTE: if you are getting error like "invalid image" related to loading the SDK's dll then // try to do the following:// 1) remove the reference to the SDK by View - Solution Explorer// then click on References, select Bytescout... reference name and right-click it and select Remove// 2) To re-add click on the menu: Project - Add Reference// 3) In "Add Reference" dialog switch to "COM" tab and find Bytescout...// 4) Select it and click "Add" // 5) Recompile the application // Note: if you need to run on both x64 and x86 then please make sure you have set "Embed Interop Types" to True for this referencenamespace ScreenCapturing{ public class CapturingThreadData { public CaptureAreaType CaptureType; public String TempFile; public Rectangle CaptureRectangle; public bool ShowWebCamStream; public int Result = 0; // 0 - success; 1 - error public string ErrorText; } public class CapturingThread { public static void ThreadProc(Object obj) { Capturer capturer = new Capturer(); // create new screen capturer object CapturingThreadData data = (CapturingThreadData) obj; if (Program.Cfg.WriteLog) capturer.SetLogFile(Path.GetTempPath() + Application.ProductName + " log.txt"); capturer.RegistrationName = "demo"; capturer.RegistrationKey = "demo"; if (Program.Cfg.AudioDevice != "") { capturer.CurrentAudioDeviceName = Program.Cfg.AudioDevice; } if (Program.Cfg.AudioLine != "") { capturer.CurrentAudioDeviceLineName = Program.Cfg.AudioLine; } if (Program.Cfg.SelectedVideoCodecTab == 0) { capturer.CurrentWMVAudioCodecName = Program.Cfg.WmvAudioCodec; capturer.CurrentWMVAudioFormat = Program.Cfg.WmvAudioFormat; capturer.CurrentWMVVideoCodecName = Program.Cfg.WmvVideoCodec; Program.Cfg.WmvAudioCodec = capturer.CurrentWMVAudioCodecName; Program.Cfg.WmvAudioFormat = capturer.CurrentWMVAudioFormat; Program.Cfg.WmvVideoCodec = capturer.CurrentWMVVideoCodecName; } else { capturer.CurrentAudioCodecName = Program.Cfg.AviAudioCodec; capturer.CurrentVideoCodecName = Program.Cfg.AviVideoCodec; } capturer.AudioEnabled = Program.Cfg.EnableAudio; // this option tells to use captured area dimensions as output video width/height // or use user defined video dimensions capturer.MatchOutputSizeToTheSourceSize = !Program.Cfg.ResizeOutputVideo; capturer.FPS = Program.Cfg.FPS; capturer.ShowMouseHotSpot = Program.Cfg.ShowMouseHotSpot; capturer.CaptureMouseCursor = Program.Cfg.CaptureMouseCursor; capturer.AnimateMouseClicks = Program.Cfg.AnimateMouseClicks; capturer.AnimateMouseButtons = Program.Cfg.AnimateMouseButtons; capturer.MouseAnimationDuration = Program.Cfg.MouseAnimationDuration; capturer.MouseSpotRadius = Program.Cfg.MouseSpotRadius; capturer.MouseHotSpotColor = (uint) ColorTranslator.ToOle(Program.Cfg.MouseHotSpotColor); capturer.MouseCursorLeftClickAnimationColor = (uint) ColorTranslator.ToOle(Program.Cfg.MouseCursorLeftClickAnimationColor); capturer.MouseCursorRightClickAnimationColor = (uint) ColorTranslator.ToOle(Program.Cfg.MouseCursorRightClickAnimationColor); capturer.CaptureRectLeft = data.CaptureRectangle.Left; capturer.CaptureRectTop = data.CaptureRectangle.Top; capturer.CaptureRectWidth = Continuous learning is a crucial part of computer science and this tutorial shows how to merge AVI video files in C#The code displayed below will guide you to install an C# app to merge AVI video files. ByteScout Screen Capturing SDK: the tool for developers who want to add screen capturing in their application. Can record screen into video and into single screenshots. Output formats are WMV, AVI, WebM for video and PNG for screenshots. You can adjust output video size, quality, resolution, framerate, video and audio codecs. Includes special privacy features for blacking out sensitive information on screen. Can also capture video from web camera, can add overlays with text or images. It can merge AVI video files in C#.Want to quickly learn? This fast application programming interfaces of ByteScout Screen Capturing SDK for C# plus the guidelines and the code below will help you quickly learn how to merge AVI video files. Just copy and paste the code into your C# application’s code and follow the instructions. Further improvement of the code will make it more robust.Trial version of ByteScout Screen Capturing SDK is available for free. Source code samples are included to help you with your C# app. MergeAVIVideos.VS2005.csproj Debug AnyCPU 8.0.50727 2.0 {21F1C67C-7C5A-46F4-ADB8-84FC70E99969} Exe Properties MergeAVIVideos MergeAVIVideos true full false bin\Debug\ DEBUG;TRACE prompt 4 pdbonly true bin\Release\ TRACE prompt 4 {8EDAD3BB-AE5F-43B4-A2F1-B04F4130F2E0} 1 0 0 tlbimp False True {00020430-0000-0000-C000-000000000046} 2 0 0 primary False Always Always --> ON-PREMISE OFFLINE SDKON-DEMAND REST WEB API MergeAVIVideos.VS2008.csproj Debug AnyCPU 9.0.21022 2.0 {21F1C67C-7C5A-46F4-ADB8-84FC70E99969} Exe Properties MergeAVIVideos MergeAVIVideos 2.0 v3.5 true full false bin\Debug\ DEBUG;TRACE prompt 4 pdbonly true bin\Release\ TRACE prompt 4 {8EDAD3BB-AE5F-43B4-A2F1-B04F4130F2E0} 1 0 0 tlbimp False True {00020430-0000-0000-C000-000000000046} 2 0 0 primary False Always Always --> ON-PREMISE OFFLINE SDKON-DEMAND REST WEB API MergeAVIVideos.VS2010.csproj Debug AnyCPU 2.0 {21F1C67C-7C5A-46F4-ADB8-84FC70E99969} Exe PropertiesByteScout Screen Capturing SDK - VB.NET - Capture Screen
This code in C# shows how to make full screen recording demo 2 with text and images overlay with this how to tutorialLearn how to make full screen recording demo 2 with text and images overlay in C# with this source code sample. ByteScout Screen Capturing SDK is the SDK for developers for quick implementation of screen video recording. The SDK records screen into video or into a series of screenshots. Can also record audio. Saves video into AVI,WMV and Google’s WebM. Output video quality, size, resolution or framerate can be adjusted easily. Provides additional tools for privacy features like blacking out on scren areas with sensitive information on screen right during recording. Supports web camera as input and can add instant text and images into video output and you can use it to make full screen recording demo 2 with text and images overlay with C#.The SDK samples like this one below explain how to quickly make your application do make full screen recording demo 2 with text and images overlay in C# with the help of ByteScout Screen Capturing SDK. Just copy and paste the code into your C# application’s code and follow the instruction. Code testing will allow the function to be tested and work properly with your data.Our website provides trial version of ByteScout Screen Capturing SDK for free. It also includes documentation and source code samples. Form1.Designer.cs namespace ScreenCapturingClient{ partial class Form1 { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.pnlPreview = new System.Windows.Forms.Panel(); this.cmbWebCam = new System.Windows.Forms.ComboBox(); this.label22 = new System.Windows.Forms.Label(); this.nmMotionSensitivity = new System.Windows.Forms.NumericUpDown(); this.label21 = new System.Windows.Forms.Label(); this.nmMotionInterval = new System.Windows.Forms.NumericUpDown(); this.label20 = new System.Windows.Forms.Label(); this.cmbMotionDetectionGitHub - bytescout/screen-capturing-sdk-samples: ByteScout
CaptureAreaType.catScreen ' output video filename capturer.OutputFileName = "LowFPS.wmv" ' set output video filename to .WMV or .AVI file ' set width and height of output video capturer.OutputWidth = 640 capturer.OutputHeight = 480 ' // WMV and WEBM output use WMVVideoBitrate property to control output video bitrate ' // so try to increase it by x2 or x3 times if you think the output video are you are getting is laggy ' capturer.WMVVideoBitrate = capturer.WMVVideoBitrate * 2 ' set WMV video codec to Windows Media Video 9 Screen that gives best quality/size ratio when recording from screen capturer.CurrentWMVVideoCodecName = "Windows Media Video 9 Screen" ' disable audio so we will have a video only (and the lowest wmv file size as possible: about 20 kb per 1 second, about 70 mb per 1 hour capturer.AudioEnabled = False ' set FPS to 0.5 fps (1 frame per every 2 seconds) ' you may also want to set to 1 fps (1 frame per 1 second or higher) capturer.FPS = 0.50 ' set the text overlay with autochanging time stamp macros to indicate playing time and current date time capturer.OverlayingRedTextCaption = "Recording: {RUNNINGMIN}:{RUNNINGSEC}:{RUNNINGMSEC} on {CURRENTYEAR}-{CURRENTMONTH}-{CURRENTDAY} at {CURRENTHOUR}:{CURRENTMIN}:{CURRENTSEC}:{CURRENTMSEC}" ' uncomment to enable recording of semitransparent or layered windows (Warning: may cause mouse cursor flickering) ' capturer.CaptureTransparentControls = true ' uncomment to set Bytescout Lossless Video format output video compression method ' do not forget to set file to .avi format if you use Video Codec Name ' capturer.CurrentVideoCodecName = "Bytescout Lossless" ' start capturing. capturer.Run() ' IMPORTANT: if you want to check for some code if need to stop the recording then make sure you are ' using Thread.Sleep(1) inside the checking loop, so you have the loop like ' Do ' Thread.Sleep(1) ' While StopButtonNotClicked Console.WriteLine("Capturing entire screen for 5 seconds...") ' wait for 5 seconds Thread.Sleep(5000) ' stop capturing and flush AVI video file into the disk capturer.Stop() ' Release(Resources) System.Runtime.InteropServices.Marshal.ReleaseComObject(capturer) capturer = Nothing Console.WriteLine("Done.") ' open the output video Process.Start("LowFPS.wmv") End SubEnd Module. Download Bytescout Post2Blog for free. Bytescout Post2Blog is a blog editor for the WordPress, Typepad, Movable type and other platforms. such as Bytescout.PDF, Bytescout Watermarking PRO or Bytescout Watermarking, Bytescout Screen Capturing SDK. Screen Capture. Bytescout Screen Capturing. Screen Capture. Latest updates. QZ Tray.Bytescout Screen Capturing SDK Free Download. ByteScout
Free Trial Version BenefitsExplore full functionality during 60 daysGet free tech support: submit a ticket to get help with setup, proof of concept, coding;Contact us to extend your trial if you need more time;For a separate single products downloads just scroll down or click here Why choose ByteScout? Sophisticated Technologies Developer-friendly interface Source Code Apps and Documentation How ByteScout can help youWe can code a proof of concept for you if you’re not sure our SDK will work exactly as you need it to.We will help you with the implementation. As a developer, you need to learn new coding constantly. We can make your life a little easier, just tell us what help you will need.We have a HUGE library of SDKs and source codes for you. Just tell us what you want our SDKs to do, and we’ll show you to the right source codes! Requirements:Windows 10 or higher700 MB of free spaceInternet connection (for downloading of separate products) Uninstallation instructionsTo uninstall previously installed ByteScout please follow these steps:Open Control Panel;Select “Uninstall a Program”;Find and click the application (look for the name starting with “Bytescout…” in the list;Click Uninstall to run the Uninstaller.Follow the uninstaller’s instructions to remove the software. Suites (2+ product bundles)(multiple products)PRODUCT NAMEDOWNLOAD LINKINFODirect Product Downloads (direct download links for every single product)PRODUCT NAMEDIRECT DOWNLOAD LINKINFOPDF Generator SDK for Javascript and Mobile JS bytescoutpdfjs.zipRelease Notes – EULA-->Image To Video SDK for Windows BytescoutImageToVideoSDK.exeRelease Notes – EULA-->Screen Capturing SDK for Windows BytescoutScreenCapturingSDK.exeRelease Notes – EULA-->Invoice Parser SDK InvoiceParserSDK.exeRelease Notes – EULA-->Watermarking SDK for Windows WatermarkingSDK.exeRelease Notes – EULA-->Desktop Utilities (For Windows)PRODUCT NAMEDOWNLOAD LINKINFOFree Online Apps (Barcode Reader, SQL Trainer, JS Playground, Lines Sorter, and others) REGISTERED USERS:Use the FULL version download link from your original registration information e-mail to download your software or version updateFREEWARE SOFTWARE:Freeware software download is available at freeware products download page( PDF Multitool, Watermarking Lite, Movies Extractor Scout, XLS Viewer, BarCode Generator, BarCode Reader, PDF Viewer, Post2Blog, Movies Extractor Scout Lite, Internet Research Scout, Safe E-Mail Links Scout, SWF Printer Pro, and other freeware tools)Comments
This code in VB.NET shows how to set low FPS to get min file size for screen video with this how to tutorialWe made thousands of pre-made source code pieces for easy implementation in your own programming projects. ByteScout Screen Capturing SDK is the SDK for developers for quick implementation of screen video recording. The SDK records screen into video or into a series of screenshots. Can also record audio. Saves video into AVI,WMV and Google’s WebM. Output video quality, size, resolution or framerate can be adjusted easily. Provides additional tools for privacy features like blacking out on scren areas with sensitive information on screen right during recording. Supports web camera as input and can add instant text and images into video output. It can set low FPS to get min file size for screen video in VB.NET.VB.NET code samples for VB.NET developers help to speed up coding of your application when using ByteScout Screen Capturing SDK. Follow the instructions from the scratch to work and copy the VB.NET code. Further enhancement of the code will make it more vigorous.Download free trial version of ByteScout Screen Capturing SDK from our website with this and other source code samples for VB.NET. Imports System.ThreadingImports System.DiagnosticsImports BytescoutScreenCapturingLib ' import bytescout screen capturer activex object' NOTE: if you are getting error like "invalid image" related to loading the SDK's dll then ' try to do the following:' 1) remove the reference to the SDK by View - Solution Explorer' then click on References, select Bytescout... reference name and right-click it and select Remove' 2) To re-add click on the menu: Project - Add Reference' 3) In "Add Reference" dialog switch to "COM" tab and find Bytescout...' 4) Select it and click "Add" ' 5) Recompile the application ' Note: if you need to run on both x64 and x86 then please make sure you have set "Embed Interop Types" to True for this referenceModule Module1 Sub Main() ' create capturer class Dim capturer As New Capturer() ' set capturing area to the region type (to capture from given region on the screen) capturer.CapturingType =
2025-04-15Of the service starting.3. Enhanced the driver connection security check.4. Fixed the issue which the user access rights not working correctly. Software: EaseFilter Process Filter Driver SDK 4.5.6.3 Date Released: Nov 1, 2019 Status: New Release Release Notes: new release Most popular Components & Libraries downloads for Vista .NET My Frame Panel 2.20 download by Namtuk This .net component let you add visual panel like Vista, Aqua, XP, Office, ... type: Demo ($69.00) categories: panel, frame, group, control, .NET, Aqua, gradient, csharp, vista, office, component View Details Download Portable Jutoh 3.23.0 download by Anthemion Software Portable Jutoh: Versatile eBook creation tool for Windows, ideal for authors. View Details Download Bytescout Screen Capturing SDK 2.56.1044 download by ByteScout, Inc Screen Capturing SDK records desktop to WMV, AVI video in VB, C#, C++ apps type: Demo ($1 499.99) categories: screen capturing, capture screen, capture screen video, directshow, record screen, screen recording, screen video recording, video recording, record screen video, record desktop, capture desktop, c++, bytescout View Details Download SMTP/POP3/IMAP Email Component Library for Visual Basic 8.6 download by MarshallSoft Computing Robust email component library for Visual Basic supporting SMTP, POP3, and IMAP. View Details Download Free Fingerprint Verification SDK 1.0.0.2 download by Neurotechnology Freeware SDK and .NET components for biometric application development type: Freeware categories: free, fingerprint, verification, SDK, recognition, matching, biometric, biometrical, Windows, security, scan, authentication, logon, access control, attendance control View Details Download
2025-03-27Recording video from a given window or an application, the code samples:The code samples below demonstrate how to use Screen Capturing SDK to autmatically record video from a given window or an application. The property .WindowToCapture is used to define the window title search string. In these samples below we are recording video from the Internet Explorer browser by setting .WindowToCapture = “Internet Explorer”. Sound for the video is recorded from the default recording line by default (if user can record voice comments then you should change audio line to Mic line source)1) Visual Basic .NET Create new VB.NET Console project in Visual Studio. Click Project | Add Reference.. and add the reference to Bytescout Screen Capturing Lib on the COM tab and click OK. Then use the code snippet below. IMPORTANT: before running this sample run Internet Explorer browser (this sample will record video from the IE browser).Imports System.ThreadingImports System.DiagnosticsImports BytescoutScreenCapturingLib ' import bytescout screen capturer activex objectModule Module1 Sub Main() ' create capturer class Dim capturer As New CapturerClass() ' set capturing area to the region type (to capture from given region on the screen) capturer.CapturingType = CaptureAreaType.catWindow ' output video filename capturer.OutputFileName = "CaptureGivenWindow.avi" ' set the window to capture from MsgBox("Please run Internet Explorer (this sample will capture video from IE) and click OK") ' set the title (or name) of the window to capture from capturer.WindowToCapture = "Internet Explorer" ' set width and height of output video capturer.OutputWidth = 320 capturer.OutputHeight = 240 ' start capturing capturer.Run() ' wait for 20 seconds Thread.Sleep(20000) ' stop capturing and flush AVI video file into the disk capturer.Stop() ' open the output video Process.Start("CaptureGivenWindow.avi") End SubEnd Module2) Visual C# .NET Create new C# Console project in Visual Studio. Click Project | Add Reference.. and add the reference to Bytescout Screen Capturing Lib on the COM tab and click OK. Then use the code snippet below. IMPORTANT: before running this sample run Internet Explorer browser (this sample will record video from the IE browser). using System;using System.Collections.Generic;using System.Text;using System.Threading;using System.Diagnostics;using System.Windows.Forms;using BytescoutScreenCapturingLib; // import bytescout screen capturing activex objectnamespace SimpleCaptureCSharp{ class Program { static void Main(string[] args) { CapturerClass capturer = new CapturerClass(); // create new screen capturer object capturer.CapturingType = CaptureAreaType.catWindow; // set capturing area type to Mouse type (to record from the given area near the mouse) capturer.OutputFileName = "GivenWindowCaptured.avi"; // set output video filename // set window to capture MessageBox.Show("Please run Internet Explorer (this sample will capture video from IE) and click OK"); // set window to capture to Internet Explorer to capture video from Internet Explorer capturer.WindowToCapture = "Internet Explorer"; // set output video width and height capturer.OutputWidth = 320; capturer.OutputHeight = 240; capturer.Run(); // run screen video capturing Thread.Sleep(15000); // wait for 15 seconds capturer.Stop(); // stop video capturing Process.Start("GivenWindowCaptured.avi"); } }}3) Visual Basic 6 and VBScript (VBS) IMPORTANT: before running this sample run Internet Explorer browser (this sample will record video from the IE browser). ' create video capturer activex object Set capturer
2025-04-01How to create full featured screen capturing app in C#These sample source codes on this page below are demonstrating how to create full featured screen capturing app in C#. What is ByteScout Screen Capturing SDK? It is the screen video recording SDK helps in quick implementation of screen video recording. WMV, AVI, WebM output options are available with adjustable quality, video size, framerate and video and audio codec. Includes special features like live multiple blacking out of selected areas, recording from web cam as main source and as overlay, optional watermarks for output video. It can help you to create full featured screen capturing app in your C# application.Fast application programming interfaces of ByteScout Screen Capturing SDK for C# plus the instruction and the code below will help you quickly learn how to create full featured screen capturing app. In your C# project or application you may simply copy & paste the code and then run your app! You can use these C# sample examples in one or many applications.ByteScout free trial version is available for download from our website. It includes all these programming tutorials along with source code samples. CapturingThread.cs using System;using System.Drawing;using System.IO;using System.Runtime.InteropServices;using System.Threading;using System.Windows.Forms;using BytescoutScreenCapturingLib;// NOTE: if you are getting error like "invalid image" related to loading the SDK's dll then // try to do the following:// 1) remove the reference to the SDK by View - Solution Explorer// then click on References, select Bytescout... reference name and right-click it and select Remove// 2) To re-add click on the menu: Project - Add Reference// 3) In "Add Reference" dialog switch to "COM" tab and find Bytescout...// 4) Select it and click "Add" // 5) Recompile the application // Note: if you need to run on both x64 and x86 then please make sure you have set "Embed Interop Types" to True for this referencenamespace ScreenCapturing{ public class CapturingThreadData { public CaptureAreaType CaptureType; public String TempFile; public Rectangle CaptureRectangle; public bool ShowWebCamStream; public int Result = 0; // 0 - success; 1 - error public string ErrorText; } public class CapturingThread { public static void ThreadProc(Object obj) { Capturer capturer = new Capturer(); // create new screen capturer object CapturingThreadData data = (CapturingThreadData) obj; if (Program.Cfg.WriteLog) capturer.SetLogFile(Path.GetTempPath() + Application.ProductName + " log.txt"); capturer.RegistrationName = "demo"; capturer.RegistrationKey = "demo"; if (Program.Cfg.AudioDevice != "") { capturer.CurrentAudioDeviceName = Program.Cfg.AudioDevice; } if (Program.Cfg.AudioLine != "") { capturer.CurrentAudioDeviceLineName = Program.Cfg.AudioLine; } if (Program.Cfg.SelectedVideoCodecTab == 0) { capturer.CurrentWMVAudioCodecName = Program.Cfg.WmvAudioCodec; capturer.CurrentWMVAudioFormat = Program.Cfg.WmvAudioFormat; capturer.CurrentWMVVideoCodecName = Program.Cfg.WmvVideoCodec; Program.Cfg.WmvAudioCodec = capturer.CurrentWMVAudioCodecName; Program.Cfg.WmvAudioFormat = capturer.CurrentWMVAudioFormat; Program.Cfg.WmvVideoCodec = capturer.CurrentWMVVideoCodecName; } else { capturer.CurrentAudioCodecName = Program.Cfg.AviAudioCodec; capturer.CurrentVideoCodecName = Program.Cfg.AviVideoCodec; } capturer.AudioEnabled = Program.Cfg.EnableAudio; // this option tells to use captured area dimensions as output video width/height // or use user defined video dimensions capturer.MatchOutputSizeToTheSourceSize = !Program.Cfg.ResizeOutputVideo; capturer.FPS = Program.Cfg.FPS; capturer.ShowMouseHotSpot = Program.Cfg.ShowMouseHotSpot; capturer.CaptureMouseCursor = Program.Cfg.CaptureMouseCursor; capturer.AnimateMouseClicks = Program.Cfg.AnimateMouseClicks; capturer.AnimateMouseButtons = Program.Cfg.AnimateMouseButtons; capturer.MouseAnimationDuration = Program.Cfg.MouseAnimationDuration; capturer.MouseSpotRadius = Program.Cfg.MouseSpotRadius; capturer.MouseHotSpotColor = (uint) ColorTranslator.ToOle(Program.Cfg.MouseHotSpotColor); capturer.MouseCursorLeftClickAnimationColor = (uint) ColorTranslator.ToOle(Program.Cfg.MouseCursorLeftClickAnimationColor); capturer.MouseCursorRightClickAnimationColor = (uint) ColorTranslator.ToOle(Program.Cfg.MouseCursorRightClickAnimationColor); capturer.CaptureRectLeft = data.CaptureRectangle.Left; capturer.CaptureRectTop = data.CaptureRectangle.Top; capturer.CaptureRectWidth =
2025-04-03Continuous learning is a crucial part of computer science and this tutorial shows how to merge AVI video files in C#The code displayed below will guide you to install an C# app to merge AVI video files. ByteScout Screen Capturing SDK: the tool for developers who want to add screen capturing in their application. Can record screen into video and into single screenshots. Output formats are WMV, AVI, WebM for video and PNG for screenshots. You can adjust output video size, quality, resolution, framerate, video and audio codecs. Includes special privacy features for blacking out sensitive information on screen. Can also capture video from web camera, can add overlays with text or images. It can merge AVI video files in C#.Want to quickly learn? This fast application programming interfaces of ByteScout Screen Capturing SDK for C# plus the guidelines and the code below will help you quickly learn how to merge AVI video files. Just copy and paste the code into your C# application’s code and follow the instructions. Further improvement of the code will make it more robust.Trial version of ByteScout Screen Capturing SDK is available for free. Source code samples are included to help you with your C# app. MergeAVIVideos.VS2005.csproj Debug AnyCPU 8.0.50727 2.0 {21F1C67C-7C5A-46F4-ADB8-84FC70E99969} Exe Properties MergeAVIVideos MergeAVIVideos true full false bin\Debug\ DEBUG;TRACE prompt 4 pdbonly true bin\Release\ TRACE prompt 4 {8EDAD3BB-AE5F-43B4-A2F1-B04F4130F2E0} 1 0 0 tlbimp False True {00020430-0000-0000-C000-000000000046} 2 0 0 primary False Always Always --> ON-PREMISE OFFLINE SDKON-DEMAND REST WEB API MergeAVIVideos.VS2008.csproj Debug AnyCPU 9.0.21022 2.0 {21F1C67C-7C5A-46F4-ADB8-84FC70E99969} Exe Properties MergeAVIVideos MergeAVIVideos 2.0 v3.5 true full false bin\Debug\ DEBUG;TRACE prompt 4 pdbonly true bin\Release\ TRACE prompt 4 {8EDAD3BB-AE5F-43B4-A2F1-B04F4130F2E0} 1 0 0 tlbimp False True {00020430-0000-0000-C000-000000000046} 2 0 0 primary False Always Always --> ON-PREMISE OFFLINE SDKON-DEMAND REST WEB API MergeAVIVideos.VS2010.csproj Debug AnyCPU 2.0 {21F1C67C-7C5A-46F4-ADB8-84FC70E99969} Exe Properties
2025-04-12This code in C# shows how to make full screen recording demo 2 with text and images overlay with this how to tutorialLearn how to make full screen recording demo 2 with text and images overlay in C# with this source code sample. ByteScout Screen Capturing SDK is the SDK for developers for quick implementation of screen video recording. The SDK records screen into video or into a series of screenshots. Can also record audio. Saves video into AVI,WMV and Google’s WebM. Output video quality, size, resolution or framerate can be adjusted easily. Provides additional tools for privacy features like blacking out on scren areas with sensitive information on screen right during recording. Supports web camera as input and can add instant text and images into video output and you can use it to make full screen recording demo 2 with text and images overlay with C#.The SDK samples like this one below explain how to quickly make your application do make full screen recording demo 2 with text and images overlay in C# with the help of ByteScout Screen Capturing SDK. Just copy and paste the code into your C# application’s code and follow the instruction. Code testing will allow the function to be tested and work properly with your data.Our website provides trial version of ByteScout Screen Capturing SDK for free. It also includes documentation and source code samples. Form1.Designer.cs namespace ScreenCapturingClient{ partial class Form1 { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.pnlPreview = new System.Windows.Forms.Panel(); this.cmbWebCam = new System.Windows.Forms.ComboBox(); this.label22 = new System.Windows.Forms.Label(); this.nmMotionSensitivity = new System.Windows.Forms.NumericUpDown(); this.label21 = new System.Windows.Forms.Label(); this.nmMotionInterval = new System.Windows.Forms.NumericUpDown(); this.label20 = new System.Windows.Forms.Label(); this.cmbMotionDetection
2025-03-28