I think it's not too much of a waste if I repeat here two simple tricks with in order to upload audio as video to mastodon:

1) test-tv image/animation:

ffmpeg -f lavfi -i testsrc -i AUDIOFILE -shortest OUTPUT.webm

2) album cover or similar:

ffmpeg -loop 1 -i IMAGE.png -i AUDIOFILE -s 200x200 -shortest OUTPUT.webm

* with -s WWWxHHH you can adjust the size/resol. of the video

* instead of webm you can safely use mp4 as output extension - it will create an mp4 with x264/aac codecs

I'm not giving an extension to AUDIOFILE because ffmpeg can convert pretty much any format - but you should!

audiofile.wav
audiofile.flac
audiofile.aiff
etc...

Sign in to participate in the conversation
Mastodon.ART

Mastodon.ART — Your friendly creative home on the Fediverse! Interact with friends and discover new ones, all on a platform that is community-owned and ad-free. Admin: @Curator. Moderators: @EmergencyBattle, @ScribbleAddict, @Adamk678, @Otherbuttons, @katwylder