What i need is a batch script to convert all mp3 files to video files with custom static image.

@echo off
cd \in
for /r %%i in (*) do ffmpeg -loop 1 -i 1.jpg -i in\%%~ni.mp3 -c:a copy -c:v libx264 -shortest out\%%~ni.mp4
pause