https://github.com/rissson/place-timelapse-2022
https://github.com/rissson/place-timelapse-2022
place reddit rplace
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/rissson/place-timelapse-2022
- Owner: rissson
- License: agpl-3.0
- Created: 2022-04-02T23:02:20.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-05T22:00:30.000Z (about 4 years ago)
- Last Synced: 2025-03-25T04:36:56.526Z (about 1 year ago)
- Topics: place, reddit, rplace
- Language: Rust
- Homepage: https://rplace.space
- Size: 42 KB
- Stars: 20
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [rplace.space](https://rplace.space)
[This scrapper](https://github.com/ProstoSanja/place-2022) made by
[ProstoSanja](https://github.com/ProstoSanja) is used to get images of the
canvas every 30 seconds. Have a look over there for how to run it.
Then every 5 minutes, this tool is run to merge the four parts of the canvas
together. Usage is `place `. The list of images must
follow this format: `[canvas id]-[timestamp].png`. Images from the scrapper are
already named in the correct format. Merged images are outputted in the current
directory at `[timestamp].png`.
And then, `ffmpeg` is used to create a time lapse every 5 minutes:
```sh
ffmpeg -y -framerate 60 -pattern_type glob -i "*.png" -s:v 2000x2000 -c:v libx264 -crf 17 -pix_fmt yuv420p video.mp4
```
### Building this tool
`cargo build --release`