Last active
December 20, 2021 04:23
-
-
Save nin-jat/3044932665c7cac0b363ab68263e0632 to your computer and use it in GitHub Desktop.
Add miitopia music to your screen recordings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script will replace the audio from your provided video with a random miitopia soundtrack. | |
# Change This to point to your Miitopia Original Soundtrack directory. | |
MIITOPIA_MUSIC="/home/tom/Videos/ffmpeg-scripts/assets/Miitopia-Original-Soundtrack" | |
# Great quality rips can be found here https://www.sittingonclouds.net/album/1287 | |
# Usage: miitopiaify [input video] [output video] | |
# Pick a random file from our miitopia directory and stuff it into a varible. | |
FILE=$(shuf -n1 -e $MIITOPIA_MUSIC/*) | |
# Do the actual video stuff. | |
ffmpeg -i "$1" -i "$FILE" -c:v copy -map 0:v:0 -map 1:a:0 -shortest "$2" |
printer.mov
caaat.mov
bminus.mov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
waffle.mov