Every ByteScout tool contains example Java source codes that you can find here or in the folder with installed ByteScout product. ByteScout Screen Capturing SDK can record screen video. It can be used from Java. ByteScout Screen Capturing SDK 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.
You will save a lot of time on writing and testing code as you may just take the Java code from ByteScout Screen Capturing SDK for record screen video below and use it in your application. Follow the instructions from the scratch to work and copy the Java code. Enjoy writing a code with ready-to-use sample codes in Java.
You can download free trial version of ByteScout Screen Capturing SDK from our website to see and try many others source code samples for Java.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
If you are running your Java application on Windows then you may use Screen Capturing SDK from Java using the Jacob library ( you may get it from http://danadler.com/jacob/ ) The final code (using Jacob) code should look like this import com.ms.com.*; import com.ms.activeX.*; public class DispatchTest { public static void main(String[] args) { ActiveXComponent captureLib = new ActiveXComponent("BytescoutScreenCapturing.Capturer"); Object capturer = captureLib.getObject(); try { // output file name Dispatch.put(capturer, "OutputFileName", "EntireScreenCaptured.wmv"); // output width Dispatch.put(capturer, "OutputWidth", 640); // output height Dispatch.put(capturer, "OutputHeight", 480); // setting the capturing type to 3 (entire screen) Dispatch.put(capturer, "CapturingType", 3); // run the recording Variant f = new Variant(false); Dispatch.call(workbook, "Run", f); // record for 5 seconds Thread.sleep(4000); } catch (Exception e) { e.printStackTrace(); } finally { ; } } }
60 Day Free Trial or Visit ByteScout Screen Capturing SDK Home Page
Explore ByteScout Screen Capturing SDK Documentation
Explore Samples
Sign Up for ByteScout Screen Capturing SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
/* If you are running your Java application on Windows then you may use Screen Capturing SDK from Java using the Jacob library ( you may get it from http://danadler.com/jacob/ ) The final code (using Jacob) code should look like this */ import com.ms.com.*; import com.ms.activeX.*; public class DispatchTest { public static void main(String[] args) { ActiveXComponent captureLib = new ActiveXComponent("BytescoutScreenCapturing.Capturer"); Object capturer = captureLib.getObject(); try { // output file name Dispatch.put(capturer, "OutputFileName", "EntireScreenCaptured.wmv"); // output width Dispatch.put(capturer, "OutputWidth", 640); // output height Dispatch.put(capturer, "OutputHeight", 480); // setting the capturing type to 3 (entire screen) Dispatch.put(capturer, "CapturingType", 3); // run the recording Variant f = new Variant(false); Dispatch.call(workbook, "Run", f); // record for 5 seconds Thread.sleep(4000); } catch (Exception e) { e.printStackTrace(); } finally { ; } } }
60 Day Free Trial or Visit ByteScout Screen Capturing SDK Home Page
Explore ByteScout Screen Capturing SDK Documentation
Explore Samples
Sign Up for ByteScout Screen Capturing SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Screen Capturing SDK Home Page
Explore ByteScout Screen Capturing SDK Documentation
Explore Samples
Sign Up for ByteScout Screen Capturing SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples