1
I'm fairly new to using this program, and really programming of any kind, but after tooling around on the internet (a lot of this site actually), I managed to come up with this.
@ECHO OFF
FOR %%AA IN (*.flac) DO (
echo Converting: %%AA
ffmpeg -i "%%AA" -q:a 0 -map_metadata 0 "%%~nf.mp3"
)
echo Finished
PAUSE
The problem I'm running into is that when I run the program I get the error "At least one output file must be specified". When I remove the -map_metadata 0 command, the program works fine, but no metadata is saved in the mp3 file. Does anyone know what's going wrong with this program, or what I can chnage to fix it?
EDIT: Now correctly displays my code.
if you add
echo
in front of theffmpeg
what do you see? – Stephen Rauch – 2017-03-14T23:21:59.430Converting: %AA ffmpeg -i "%AA" -q:a 0 -map_metadata 0 "test.mp3" – AeonCenturion – 2017-03-14T23:25:37.303
This seems to be an ffmpeg error so double check your syntax and confirm you can run with a single file first... report back your results.. – Pimp Juice IT – 2017-03-15T01:02:34.073