Batch wrap AAC in mp4/m4a
Mar 12, 2016 at 6:37 AM Thread Starter Post #1 of 2

kylezo

100+ Head-Fier
Joined
Jan 23, 2007
Posts
185
Likes
20
Hey ya'll,

I have a bunch of aac I demuxed from some mp4 videos, and I want to get them over to m4a eventually to throw them into picard and get all my metadata on there and have them compatible with my devices. I have YAMB and Avanti but Avanti doesn't seem to have this functionality built in, and YAMB throws errors every time I try to mux the aac to m4a or mp4 (although really oddly sometimes I get a file output that sounds ok even when it says muxing failed). I was able to batch demux with Avanti very easily and smoothly but I'm stumped for the next step.

It is my understanding that this should be a trivial task with YAMB. Am I an idiot?
 
Mar 13, 2016 at 5:54 AM Post #2 of 2
Still no solution on the YAMB thing, but I ended up with this script for ffmpeg:
 
Code:
 set thisdir=%1 set "new_directory=E:\MP4" For /R %thisdir% %%J IN (*.aac) do ( "path_to_ffmpeg\bin\ffmpeg.exe" -v error -i "%%J" -acodec copy -bsf:a aac_adtstoasc -vn "%new_directory%\%%~nJ.mp4" ) pause
 

Users who are viewing this thread

Back
Top