VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member Ygramul's Avatar
    Join Date
    Jan 2007
    Location
    Poland
    Search Comp PM
    I have hundreds of avi's and I want to process them in a batch. All of them are 640x480 XVid avi's @ 29,97. I know how to remove audio streams in VirtualDub, but I don't want to spend the next 3 years editing them one by one. Is there a way to script the whole thing?

    P.S. I don't know if I posted this in the correct forum
    Quote Quote  
  2. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    What exactly do you want to do?
    What is the goal?

    Do you want to extract the audio only?
    Convert it?
    Or when you say 'remove' do you actually mean you'd like to be left with video only avis?

    River past audio converter is probably the easiest thing if conversion is a factror as you can drag
    and drop avis directly and set a common output target. It should also work with simple audio extraction as well, for most things. Certainly will with mp3.

    There's also nothing wrong with using the vdub job control. It takes well under a minute to set up each file. Not very long even when you've got hundreds of files + a level of independent control depending on what you are doing.

    You could also seperate the files according to the audio contained. A directory for each type.
    Download ffmpeg.
    Put it in each directory (for ease).
    Create a batch file for each with the following code (changing 'mp3' to the correct extension for each type)
    Code:
    FOR %%A IN (*.avi) DO (ffmpeg -i "%%A" -acodec copy -vn "%%A.mp3" >nul)
    Run batch in each directory.

    Code:
    FOR %%A IN (*.avi) DO (ffmpeg -i "%%A" -vcodec copy -an "%%A.avi" >nul)
    For avis without audio, in case that's what you want.
    Quote Quote  
  3. Member Ygramul's Avatar
    Join Date
    Jan 2007
    Location
    Poland
    Search Comp PM
    I want to remove the audio completely, so River Past is out of the question. Each avi has a single mp3 stream @ 128 kbps. VDub has script support, how can I use it? I know how to do a few things in that program, but unfortunately I have no idea about scripts. All I know is that I can save processing settings with Ctrl + S. I've never used ffmpeg so I have no idea what you're talking about
    Quote Quote  
  4. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    45tripp's suggestion to use ffmpeg is a good one....


    Copy the 2 files in this zip into the same folder as your AVIs. Double click Demux_video.bat to start. Output files will have a V- in front of the name.

    demux_video.zip
    Quote Quote  
  5. Member Ygramul's Avatar
    Join Date
    Jan 2007
    Location
    Poland
    Search Comp PM
    Thanks, Soopafresh! You rule! Works like a charm.
    Quote Quote  
  6. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Happy to help out, but it was really 45tripp's idea....
    Quote Quote  
  7. Thanks!
    Last edited by newhampshirefarms; 7th Feb 2012 at 15:04.
    Quote Quote  



Similar Threads

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