Skip to content

Latest commit

 

History

History
90 lines (58 loc) · 2.01 KB

README.md

File metadata and controls

90 lines (58 loc) · 2.01 KB

Aerial Videos

Netlify Status

This project generates a simple website which lists all the videos from Apple, Jetson Creative, and Robin Fourcade.

You can then download the videos you like for use in the screensaver of your choice, for example...

This website is built and deployed using Netlify and can be viewed at https://aerial-videos.netlify.app/

How to build the site

Generate thumbnail images

Install python modules

Requires:

  1. Python 3
  2. Pip3

After installing Python 3 and Pip3, install the required Python modules...

pip3 install moviepy
pip3 install joblib

Macs with Apple silicon

MoviePy does not come with an FFMPEG binary for Apple silicon so you must install it manually.

There are many ways to do this but I use Homebrew, a package manager for macOS. Once Homebrew is installed, run this command to install FFMPEG...

brew install ffmpeg

Run the script

Run the Python script to generate the thumbnails...

cd scripts
python3 thumbnails.py

This will take a few minutes to complete depending on the speed of your Mac/PC and internet connection.

When finished, you should have a folder called static/thumbnails full of images.

Building the website


Requires:

  1. NodeJS
  2. Npm
  3. SveleteKit
  4. Pnpm (optional)


Install all the required dependencies...

npm install (or pnpm i)


To run the development version...

npm run dev -- --open (or pnpm dev --open)


To build the site for deployment...

npm run build (or pnpm build)