From 09958c2a0a6a0bceb52ad6a7896c88dfdf9936df Mon Sep 17 00:00:00 2001 From: q3aql Date: Fri, 10 Mar 2023 20:09:19 +0100 Subject: [PATCH] Fix load config variables (wrappers) --- wrapper/ks-av1-wrapper | 5 ++++- wrapper/ks-av1s-wrapper | 5 ++++- wrapper/ks-avi-wrapper | 7 +++++-- wrapper/ks-mp4-wrapper | 7 +++++-- wrapper/ks-mp4k-wrapper | 7 +++++-- wrapper/ks-mp4s-wrapper | 7 +++++-- wrapper/ks-vob-wrapper | 7 +++++-- 7 files changed, 33 insertions(+), 12 deletions(-) diff --git a/wrapper/ks-av1-wrapper b/wrapper/ks-av1-wrapper index 612cb93..87cc158 100755 --- a/wrapper/ks-av1-wrapper +++ b/wrapper/ks-av1-wrapper @@ -2,7 +2,7 @@ ############################################################### # ks-av1-wrapper (ks-tools) - Wrapper for ks-av1 # -# Date: 10-03-2022 # +# Date: 10-03-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################### @@ -14,6 +14,9 @@ ks_mp4_to_wrap="/usr/bin/ks-av1" p_ffmpeg="ffmpeg -i" p_ffmpeg_patched="-max_muxing_queue_size 9999" rel_size="1280x534" +configFolder=${HOME}/.ks-tools +configFile=${configFolder}/ks-av1 +source ${configFile} # Global parameters dirTemp="/tmp" diff --git a/wrapper/ks-av1s-wrapper b/wrapper/ks-av1s-wrapper index 4bf80da..5ab37ed 100755 --- a/wrapper/ks-av1s-wrapper +++ b/wrapper/ks-av1s-wrapper @@ -2,7 +2,7 @@ ############################################################### # ks-av1s-wrapper (ks-tools) - Wrapper for ks-av1s # -# Date: 10-03-2022 # +# Date: 10-03-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################### @@ -14,6 +14,9 @@ ks_mp4s_to_wrap="/usr/bin/ks-av1s" p_ffmpeg="ffmpeg -i" p_ffmpeg_patched="-max_muxing_queue_size 9999" rel_size="720x404" +configFolder=${HOME}/.ks-tools +configFile=${configFolder}/ks-av1s +source ${configFile} # Global parameters dirTemp="/tmp" diff --git a/wrapper/ks-avi-wrapper b/wrapper/ks-avi-wrapper index ec8b1b3..b396442 100755 --- a/wrapper/ks-avi-wrapper +++ b/wrapper/ks-avi-wrapper @@ -2,18 +2,21 @@ ############################################################### # ks-avi-wrapper (ks-tools) - Wrapper for ks-avi # -# Date: 04-02-2022 # +# Date: 10-03-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################### VERSION="8.4-dev" -M_DATE="040222" +M_DATE="100323" # Conversion parameters ks_avi_to_wrap="/usr/bin/ks-avi" p_ffmpeg="ffmpeg -i" p_ffmpeg_patched="-max_muxing_queue_size 9999" rel_size="720x480" +configFolder=${HOME}/.ks-tools +configFile=${configFolder}/ks-avi +source ${configFile} # Global parameters dirTemp="/tmp" diff --git a/wrapper/ks-mp4-wrapper b/wrapper/ks-mp4-wrapper index 50acfd3..5e90c4c 100755 --- a/wrapper/ks-mp4-wrapper +++ b/wrapper/ks-mp4-wrapper @@ -2,18 +2,21 @@ ############################################################### # ks-mp4-wrapper (ks-tools) - Wrapper for ks-mp4 # -# Date: 04-02-2022 # +# Date: 10-03-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################### VERSION="8.4-dev" -M_DATE="040222" +M_DATE="100323" # Conversion parameters ks_mp4_to_wrap="/usr/bin/ks-mp4" p_ffmpeg="ffmpeg -i" p_ffmpeg_patched="-max_muxing_queue_size 9999" rel_size="1280x534" +configFolder=${HOME}/.ks-tools +configFile=${configFolder}/ks-mp4 +source ${configFile} # Global parameters dirTemp="/tmp" diff --git a/wrapper/ks-mp4k-wrapper b/wrapper/ks-mp4k-wrapper index b6fcaf6..d7989b7 100755 --- a/wrapper/ks-mp4k-wrapper +++ b/wrapper/ks-mp4k-wrapper @@ -2,18 +2,21 @@ ############################################################### # ks-mp4k-wrapper (ks-tools) - Wrapper for ks-mp4k # -# Date: 04-02-2022 # +# Date: 10-03-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################### VERSION="8.4-dev" -M_DATE="040222" +M_DATE="100323" # Conversion parameters ks_mp4k_to_wrap="/usr/bin/ks-mp4k" p_ffmpeg="ffmpeg -i" p_ffmpeg_patched="-max_muxing_queue_size 9999" rel_size="3840x2160" +configFolder=${HOME}/.ks-tools +configFile=${configFolder}/ks-mp4k +source ${configFile} # Global parameters dirTemp="/tmp" diff --git a/wrapper/ks-mp4s-wrapper b/wrapper/ks-mp4s-wrapper index 1ccc173..2bd9e24 100755 --- a/wrapper/ks-mp4s-wrapper +++ b/wrapper/ks-mp4s-wrapper @@ -2,18 +2,21 @@ ############################################################### # ks-mp4s-wrapper (ks-tools) - Wrapper for ks-mp4s # -# Date: 04-02-2022 # +# Date: 10-03-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################### VERSION="8.4-dev" -M_DATE="040222" +M_DATE="100323" # Conversion parameters ks_mp4s_to_wrap="/usr/bin/ks-mp4s" p_ffmpeg="ffmpeg -i" p_ffmpeg_patched="-max_muxing_queue_size 9999" rel_size="720x404" +configFolder=${HOME}/.ks-tools +configFile=${configFolder}/ks-mp4s +source ${configFile} # Global parameters dirTemp="/tmp" diff --git a/wrapper/ks-vob-wrapper b/wrapper/ks-vob-wrapper index 5ec52e1..5a3f6d9 100755 --- a/wrapper/ks-vob-wrapper +++ b/wrapper/ks-vob-wrapper @@ -2,18 +2,21 @@ ############################################################### # ks-vob-wrapper (ks-tools) - Wrapper for ks-vob # -# Date: 04-02-2022 # +# Date: 10-03-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ############################################################### VERSION="8.4-dev" -M_DATE="040222" +M_DATE="100323" # Conversion parameters ks_vob_to_wrap="/usr/bin/ks-vob" p_ffmpeg="ffmpeg -i" p_ffmpeg_patched="-max_muxing_queue_size 9999" rel_size="720x480" +configFolder=${HOME}/.ks-tools +configFile=${configFolder}/ks-vob +source ${configFile} # Check cygwin alias (for Windows) if [ -f "/usr/bin/cygwin-alias.sh" ] ; then