I'm desperate.
I need to extract the .aac
stream from ~1749 .m4a
files with ffmpeg
, but I can't get a batch file working for me and it would take years to do it manually.
This is what I use for single files:
ffmpeg -i example.m4a -vn -c:a copy example.acc
I don't want to convert the files - I only want to extract the .aac
audio stream (don't wanna lose more quality).
ffmpeg -i *.m4a -vn -c:a copy *.acc
isn't working and I don't know how to use for in loops since I'm not a programmer.
All loops I found on the internet aren't working for me.
OS: Windows 7 Professional.
I appreciate any help.
FOR %A IN ("C:\SourcePath\*.m4a") DO ffmpeg -i "%~A" -vn -c:a copy "C:\OutputPath\%~NA.acc"
. Do this from a command line manually too, not from a batch script and TEST it first too, do not run it against critical files until TESTING is complete.