diff options
| author | jules <jules@asdf.us> | 2018-11-23 19:33:24 +0100 |
|---|---|---|
| committer | jules <jules@asdf.us> | 2018-11-23 19:33:24 +0100 |
| commit | d10dbdf8ab9b902906ec14c6f43900068d5533a0 (patch) | |
| tree | dbb0c54f93734eaef05cefa9e777a74e04177949 | |
| parent | 795f81ad95888631420e870dfec6aaf7425cc598 (diff) | |
more general
| -rw-r--r-- | today.sh | 23 |
1 files changed, 7 insertions, 16 deletions
@@ -1,23 +1,14 @@ #!/bin/bash -python crop_frames.py --overlap 16 crop aquarium rm -rf inputs/L/* -mv aquarium/crop* inputs/L/ -python test.py 28 L "" -python crop_frames.py merge results/28L/L/ -cd results/28L/L/merged/ -ffmpeg -i ./frame_%05d.png -y -c:v libx264 -vf fps=25 -pix_fmt yuv420p aquarium_uprez.mp4 -scp aquarium_uprez.mp4 jules@lmno:asdf/neural/uprez/ -cd ../../../../ -mv results/28L/L/ aquarium/uprez/ +rm -rf results/28L/L/* -python crop_frames.py --overlap 16 crop venice -rm -rf inputs/L/* -mv venice/crop* inputs/L/ +name=$1 + +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/ -cd results/28L/L/merged/ -ffmpeg -i ./frame_%05d.png -y -c:v libx264 -vf fps=25 -pix_fmt yuv420p venice_uprez.mp4 -scp venice_uprez.mp4 jules@lmno:asdf/neural/uprez/ -cd ../../../../ +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/ |
