summaryrefslogtreecommitdiff
path: root/run.sh
blob: cf8370ef7e801a3b33b5ee63ccc8fe1b7b412e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

rm -rf inputs/*
rm -rf results/*

name=$1
start=`date`

python crop_frames.py --overlap 16 crop "$name"
mv "$name/crop*" inputs/L/
python test.py 28 L ""
python crop_frames.py merge results/28L/L/
ffmpeg -i ./results/28L/L/merged/frame_%05d.png  -y -c:v libx264 -vf fps=25 -pix_fmt yuv420p "./results/${name}_uprez.mp4"
# scp "./results/${name}_uprez.mp4" jules@lmno:asdf/neural/uprez/

endd=`date`
echo
echo "Start: $start"
echo "End:   $endd"
echo