↩ Back to Home

How to convert mp3 to video with static image cover

What I need is a batch script to convert all mp3 files to video files with custom static cover 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