Update script/script.sh
Deploy / Deploy (push) Successful in 15s
Details
Deploy / Deploy (push) Successful in 15s
Details
This commit is contained in:
parent
2506372963
commit
ba5c6508ec
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
SRC=collections/_aulas
|
SRC=collections/_aulas
|
||||||
# SCRIPT=script/
|
# SCRIPT=script/
|
||||||
SCRIPT=/var/www/src/AliceClass/script/
|
SCRIPT=/var/www/src/aliceclass/script/
|
||||||
# TMP=tmp
|
# TMP=tmp
|
||||||
TMP=$(mktemp -d)
|
TMP=$(mktemp -d)
|
||||||
ASSETS="$TMP/assets"
|
ASSETS="$TMP/assets"
|
||||||
|
@ -124,12 +124,12 @@ process_video () {
|
||||||
# ####################################
|
# ####################################
|
||||||
# Creating the credits clip
|
# 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 "########################################"
|
||||||
echo "# Gerando o tmp-credits.mkv"
|
echo "# Gerando o tmp-credits.mkv"
|
||||||
echo "########################################"
|
echo "########################################"
|
||||||
ffmpeg -y -loop 1 -i ${SCRIPT}/credits.svg -i ${SCRIPT}/credits.wav -shortest ${TMP}/tmp-credits.mkv
|
ffmpeg -y -loop 1 -i ${SCRIPT}/credits.svg -i ${SCRIPT}/credits.wav -shortest ${TMP}/tmp-credits.mkv
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
# ####################################
|
# ####################################
|
||||||
# Creating dest dir
|
# Creating dest dir
|
||||||
|
|
Loading…
Reference in New Issue