VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Hi,
    I've got thousands of avi+wav file pairs with the same name per pair:



    Have you got an idea what would be the fastest (i.e. batch automated) way to join each pair into one file?

    thanks,
    jim glazky
    Quote Quote  
  2. Member mats.hogberg's Avatar
    Join Date
    Jul 2002
    Location
    Sweden (PAL)
    Search Comp PM
    AvimuxGUI has some kind of script support - maybe worth checking out...

    /Mats
    Quote Quote  
  3. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    Since AVI supports audio streams, there's a possibility that your AVI files already have an audio stream in them. You'll want to find out so that you don't inadvertently replace the current audio with the WAV's audio. Of course, if you WANT to do that, fine.

    You could also add the WAV stream and end up with multiple audio streams in an AVI. This might cause problems with apps that don't understand this feature of AVIs.

    Scott
    Quote Quote  
  4. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    OK, this script seems to work to automatically mux it.

    Try it with 1 avi/wav pair first, then you can copy all of your AVIs and WAVs into the same folder
    as the Avimux.bat script. It should work pretty well, as long as you don't have spaces in your file names.

    Code:
    avimux.bat
    ffmpeg.exe
    mencoder.exe
    file1.avi
    file1.wav
    my.file.avi
    my.file.wav
    Double click on Avimux.bat - the output files will be named Muxed_oldfilename.avi
    Your source files won't be touched.

    after running avimux.bat
    Code:
    avimux.bat
    ffmpeg.exe
    mencoder.exe
    file1.avi
    file1.wav
    my.file.avi
    my.file.wav
    muxed_my.file.avi
    muxed_file1.avi
    http://www.bestsharing.com/files/nEW0Ox228994/avimux.zip.html
    Quote Quote  
  5. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    What does the script do if there's already an audio stream in the AVI? add or replace?

    Scott
    Quote Quote  
  6. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    It will add another track of audio. We can easily set the script up to demux the existing audio track and replace it with the WAV. Hopefully, we'll hear back from glazky
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!