VideoHelp.com Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date: Nov 2005
    Location: United States
    For starters this is a batch file I use along with ffmpeg.exe to demux all the mp3s from its avi container:

    Code:
    dir *.avi /b >list.txt
    FOR /f %%A IN (list.txt) DO (ffmpeg -i "%%A" -acodec copy -vn "%%~nA.mp3" >nul)
    I then used MP3gain to normalize all of them.

    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.
    Quote Quote  

  2. Member
    Join Date: Nov 2005
    Location: United States
    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"
    However, Gspot reports the final AVI file as AVI 1.0.

    For example, GSpot reports the original AVI file as:
    Code:
    OpenDML (AVI v2.0)
    but after the operation the resulting AVI file is:
    Code:
    AVI v1.0
    Unless it doesn't affect its playability in a standalone DivX player, I want the OpenDML feature to be retained.

    So does anyone know the ffmpeg command switch/line to make it OpenDML (AVI 2.0)?

    I would really appreciate it.
    Quote Quote  

  3. Member
    Join Date: Nov 2005
    Location: United States
    I just learned that if AVI files are < 2GB, then OpenDML doesn't affect its playability in a standalone DivX player.
    Quote Quote  




Similar Threads

  1. MUX Mp3 Into AVI
    By onesikgypo in forum Linux
    Replies: 4
    Last Post: 13th Apr 2010, 01:05
  2. Replies: 3
    Last Post: 1st Feb 2010, 10:10
  3. Replies: 2
    Last Post: 1st Jan 2010, 02:19
  4. Alternative to AVI-mux GUI?
    By badreligionhead in forum Video Conversion
    Replies: 3
    Last Post: 8th Dec 2009, 12:30
  5. h264 + ac3... .mkv mux in synch, .avi mux out of synch...
    By homerpez in forum Video Conversion
    Replies: 0
    Last Post: 5th May 2007, 05:42
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools