Update examples
This commit is contained in:
parent
1e266c62a7
commit
d6c239ff7a
|
@ -5,6 +5,7 @@ echo "Downloading example videos from archive.org..."
|
|||
mkdir examples
|
||||
|
||||
#Please run this script sparingly!!!
|
||||
#examples come from https://archive.org/details/ElectricSheep
|
||||
|
||||
if [ ! -f ./examples/A.mp4 ]; then
|
||||
wget -O A.mp4 https://ia802701.us.archive.org/9/items/electricsheep-flock-244-20000-0/00244%3D20660%3D11095%3D11000_512kb.mp4
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
echo "Downloading example videos using youtube-dl..."
|
||||
|
||||
mkdir examples
|
||||
#11 sec
|
||||
#11 second videos
|
||||
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")
|
||||
|
@ -19,7 +19,7 @@ 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)
|
||||
(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"
|
||||
|
|
Loading…
Reference in New Issue