forked from STI/Astroport.ONE
-loglevel quiet
This commit is contained in:
parent
ab6dd7d64f
commit
3fc454640d
|
@ -38,6 +38,8 @@ tiddlywiki --load ${INDEX} \
|
||||||
--output ~/.zen/tmp/$WISHKEY \
|
--output ~/.zen/tmp/$WISHKEY \
|
||||||
--render '.' 'CopierYoutube.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[CopierYoutube]]'
|
--render '.' 'CopierYoutube.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[CopierYoutube]]'
|
||||||
|
|
||||||
|
echo "cat ~/.zen/tmp/$WISHKEY/CopierYoutube.json"
|
||||||
|
|
||||||
###################################################################
|
###################################################################
|
||||||
## TEXT TREATMENT
|
## TEXT TREATMENT
|
||||||
## For this TAG, specific extract URL from text field and copy all video from links into tid.json
|
## For this TAG, specific extract URL from text field and copy all video from links into tid.json
|
||||||
|
@ -50,6 +52,8 @@ for YURL in $(cat ~/.zen/tmp/$WISHKEY/CopierYoutube.json | jq -r '.[].text' | gr
|
||||||
|
|
||||||
done # FINISH YURL loop
|
done # FINISH YURL loop
|
||||||
|
|
||||||
|
echo "cat ~/.zen/tmp/$WISHKEY/ytids.$MOATS"
|
||||||
|
|
||||||
###################################################################
|
###################################################################
|
||||||
[[ ! -s ~/.zen/tmp/$WISHKEY/ytids.$MOATS ]] && echo "AUCUN YOUTUBEID pour CopierYoutube" && exit 0
|
[[ ! -s ~/.zen/tmp/$WISHKEY/ytids.$MOATS ]] && echo "AUCUN YOUTUBEID pour CopierYoutube" && exit 0
|
||||||
###################################################################
|
###################################################################
|
||||||
|
@ -92,7 +96,7 @@ while read YID;
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
### CHECK RESULT CONVERT MKV TO MP4
|
### CHECK RESULT CONVERT MKV TO MP4
|
||||||
[[ ! -f "$HOME/.zen/tmp/$WISHKEY/$ZFILE" ]] && ffmpeg -i "$HOME/.zen/tmp/$WISHKEY/$TITLE.mkv" -c:v libx264 -c:a aac "$HOME/.zen/tmp/$WISHKEY/$TITLE.mp4" # TRY TO CONVERT MKV TO MP4
|
[[ ! -f "$HOME/.zen/tmp/$WISHKEY/$ZFILE" ]] && ffmpeg -loglevel quiet -i "$HOME/.zen/tmp/$WISHKEY/$TITLE.mkv" -c:v libx264 -c:a aac "$HOME/.zen/tmp/$WISHKEY/$TITLE.mp4" # TRY TO CONVERT MKV TO MP4
|
||||||
[[ ! -f "$HOME/.zen/tmp/$WISHKEY/$ZFILE" ]] && echo "No FILE -- CONTINUE --" && continue
|
[[ ! -f "$HOME/.zen/tmp/$WISHKEY/$ZFILE" ]] && echo "No FILE -- CONTINUE --" && continue
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ tiddlywiki --load ${INDEX} --output ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu --
|
||||||
[[ ! -s ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${PLAYER}.g1voeu.json ]] && echo "AUCUN G1VOEU - EXIT -" && exit 1
|
[[ ! -s ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${PLAYER}.g1voeu.json ]] && echo "AUCUN G1VOEU - EXIT -" && exit 1
|
||||||
|
|
||||||
cat ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${PLAYER}.g1voeu.json | jq -r '.[].wish' > ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${PLAYER}.g1wishes.txt
|
cat ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${PLAYER}.g1voeu.json | jq -r '.[].wish' > ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${PLAYER}.g1wishes.txt
|
||||||
echo "NB DE VOEUX : "$(cat ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${PLAYER}.g1wishes.txt | wc -l)
|
echo "VOEUX : ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${PLAYER}.g1wishes.txt "$(cat ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${PLAYER}.g1wishes.txt | wc -l)
|
||||||
|
|
||||||
echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
|
echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
|
||||||
|
|
||||||
|
|
|
@ -44,9 +44,9 @@ html {
|
||||||
<h2>Internet Reboot !<br>Inscrivez-vous<br>
|
<h2>Internet Reboot !<br>Inscrivez-vous<br>
|
||||||
<form id="formlink" action = "http://127.0.0.1:1234" method = "GET">
|
<form id="formlink" action = "http://127.0.0.1:1234" method = "GET">
|
||||||
<br>
|
<br>
|
||||||
<b>Associez vos phrases clefs et votre adresse email</b></br></br>
|
<b>Associez 2 phrases clefs et votre adresse email</b></br></br>
|
||||||
Phrase Une ("identifiant") <input name=salt value=''></br>
|
Phrase 1 : <input name=salt value=''></br>
|
||||||
Phrase Deux ("mot de passe") <input name=pepper value=''></br></br>
|
Phrase 2 : <input name=pepper value=''></br></br>
|
||||||
Bitswap Ŋ1 (délégation de clef à 20h12) : <input type="checkbox" id="g1pub" name="g1pub" checked></br>
|
Bitswap Ŋ1 (délégation de clef à 20h12) : <input type="checkbox" id="g1pub" name="g1pub" checked></br>
|
||||||
- Email -</br><input name=email value=''></br></br>
|
- Email -</br><input name=email value=''></br></br>
|
||||||
<input type='submit' value='(☼‿‿☼)'>
|
<input type='submit' value='(☼‿‿☼)'>
|
||||||
|
|
|
@ -78,11 +78,11 @@ espeak "video transcoding" #-acodec aac
|
||||||
# Ecran vert : ffmpeg -i input.mp4 -i greenscreen.mp4 -filter_complex '[1:v]colorkey=color=00FF00:similarity=0.85:blend=0.0[ckout];[0:v][ckout]overlay[out]' -map '[out]' output.mp4
|
# Ecran vert : ffmpeg -i input.mp4 -i greenscreen.mp4 -filter_complex '[1:v]colorkey=color=00FF00:similarity=0.85:blend=0.0[ckout];[0:v][ckout]overlay[out]' -map '[out]' output.mp4
|
||||||
|
|
||||||
rm -f ~/.zen/tmp/output.mp4
|
rm -f ~/.zen/tmp/output.mp4
|
||||||
ffmpeg -i ~/.zen/tmp/MyVid.mp4 -vcodec libx264 -loglevel quiet ~/.zen/tmp/output.mp4
|
ffmpeg -loglevel quiet -i ~/.zen/tmp/MyVid.mp4 -vcodec libx264 -loglevel quiet ~/.zen/tmp/output.mp4
|
||||||
|
|
||||||
## Create short gif
|
## Create short gif
|
||||||
rm -f ~/.zen/tmp/screen.gif
|
rm -f ~/.zen/tmp/screen.gif
|
||||||
ffmpeg -ss 1.0 -t 1.6 -loglevel quiet -i ~/.zen/tmp/output.mp4 ~/.zen/tmp/screen.gif
|
ffmpeg -loglevel quiet -ss 1.0 -t 1.6 -loglevel quiet -i ~/.zen/tmp/output.mp4 ~/.zen/tmp/screen.gif
|
||||||
ANIMH=$(ipfs add -q ~/.zen/tmp/screen.gif)
|
ANIMH=$(ipfs add -q ~/.zen/tmp/screen.gif)
|
||||||
|
|
||||||
# Conversion HLS
|
# Conversion HLS
|
||||||
|
|
Loading…
Reference in New Issue