To make an mp3 from every mp4 in a folder
This is at the prompt,
for %A in (*.mp4) do ffmpeg -i "%A" -b:a 192K -vn "%~nA.mp3"
In a batch script double up the % signs so % becomes %% like this...
for %%A in (*.mp4) do ffmpeg -i "%%A" -b:a 192K -vn "%%~nA.mp3"
Makes an mp3 with the same name as the mp4 so
Song Name.mp4 ---> Song Name.mp3
Where it says 192K that is the bitrate of the output mp3, could be 64K, 128K, 320K etc