diff options
| author | Cameron <cysmith1010@gmail.com> | 2016-10-10 14:34:15 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-10 14:34:15 -0600 |
| commit | 5c22f5934e1ece0cf5764c1d1fe2d5d1ab5f88d3 (patch) | |
| tree | c6743fbb1c9b3e22a476d14ca18ef27ce4930ff7 /stylize_video.sh | |
| parent | 6155e8de0cfd6117a4804c18a64b75d52e0ae21c (diff) | |
Update stylize_video.sh
Diffstat (limited to 'stylize_video.sh')
| -rw-r--r-- | stylize_video.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stylize_video.sh b/stylize_video.sh index 082fc9d..7f9cd6e 100644 --- a/stylize_video.sh +++ b/stylize_video.sh @@ -46,7 +46,7 @@ style_dir=$(dirname "$style_image") style_filename=$(basename "$style_image") if [ ! -d "./video_input" ]; then - mkdir ./video_input + mkdir -p ./video_input fi temp_dir="./video_input/${content_filename}" @@ -59,9 +59,9 @@ eval $(ffprobe -v error -of flat=s=_ -select_streams v:0 -show_entries stream=wi width="${streams_stream_0_width}" height="${streams_stream_0_height}" if [ "$width" -gt "$height" ]; then - max_size="$width" + max_size="$width" else - max_size="$height" + max_size="$height" fi num_frames=$(find "$temp_dir" -iname "*.ppm" | wc -l) |
