diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-01-16 01:59:41 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-01-16 01:59:41 +0100 |
| commit | a8e994a32e481f667424fc55bffa16f8cd1e2b04 (patch) | |
| tree | 1dd3e7a72458588ee91a0e6b5f415e19efb16d40 /run.sh | |
| parent | 17c69a6138301564bd05804293734d4eaf221fa8 (diff) | |
start/end
Diffstat (limited to 'run.sh')
| -rw-r--r-- | run.sh | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -3,13 +3,18 @@ rm -rf inputs/* rm -rf results/* -name=$1 +path=$1 +name=`basename $path` start=`date` -python crop_frames.py --in_dir "$name" --out_dir "inputs/$name" +echo "Start: $start" +echo $path + +python crop_frames.py --in_dir "$name" --out_dir "inputs/$name" --ratio 6.0 python test.py --in_dir "inputs/$name" --out_dir "results/$name" -python merge_frames --in_dir "results/$name" --out_dir "inputs/$name" -ffmpeg -i ./results/28L/L/merged/frame_%05d.png -y -c:v libx264 -vf fps=25 -pix_fmt yuv420p "./results/${name}_uprez.mp4" +python merge_frames --in_dir "results/$name" --render_dir "./renders" --mov + +# ffmpeg -i ./results/$name/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` |
