Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can use ffmpeg wrapper in Java - <a href="http://wiki.xuggle.com/MediaTool_Introduction#How_To_Take_Snapshots_Of_Your_Desktop" rel="nofollow noreferrer">Xuggler</a> and builtin Java <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Robot.html" rel="nofollow noreferrer">Robot</a> class. Here is sample code with Xuggler.</p> <pre><code>final Robot robot = new Robot(); final Toolkit toolkit = Toolkit.getDefaultToolkit(); final Rectangle screenBounds = new Rectangle(toolkit.getScreenSize()); // First, let's make a IMediaWriter to write the file. final IMediaWriter writer = ToolFactory.makeWriter("output.mp4"); // We tell it we're going to add one video stream, with id 0, // at position 0, and that it will have a fixed frame rate of // FRAME_RATE. writer.addVideoStream(0, 0, FRAME_RATE, screenBounds.width, screenBounds.height); // Now, we're going to loop long startTime = System.nanoTime(); for (int index = 0; index &lt; SECONDS_TO_RUN_FOR*FRAME_RATE.getDouble(); index++) { // take the screen shot BufferedImage screen = robot.createScreenCapture(screenBounds); // convert to the right image type BufferedImage bgrScreen = convertToType(screen, BufferedImage.TYPE_3BYTE_BGR); // encode the image to stream #0 writer.encodeVideo(0,bgrScreen, System.nanoTime()-startTime, TimeUnit.NANOSECONDS); System.out.println("encoded image: " +index); // sleep for framerate milliseconds Thread.sleep((long) (1000 / FRAME_RATE.getDouble())); } // Finally we tell the writer to close and write the trailer if // needed writer.close(); </code></pre> <p>Another option is <a href="http://www.screentoaster.com/" rel="nofollow noreferrer">Screentoaster</a> site - but I'm note sure what frame rate it provide.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload