For starters this is a batch file I use along with ffmpeg.exe to demux all the mp3s from its avi container:
I then used MP3gain to normalize all of them.Code:dir *.avi /b >list.txt FOR /f %%A IN (list.txt) DO (ffmpeg -i "%%A" -acodec copy -vn "%%~nA.mp3" >nul)
Now I wish to mux the mp3s back into its AVI container (which has to replace the original mp3 inside the avi). The file names match for each mp3/avi.
I could manually do this via virtualdub and add them to a job list but that would take too long and become repetitive as I have to load each file, disable the original mp3 audio stream, add the newly modified mp3 and then add it to the job list but this would defeat the purpose of my question.
How do I automatically mux many mp3s into its avi? Like a cli, script or batch or better yet a GUI program?
Edit: [s:e12c35f4f2]TIA [/s:e12c35f4f2]I would really appreciate it.![]()
+ Reply to Thread
Results 1 to 3 of 3
-
-
ATM, I devised a temporary solution to my problem with the following code:
Code:for %%A in (*.avi) do ffmpeg -i "%%~nA.mp3" -acodec copy -i "%%A" -vcodec copy "%%~nA_new.avi"
For example, GSpot reports the original AVI file as:
Code:OpenDML (AVI v2.0)
Code:AVI v1.0
So does anyone know the ffmpeg command switch/line to make it OpenDML (AVI 2.0)?
I would really appreciate it. -
I just learned that if AVI files are < 2GB, then OpenDML doesn't affect its playability in a standalone DivX player.
Similar Threads
-
MUX Mp3 Into AVI
By onesikgypo in forum LinuxReplies: 4Last Post: 13th Apr 2010, 01:05 -
AVI-MUX: How do I mux avi file with a setting of "preload=512?"
By Stealth3si in forum EditingReplies: 3Last Post: 1st Feb 2010, 10:10 -
command line tool to automatically cut avi file in HALF
By Choller in forum EditingReplies: 2Last Post: 1st Jan 2010, 02:19 -
Alternative to AVI-mux GUI?
By badreligionhead in forum Video ConversionReplies: 3Last Post: 8th Dec 2009, 12:30 -
h264 + ac3... .mkv mux in synch, .avi mux out of synch...
By homerpez in forum Video ConversionReplies: 0Last Post: 5th May 2007, 05:42