Skip to content

Instantly share code, notes, and snippets.

@jazzyjackson
Created December 28, 2024 18:39
Show Gist options
  • Save jazzyjackson/f3aabb55350455d614f70da97cf7d27a to your computer and use it in GitHub Desktop.
Save jazzyjackson/f3aabb55350455d614f70da97cf7d27a to your computer and use it in GitHub Desktop.
home video workflow
# ensure mac is updated to 15.2
# install xcode from app store
xcode-select --install
sudo xcodebuild -license
sudo xcodebuild -runFirstLaunch
# clean up install on sequoia so macports can find clang
sudo rm -rf /Library/Developer/CommandLineTools/usr/include/c++
# install macports from .pkg file available at the 'Sequoia' Link
# https://www.macports.org/install.php
softwareupdate --install-rosetta
sudo port install ffmpeg
sudo port install chafa
sudo port install alacritty
git clone https://github.com/wong-justin/vic.git
cd vic
cargo build
sudo cp target/debug/vic /opt/local/bin/
# now in the same folder as your video
curl https://gist.githubusercontent.com/nielsbom/c86c504fa5fd61ae9530caec654c6ae6/raw/193c04aadbaa1bd54e9c68055eecc52d14727aba/split-to-scenes.sh > split.sh
curl https://gist.githubusercontent.com/jazzyjackson/bf9282df0a40d7ef471e6676f282831e/raw/266619cbdaac2c3a2ee4a7cbf526d7ed8f6e4c84/merge-scenes.sh > merge.sh
chmod +x merge.sh
chmod +x split.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment