Created
August 15, 2020 11:21
-
-
Save Botffy/bdfade020f3b44543e57d6f17bac49d2 to your computer and use it in GitHub Desktop.
Convert all mp3 files in the directory into mp4 videos with a still image
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
for f in *.mp3; do | |
ffmpeg -loop 1 -i still.png -i "$f" -shortest "${f%.mp3}.mp4" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment