https://github.com/criticalmaps/criticalmaps-renderer
https://github.com/criticalmaps/criticalmaps-renderer
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/criticalmaps/criticalmaps-renderer
- Owner: criticalmaps
- Created: 2020-06-23T21:14:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-04T18:44:30.000Z (almost 6 years ago)
- Last Synced: 2025-09-15T18:37:44.147Z (10 months ago)
- Language: HTML
- Size: 1.01 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# criticalmaps-renderer
Build and run docker container to create video in it:
```
docker build -t criticalmaps-renderer .
docker run -it -v $(pwd)/phantomjs:/phantomjs criticalmaps-renderer /bin/bash
```
Create stills:
```
phantomjs main.js
```
Render all frames into a video:
```
ffmpeg -framerate 60 -start_number 1 -i frames/frame%d.jpg -vcodec libx264 -filter:v "crop=1920:1080:0:0" output.mp4
```
Append outro and to video rendering:
```
ffmpeg -i assets/intro.mp4 -i main.mp4 -i assets/outro.mp4 -filter_complex "[0:v:0][1:v:0][2:v:0]concat=n=3:v=1[outv]" -map "[outv]" upload.mp4
```