Skip to main content


User since Oct 28, 2022
1 Posts

Post Statistics

Recent Posts

0 likes • Jan 23, 2021
Take screenshots at x interval - make a movie of doings on a computer.
import time
from datetime import datetime
import ffmpeg
import pyautogui
while True:
epoch_time = int(time.time())
today ="%Y_%m_%d")
filename = str(epoch_time) + ".png"
print("taking screenshot: {0}".format(filename))
myScreenshot = pyautogui.screenshot() + "/" + filename)
# and then tie it together with:
import ffmpeg
.input('./2021_01_22/*.png', pattern_type='glob', framerate=25)
.filter('deflicker', mode='pm', size=10)
.filter('scale', size='hd1080', force_original_aspect_ratio='increase')
.output('movie.mp4', crf=20, preset='slower', movflags='faststart', pix_fmt='yuv420p')


No Posts Found

It looks like asnark hasn't uploaded a post yet


Please Log In

You must be authenticated to view a user's likes

Profile Privacy

Change Password

Forgot Password?

Multi-Factor Authentication

Multi-Factor Authentication (MFA) is an authentication method that requires you to provide two or more verification factors to gain access to your account. In addition to username and password, MFA requires you to verify your email on every login, which decreases the likelihood of someone stealing your account.

Delete Account

Deleting your account is permanent. All data associated with your account will be lost.