Hello, I have many MP4 files that include video and AAC audio. I would like to batch mux these files to just have the audio in M4A format.
Using information from this forum, I am able to use MP4Box to demux and remux to achieve this result; however, I am unable to write a script to do it and doing this multi-step process will take too long. I am also happy to try a GUI that would achieve this. I tried YAMB (MP4Box) GUI and it was not able to do this batch sequence either. Any advice on how to do this?
Input: MP4 file with aac audio and video
Output: M4A file with only aac audio
Thank you for your help
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 5 of 5
Thread
-
-
Try this for batch
Code:for %%a in ("*.mp4") do "mp4box.exe" -raw 2 "%%~na.mp4" for %%a in ("*.mp4") do ren "%%~na_track2.aac" "%%~na.m4a" pause
Last edited by arielacade; 4th Oct 2015 at 15:26.
-
I was able to write the script by combining both of your responses:
Thanks!Last edited by meganoob; 4th Oct 2015 at 21:22.
-
Code:
@echo off set MP4box="C:\ .... your path to MP4Box .... \MP4box.exe" for %%a in ("*.mp4") do %MP4box% -add "%%~na.mp4"#audio -new "%%~na.m4a" pause
Similar Threads
-
Muxing video and audio into mp4
By gracemichelle in forum EditingReplies: 3Last Post: 13th Mar 2015, 19:31 -
fixing audio sync without changing the video/audio quality of mp4 video
By aruwin in forum AudioReplies: 3Last Post: 7th Aug 2014, 23:10 -
How 2 convert MP4 w/3 audio trax+1 vid trac into MP4 w/1 audio+video trac?
By Whitezombie455 in forum Video ConversionReplies: 11Last Post: 17th Nov 2013, 02:14 -
Nondestructively move h.264 from MKV to m4a (mp4) while compressing Audio?
By pwes in forum MacReplies: 9Last Post: 27th May 2013, 16:05 -
De-Muxing video and audio
By mobie29 in forum Authoring (Blu-ray)Replies: 2Last Post: 15th Dec 2010, 18:24