# arg2 dir output dir (optional)
# Output: dir ./out/
# file ./out/[files]_480.mp4
-# Version: 0.1.0
+# Version: 0.1.1
# Depends: GNU parallel 20161222, ffmpeg 4.3.6-0
# Ref/Attrb: [1]: FFmpeg wiki: https://trac.ffmpeg.org/wiki/Scaling
declare -g dir_in dir_out;
declare -p dir_in dir_out; # debug
};
convert_video() {
- find "$dir_in" -mindepth 1 -maxdepth 1 -type f -name "*.mp4" | \
+ find "$dir_in" -mindepth 1 -maxdepth 1 -type f -iname "*.mp4" | \
parallel job_ffmpeg "{}" "$path_out";
};
job_ffmpeg() {