Utility for recording and playing back event chronologies
- Install dependencies with
pip install -r requirements.txt
- Fill out
config.json
using the instructions below - Save the changes, and start script with
py ./src/main.py <record|parse> <input_file> [<output_file>] [-f <fps>] [-x <scale_factor>] [-o]
<input_file>
- .db file with timelapse data (game.db for example)
<input_file>
- .db file with timelapse data (game.db for example)
<output_file>
- .mp4 or other video format (timelapse.mp4 for example)
-f <fps>
- number of fps in video
-x <scale_factor>
- how many times should the image size be increased?
-o
- add this flag if you want 1 frame = drawn pixel
initial_image_url
- link to canvas (/pixels.png
)
websocket_uri
- link to websocket (/pixels/socket
)
ffmpeg_path
- path to ffmpeg (you can just use ffmpeg
as the path in most cases)