Download and stitch youtube examples. Use youtube-dl at highest quality to download the examples from free stock video accounts.

This commit is contained in:
mmcw-dev 2018-12-22 10:27:30 -05:00
parent 9dbc207c8b
commit 1e266c62a7
1 changed files with 31 additions and 1 deletions

View File

@ -4,4 +4,34 @@
echo "Downloading example videos using youtube-dl..." echo "Downloading example videos using youtube-dl..."
mkdir examples mkdir examples
#11 sec
if [ ! -f ./examples/Y1.mp4 ]; then
(cd examples && youtube-dl --verbose --format 'bestvideo+bestaudio/best' --audio-format best https://www.youtube.com/watch?v=u2DYOsrJrDQ)
(mv "./examples/Stars Through the Trees-u2DYOsrJrDQ.mp4" "./examples/Y1.mp4")
else
echo "Y1.mp4 already exists"
fi
if [ ! -f ./examples/Y2.mp4 ]; then
(cd examples && youtube-dl --verbose --format 'bestvideo+bestaudio/best' --audio-format best https://www.youtube.com/watch?v=lJfSTZjm5wQ)
mv "./examples/Fireworks on 4th of July-lJfSTZjm5wQ.mp4" "./examples/Y2.mp4"
else
echo "Y2.mp4 already exists"
fi
if [ ! -f ./examples/Y3.mp4 ]; then
#(cd examples && youtube-dl --verbose --format 'bestvideo+bestaudio/best' --audio-format best https://www.youtube.com/watch?v=HHdfpIoSAfs)
mv "./examples/Free Nature Stock Footage - Birds Reflected in Water-HHdfpIoSAfs.mp4" "./examples/Y3.mp4"
else
echo "Y3.mp4 already exists"
fi
./frameloom -i "./examples/Y1.mp4:./examples/Y2.mp4:./examples/Y3.mp4" -o "./examples/Y1Y2Y3.mov"
#19
#https://www.youtube.com/watch?v=cRjf8pxWApE
#16
#https://www.youtube.com/watch?v=xAp-zovVL9s
#21
#https://www.youtube.com/watch?v=T-esjZFXaYA
#https://www.youtube.com/watch?v=tZZjY-UZPaI