I have around 8000 audio files (~6 GB in total) mostly in either m4a
or mp3
format. Is there a way to convert these audio files to video with filename appearing as a static poster image in video.
I was able to find drawtext filter in ffmpeg which might be helpful. But don't know how to write it out in one command so that I just pass in name of the audio file (mp3
/m4a
) and as output I get a video containing name of audio file as a display (with 256 by 144 pixel resolution
).
So far I have been able to do this all by using ImageMagick
convert commmand to first create static images and then combine using ffmpeg
.
Since, there are many files I want this to be done programmatically using ffmpeg/python/javascript. I want to do this to archive my audio recordings in Google Photos. Google photos accept unlimited storage for High Quality videos.