+ 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. Replies: 3
    Last Post: 1st Feb 2010, 11:10
  2. h264 + ac3... .mkv mux in synch, .avi mux out of synch...
    By homerpez in forum Video Conversion
    Replies: 0
    Last Post: 5th May 2007, 06:42
  3. Problem in Adding Sub to AVI using AVI-Mux GUI
    By Frenzy_ns in forum DVD Ripping
    Replies: 3
    Last Post: 23rd Nov 2006, 00:51
  4. Good Program to Check AVI / MP3s for Errors?
    By christopheramos in forum Newbie / General discussions
    Replies: 1
    Last Post: 12th Sep 2006, 20:10
  5. Is there a way to tag avi files like id3 for mp3s?
    By Dragonbate in forum Newbie / General discussions
    Replies: 0
    Last Post: 1st Mar 2005, 19:14
About   Advertise   Forum   RSS Feeds   Statistics   Tools