# Screen Recording Lags

**URL:** <https://discourse.processing.org/t/screen-recording-lags/22648>\
**Category:** Processing\
**Created:** [July 16, 2020, 1:54am UTC](https://discourse.processing.org/t/screen-recording-lags/22648 "2020-07-16T01:54:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [July 18, 2020, 1:06pm UTC](https://discourse.processing.org/t/screen-recording-lags/22648/3 "2020-07-18T13:06:12Z")

</div>

Hello,

I use the Processing Movie Maker:

> **[Tools](https://processing.org/reference/tools/)**
>
> The following tools are included with the Processing software. Select the tool you want to use from the Tools menu of the Processing Environment. These tools are open source; the code is distributed w…

See the tools menu in the Processing PDE.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/4/4c1b5d214c4ac9a6857c1cac0dbb733142448c27.png)

And make a movie (rendering) of sequential frames:

> **[saveFrame() / Reference](https://processing.org/reference/saveFrame_.html)**
>
> Saves a numbered sequence of images, one image each time the function is run. To save an image that is identical to the display window, run the function at the end of draw() or within mouse and…

Make sure to add control to the saving of frames otherwise you are saving a lot of images every time you run the code.

A couple of references:

- [Making Videos from Processing Sketches · Sighack](https://sighack.com/post/make-videos-from-processing-sketches)
- [25 life-saving tips for Processing | Amnon P5 - Experiments with Processing by Amnon Owed](https://amnonp5.wordpress.com/2012/01/28/25-life-saving-tips-for-processing/)  
See tip #7.
- [Creating Animated GIFs in Processing](https://discourse.processing.org/t/creating-animated-gifs-in-processing/12386)  
If you want to create animated gifs.

There are many more!

When I do _screen capture_ I make sure to get past the “hiccups” before I capture my sketches:

> [@FrameRate hiccups](https://discourse.processing.org/t/framerate-hiccups/11947/8):
>
> I threw together some code to visualize the hiccups; they are within the first 15 seconds (repeatable) and after that it is a rock solid 59 to 60 fps (green). The bottom row is first 15 seconds (up to vertical line) and then it keeps plotting framerate and moves up a row at a time: The glitch on top row is when I used “Snipping Tool”. I went through many of my apps to see what cause hiccups (frame rate drops) and was very surprised! Some had no impact and others significant. I’ll …

Also make sure other things are not running in background that may impact frame rate if doing a _screen capture_.  
Starting Chrome always impacts the frame rate for me as well as some other applications.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/screen-recording-lags/22648)._
