An open API service indexing awesome lists of open source software.

https://github.com/wkaisertexas/timelapse

create screen and camera time-lapses through a MacOS menu bar app
https://github.com/wkaisertexas/timelapse

ffmpeg opencv python rumps

Last synced: 2 months ago
JSON representation

create screen and camera time-lapses through a MacOS menu bar app

Awesome Lists containing this project

README

          

# TimeLapse - Record your camera or screen


Check out the newer version of this repository written as a Native Application in Swift



Uses FFMPEG to take continual screenshots of your screen to make great time lapses. Originally intended for programming / creative projects to show what is required.

## Making the project

![TimeLapse of Me Creating This Project](https://img.youtube.com/vi/hjKidbt-Ad4/0.jpg)

#### [Click here to Watch](https://www.youtube.com/watch?v=hjKidbt-Ad4)

## Installation

### Install the required dependencies
```sh
$ python -m pip install -r requirements.txt
```

### Install the application
```bash
$ python setup.py py2app -a
```

### Run the application bundle
```sh
./dist/Timelapse.app
```

## Tips

As a general rule, the greater the motion in your image, the slower your video should be. If you are doing a highly dynamic task such as playing a video game, you would want to be at maximum 25x faster whereas if you are doing a simple task such as editing text, you could get away with 100x faster.

## References

> For my personal reference

1. [Menu Bar Applications in Python](https://camillovisini.com/article/create-macos-menu-bar-app-pomodoro/)
2. [FFMpeg Video Writer](https://stackoverflow.com/questions/34167691/pipe-opencv-images-to-ffmpeg-using-python) -> I did try this a little earlier and it was throwing errors intially, will try again with the new h264_nvec codec
3. [Offical Rumps Documentation](https://github.com/jaredks/rumps) -> the syntax has changed a bit to make it more pythonic recently
4. Perhaps the better way to do this would be to use something like cjkcodecs which has better support with py2app and is likely much smaller