diff --git a/src/ks-av1 b/src/ks-av1 index 3937a22..3b47ae0 100755 --- a/src/ks-av1 +++ b/src/ks-av1 @@ -2,12 +2,12 @@ ################################################## # ks-av1 (ks-tools) - Convert video to AV1 codec # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ################################################## VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Detect version ffmpeg for old releases ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1) @@ -51,7 +51,7 @@ fi # Setting the correct resolution for the video file # Sintaxis: set_resolution function set_resolution() { - check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" + check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" set_rel="${1}" input_video_file="${2}" bc_found="1" @@ -134,7 +134,7 @@ else fi # Check if ffmpeg is installed -path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" +path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="ffmpeg grep sed grep cut head tail tr cat bc" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-av1s b/src/ks-av1s index 29174cd..e1ff8fa 100755 --- a/src/ks-av1s +++ b/src/ks-av1s @@ -2,12 +2,12 @@ ############################################################ # ks-av1s (ks-tools) - Convert video to AV1 codec (Series) # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################ VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Detect version ffmpeg for old releases ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1) @@ -51,7 +51,7 @@ fi # Setting the correct resolution for the video file # Sintaxis: set_resolution function set_resolution() { - check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" + check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" set_rel="${1}" input_video_file="${2}" bc_found="1" @@ -134,7 +134,7 @@ else fi # Check if ffmpeg is installed -path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" +path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="ffmpeg grep sed grep cut head tail tr cat bc" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-av1s-folder b/src/ks-av1s-folder index 085dbdb..f0c4dd8 100755 --- a/src/ks-av1s-folder +++ b/src/ks-av1s-folder @@ -2,12 +2,12 @@ ################################################################################## # ks-av1s-folder (ks-tools) - Convert videos from folder to AV1 (Codec) (Series) # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ################################################################################## VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Variables tempFile="/tmp/ks-av1s-folder.txt" @@ -21,7 +21,7 @@ if [ -f "/usr/bin/cygwin-alias.sh" ] ; then fi # Check if ffmpeg is installed -path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" +path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="ffmpeg grep find grep cut head tail cat" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-avi b/src/ks-avi index 33b325b..acd59e6 100755 --- a/src/ks-avi +++ b/src/ks-avi @@ -2,12 +2,12 @@ ############################################################### # ks-avi (ks-tools) - Convert video to AVI format # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################### VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Detect version ffmpeg for old releases ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1) @@ -54,7 +54,7 @@ fi # Setting the correct resolution for the video file # Sintaxis: set_resolution function set_resolution() { - check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" + check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" set_rel="${1}" input_video_file="${2}" bc_found="1" @@ -142,7 +142,7 @@ else fi # Check if ffmpeg is installed -path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" +path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="ffmpeg grep sed grep cut head tail tr cat bc" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-conf b/src/ks-conf index 3f3c4a5..439f1d4 100755 --- a/src/ks-conf +++ b/src/ks-conf @@ -2,12 +2,12 @@ ####################################################################### # ks-conf (ks-tools) - Tool for create and modify configuration files # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ####################################################################### VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Check cygwin alias (for Windows) if [ -f "/usr/bin/cygwin-alias.sh" ] ; then diff --git a/src/ks-crop b/src/ks-crop index 21501c8..76ca719 100755 --- a/src/ks-crop +++ b/src/ks-crop @@ -2,12 +2,12 @@ ############################################################### # ks-crop (ks-tools) - Crop or change aspect ratio of a video # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################### VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Detect version ffmpeg for old releases ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1) @@ -54,7 +54,7 @@ if [ -f "/usr/bin/cygwin-alias.sh" ] ; then fi # Check if ffmpeg is installed -path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" +path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="ffmpeg grep sed grep cut head tail tr cat" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-mix b/src/ks-mix index b13bf51..167d2e7 100755 --- a/src/ks-mix +++ b/src/ks-mix @@ -2,12 +2,12 @@ ##################################################################### # ks-mix (ks-tools) - Extract video/audio and mix video/audio files # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ##################################################################### VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Detect version ffmpeg for old releases ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1) @@ -43,7 +43,7 @@ if [ -f "/usr/bin/cygwin-alias.sh" ] ; then fi # Check if ffmpeg is installed -path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" +path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="ffmpeg grep sed cut head tail tr" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-mp3 b/src/ks-mp3 index 5b6c126..5de20a1 100755 --- a/src/ks-mp3 +++ b/src/ks-mp3 @@ -2,12 +2,12 @@ ######################################################################### # ks-mp3 (ks-tools) - Convert video/audio file(s) to MP3 (Audio) Format # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ######################################################################### VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Global parameters dirTemp="/tmp" @@ -59,7 +59,7 @@ else fi # Check if ffmpeg is installed -path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" +path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="ffmpeg grep sed grep cut head tail tr cat" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-mp3-album b/src/ks-mp3-album index 542b5c1..98d6078 100755 --- a/src/ks-mp3-album +++ b/src/ks-mp3-album @@ -2,12 +2,12 @@ ###################################################################### # ks-mp3-album (ks-tools) - Convert folder album to MP3 Audio Format # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ###################################################################### VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Variables tempFile="/tmp/ks-mp4s-folder.txt" @@ -66,7 +66,7 @@ else fi # Check if ffmpeg is installed -path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" +path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="ffmpeg grep find grep cut head tail tr cat" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-mp4 b/src/ks-mp4 index 2049a3c..8f5e440 100755 --- a/src/ks-mp4 +++ b/src/ks-mp4 @@ -2,12 +2,12 @@ ############################################################### # ks-mp4 (ks-tools) - Convert video to MP4 format # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################### VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Detect version ffmpeg for old releases ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1) @@ -54,7 +54,7 @@ fi # Setting the correct resolution for the video file # Sintaxis: set_resolution function set_resolution() { - check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" + check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" set_rel="${1}" input_video_file="${2}" bc_found="1" @@ -142,7 +142,7 @@ else fi # Check if ffmpeg is installed -path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" +path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="ffmpeg grep sed grep cut head tail tr cat bc" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-mp4k b/src/ks-mp4k index 35c1b1d..8dc3709 100755 --- a/src/ks-mp4k +++ b/src/ks-mp4k @@ -2,12 +2,12 @@ ############################################################### # ks-mp4k (ks-tools) - Convert video to MP4 format (4K) # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################### VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Detect version ffmpeg for old releases ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1) @@ -54,7 +54,7 @@ fi # Setting the correct resolution for the video file # Sintaxis: set_resolution function set_resolution() { - check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" + check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" set_rel="${1}" input_video_file="${2}" bc_found="1" @@ -142,7 +142,7 @@ else fi # Check if ffmpeg is installed -path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" +path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="ffmpeg grep sed grep cut head tail tr cat bc" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-mp4s b/src/ks-mp4s index 6ab324a..3258d5b 100755 --- a/src/ks-mp4s +++ b/src/ks-mp4s @@ -2,12 +2,12 @@ ############################################################### # ks-mp4s (ks-tools) - Convert video to MP4 format (Series) # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################### VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Detect version ffmpeg for old releases ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1) @@ -54,7 +54,7 @@ fi # Setting the correct resolution for the video file # Sintaxis: set_resolution function set_resolution() { - check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" + check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" set_rel="${1}" input_video_file="${2}" bc_found="1" @@ -142,7 +142,7 @@ else fi # Check if ffmpeg is installed -path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" +path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="ffmpeg grep sed grep cut head tail tr cat bc" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-mp4s-folder b/src/ks-mp4s-folder index 13f8751..2371390 100755 --- a/src/ks-mp4s-folder +++ b/src/ks-mp4s-folder @@ -2,12 +2,12 @@ ################################################################################# # ks-mp4s-folder (ks-tools) - Convert videos from folder to MP4 format (Series) # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ################################################################################# VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Variables tempFile="/tmp/ks-mp4s-folder.txt" @@ -21,7 +21,7 @@ if [ -f "/usr/bin/cygwin-alias.sh" ] ; then fi # Check if ffmpeg is installed -path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" +path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="ffmpeg grep find grep cut head tail cat" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-oga b/src/ks-oga index abbcdaf..a839310 100755 --- a/src/ks-oga +++ b/src/ks-oga @@ -2,12 +2,12 @@ ############################################################################# # ks-oga (ks-tools) - Convert video/audio file(s) to OGA (OGG Audio) Format # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################################# VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Global parameters dirTemp="/tmp" @@ -59,7 +59,7 @@ else fi # Check if ffmpeg is installed -path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" +path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="ffmpeg grep sed grep cut head tail tr cat" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-oga-album b/src/ks-oga-album index 55f9fab..74444af 100755 --- a/src/ks-oga-album +++ b/src/ks-oga-album @@ -2,12 +2,12 @@ ############################################################################ # ks-oga-album (ks-tools) - Convert folder album to OGA (OGG Audio) Format # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################################ VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Variables tempFile="/tmp/ks-mp4s-folder.txt" @@ -66,7 +66,7 @@ else fi # Check if ffmpeg is installed -path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" +path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="ffmpeg grep find grep cut head tail tr cat" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-upa b/src/ks-upa index 3c2a88a..7279be9 100755 --- a/src/ks-upa +++ b/src/ks-upa @@ -2,12 +2,12 @@ ######################################################################## # ks-upa (ks-tools) - Upload audio file(s) to server with scp or rsync # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ######################################################################## VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Global parameters. dirTemp="/tmp" @@ -783,7 +783,7 @@ function showHelp() { # Function to check if all the necessary tools # for the execution are installed. function checkDependencies() { - path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" + path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="sshpass expect rsync md5sum scp ssh find grep sed cut head tail cat ssh-keyscan ssh-keygen" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-upf b/src/ks-upf index 588bfab..250a5ae 100755 --- a/src/ks-upf +++ b/src/ks-upf @@ -2,12 +2,12 @@ ######################################################################### # ks-upf (ks-tools) - Upload common file(s) to server with scp or rsync # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ######################################################################### VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Global parameters. dirTemp="/tmp" @@ -810,7 +810,7 @@ function showHelp() { # Function to check if all the necessary tools # for the execution are installed. function checkDependencies() { - path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" + path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="sshpass expect rsync md5sum scp ssh find grep sed cut head tail cat ssh-keyscan ssh-keygen" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-upr b/src/ks-upr index 4b8bba5..e00d4e4 100755 --- a/src/ks-upr +++ b/src/ks-upr @@ -2,12 +2,12 @@ ############################################################################## # ks-upr (ks-tools) - Upload recursively file(s) to server with scp or rsync # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################################## VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Global parameters. dirTemp="/tmp" @@ -764,7 +764,7 @@ function showHelp() { # Function to check if all the necessary tools # for the execution are installed. function checkDependencies() { - path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" + path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="sshpass expect rsync md5sum scp ssh find grep sed cut head tail cat ssh-keyscan ssh-keygen" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-upv b/src/ks-upv index 8256f23..967829c 100755 --- a/src/ks-upv +++ b/src/ks-upv @@ -2,12 +2,12 @@ ######################################################################### # ks-upv (ks-tools) - Upload videos file(s) to server with scp or rsync # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ######################################################################### VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Global parameters. dirTemp="/tmp" @@ -783,7 +783,7 @@ function showHelp() { # Function to check if all the necessary tools # for the execution are installed. function checkDependencies() { - path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" + path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="sshpass expect rsync md5sum scp ssh find grep sed cut head tail cat ssh-keyscan ssh-keygen" dependencies_found="" dependencies_not_found="" diff --git a/src/ks-vob b/src/ks-vob index 65f0d72..ea8f22e 100755 --- a/src/ks-vob +++ b/src/ks-vob @@ -2,12 +2,12 @@ ############################################################### # ks-avi (ks-tools) - Convert video to VOB DVD Format # -# Date: 01-10-2023 # +# Date: 02-11-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################### VERSION="8.5-dev" -M_DATE="011023" +M_DATE="021123" # Basic parameters rel_size="720x480" @@ -25,7 +25,7 @@ if [ -f "/usr/bin/cygwin-alias.sh" ] ; then fi # Check if ffmpeg is installed -path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin" +path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix 2> /dev/null)/bin" dependencies="ffmpeg grep grep cut head tail tr" dependencies_found="" dependencies_not_found=""