save modified video into same dir as original
This commit is contained in:
parent
7e17b15767
commit
c5c7a5046a
@ -84,7 +84,7 @@ for FILE in "${ARGS[@]}"; do
|
|||||||
AUDIO="tmp/${BASENAME}.opus"
|
AUDIO="tmp/${BASENAME}.opus"
|
||||||
YML="tmp/${BASENAME}.yml"
|
YML="tmp/${BASENAME}.yml"
|
||||||
SRT="tmp/${BASENAME}.srt"
|
SRT="tmp/${BASENAME}.srt"
|
||||||
OUT="${BASENAME}_with_subs.mkv"
|
OUT="${FILE%.*}_with_subs.mkv"
|
||||||
|
|
||||||
if [[ ! -f "${AUDIO}" ]]; then
|
if [[ ! -f "${AUDIO}" ]]; then
|
||||||
echo "extracting audio..."
|
echo "extracting audio..."
|
||||||
|
Loading…
Reference in New Issue
Block a user