MP3 + JPG of same name
<p>For every mp3 file in my folder I have a certain jpg file with the same name, what I'm trying to achieve with cmd is making that name into one variable name without the file extension</p>

<p>This is my code using only a mp3 name</p>

<pre><code>for %%a in ("*.mp3") do ffmpeg -i "%%a.mp3" -loop 1 -i Cover.jpg -c:v libx264 -tune stillimage -c:a aac -strict experimental -b:a 320k -pix_fmt yuv420p -vf scale=3000:3000 -shortest "%%~na.mp4"
</code></pre>