I've been using the code shown below to copy the AAC audio stream from 1 M4A container into a new M4A container.
ffmpeg -i "C:/Example/01 Example Song.m4a" -acodec copy "C:/Example2/01 Example Song.m4a"
I would like to do batch jobs instead of typing the details out for each file. I do NOT want to run a script. The code should do as a I have been, but will copy AAC streams from ALL the M4A files in the directory "C:/Example/" to an output of the same name in "C:/Example2/".
I'm using the 64bit static version of ffmpeg on Windows 8; this is my first time using ffmpeg so I would appreciate it if you'd disect your answer so that I can learn what each bit does.
forfiles /P "D:\Music\input" /C "cmd /c ffmpeg -i @file -acodec copy ..\output\\@file-out.mp3"
. This assumes that you already have a folder namedoutput
under *D:\Music*