Update script/script.sh
Deploy / Deploy (push) Successful in 15s Details

This commit is contained in:
Carneiro 2024-12-18 18:28:25 -03:00
parent 2506372963
commit ba5c6508ec
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
SRC=collections/_aulas
# SCRIPT=script/
SCRIPT=/var/www/src/AliceClass/script/
SCRIPT=/var/www/src/aliceclass/script/
# TMP=tmp
TMP=$(mktemp -d)
ASSETS="$TMP/assets"
@ -124,12 +124,12 @@ process_video () {
# ####################################
# Creating the credits clip
# ####################################
if test ${TMP}/tmp-credits.mkv -ot ${SCRIPT}/credits.svg ; then
#if test ${TMP}/tmp-credits.mkv -ot ${SCRIPT}/credits.svg ; then
echo "########################################"
echo "# Gerando o tmp-credits.mkv"
echo "########################################"
ffmpeg -y -loop 1 -i ${SCRIPT}/credits.svg -i ${SCRIPT}/credits.wav -shortest ${TMP}/tmp-credits.mkv
fi
#fi
# ####################################
# Creating dest dir