Created
August 30, 2016 07:37
-
-
Save hannahherbig/1b68bc74385d45cd92517d200c0bf9c9 to your computer and use it in GitHub Desktop.
script to render, mux, and upload osu replay video thingies to yt
This file contains 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
PATHNAME="songs/kokou" | |
TITLE='50 replays - Yousei Teikoku - Kokou no Sousei [Chaos]' | |
MAP="https://osu.ppy.sh/b/118068&m=0" | |
BASENAME="$(basename $PATHNAME)" | |
MP3=($PATHNAME/*.mp3) | |
python multi_image.py "$PATHNAME" && \ | |
ffmpeg -framerate 60 -i "out/$BASENAME-%05d.png" -i "$MP3" -map 0:v:0 -map 1:a:0 -c copy "$BASENAME.avi" && \ | |
youtube-upload "$BASENAME.avi" -t "$TITLE" -d "map: $MAP\nsoource: https://github.com/andrew12/osr-stuff" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment