forked from vis4/eu-drought
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (21 loc) · 717 Bytes
/
Makefile
File metadata and controls
27 lines (21 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
1-download:
mkdir -p edo-png
python 1-dl.py
2-warp:
mkdir -p warped
@cat 2-warp.sh | zsh
3-hist:
python -u 3-hist.py >> europe-stats.csv
4-crop:
mkdir -p cropped
@cat 4-crop.sh | zsh
5-resize:
mkdir -p resized
@cat 5-resize.sh | zsh
6-label:
mkdir -p labeled
python -u 6-label.py
7-video:
mkdir -p output
ffmpeg -y -r 12 -i labeled/frame-%03d.png -vf "scale=-2:720:flags=lanczos" -f webm -speed 8 -deadline realtime -cpu-used -8 -pix_fmt yuv420p output/video.webm
ffmpeg -y -r 12 -i labeled/frame-%03d.png -vf "scale=-2:720:flags=lanczos" -f mp4 -vcodec libx264 -profile:v main -level 3.1 -preset medium -crf 28 -x264-params ref=4 -c:a none -pix_fmt yuv420p -movflags +faststart output/video.mp4