[SOLVED] Batch convert to m4a

I want to export my RPG MV game to mobile, but mobile only supports .m4a files for audio, and I've got tons of .ogg only files in my game. How do I mass convert them to .m4a?

[EDIT]
It's been solved here
There's also Format Factory. It converts everything to everything basically(And in mass, if necessary)
For best reading for forum users, i will paste the linked reddit answer:


You might use mmpeg, along with this bat file:

Spoiler
@echo off
call :treeProcess
goto :eof

:treeProcess
rem Do whatever you want here over the files of this subdir, for example:
for %%f in (*.ogg) do (
If Not Exist "%%~nf.m4a" (
"ffmpeg.exe" -i "%%f" "%%~nf.m4a"
)
)
for /D %%d in (*) do (
cd %%d
call :treeProcess
cd ..
)
exit /b

Original thread: https://forums.rpgmakerweb.com/threads/solved-batch-convert-to-m4a.89390/