OpenScreenLapser is a software to make timelapse video of your screen written in Python. It works by taking screenshots of your screen at any defined time intervals automatically then combine them into one video.
There are four main features in OpenScreenLapser.
- Interval time screenshots: You can define every what second that OpenScreenLapser will capture your screen and save it to any directory you choose.
- Webcam: If you have a webcam, you can take photos from your webcam and directly put on top of the screenshots.
- Timelapse video: Directly build timelapse video after taking screenshots.
- Webcam layout: You can choose where to put your webcam photo on the screenshots.
It is necessary for you to have these libraries.
Except for FFmpeg, you can run this command to install dependencies.
$ pip install -r requirements.txt
To build using Docker, you have to install Docker first, naturally.
OpenScreenLapser Docker uses Ubuntu 16.04 image as its base. Pull it.
$ docker pull ubuntu:16.04
Now build a Docker image that will automatically build a debian package of OpenScreenLapser. You can see Dockerfile for more detail.
$ docker build -t osl_image .
Create the container and copy the debian package from the container to the host.
$ docker create --name osl_container osl_image
$ docker cp osl_container:/app/deb_dist/ .
You can find the debian package inside deb_dist
directory.
To build using stdeb, you have to install stdeb, naturally.
After installing stdeb, run this command to build.
$ python setup.py --command-packages=stdeb.command bdist_deb
You can find the debian package inside deb_dist
directory.
Before installing, you need to install dependencies.
$ pip install pyscreenshot ffmpeg-python
NOTE: We're currently having problem building the debian package because it depends on Python libraries from PyPi which do not exist in standard Linux repository. Therefore, you have to manually install it first. Any contribution regarding this is highly appreciated.
Add this PPA to your system's Software Sources and install.
$ sudo add-apt-repository ppa:tybantarnusa/ppa
$ sudo apt-get update
$ sudo apt-get install openscreenlapser
First, you have to get the debian package. You can build from source or download releases.
Execute the .deb package to install.
$ sudo dpkg -i openscreenlapser_{version}_all.deb
$ sudo apt-get install -f
Running tests is done using Python unittest and coverage.
$ coverage run -m unittest discover
This project is licensed under the Apache License 2.0. See LICENSE for more information.
- Fork it,
- Create your feature branch,
- Commit your changes,
- Push to the branch,
- Create a new Pull Request.