Created
January 15, 2022 20:44
-
-
Save xdannyrobertsx/a47026984039ed673aa99a9c75be1676 to your computer and use it in GitHub Desktop.
uses bash to create .mkv videos for youtube from audio files and album cover
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 | |
| for name in *.wav; do | |
| ffmpeg -loop 1 -framerate 2 -i cover.jpg -i "$name" -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt yuv420p "${name%.*}.mkv" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment