VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Hello,

    I have many mp3 and divx files. I can mux one-by-one with VirtualDub, but it would take a lot of time.
    Audio and video names are the same. What muxing software do you recommend and how ?
    Quote Quote  
  2. Member
    Join Date
    May 2005
    Location
    Toronto ||*||
    Search Comp PM
    Assuming the video files are named with an .AVI file extension and the audio as .MP3 then the info below should work (did for me). Subsitute the (*.avi) part with the actual extension you're dealing with (i.e > .raw,m4v etc) and the audio extension.

    C&P the line below into a text file and save as a .bat file in the same directory as your a/v files and mencoder.
    Download mencoder binary here: http://kovensky.project357.com/

    for %%i in (*.avi) do mencoder -ovc copy -oac copy -ffourcc XVID -forceidx %%i -audiofile %%~ni.mp3 -o %%~ni_new.avi

    I'd recommend you keep file names short without any gaps to avoid errors.
    Last edited by VirtualDoobMon; 26th Mar 2010 at 14:32. Reason: bold
    Quote Quote  
  3. After having played all videos there has been a problem of slowly playing some videos.

    I use Avi-mux command line (in *.BAT) for creating scripts, putting Avi-mux to folder \A audios & videos in the same root folder and ceating \out (config : no reading & writing asynchronously, unbuffered reading and writing, no checking for CBR, no VBR forcing) :

    for %%f in (*.avi) DO (
    setlocal ENABLEDELAYEDEXPANSION ENABLEEXTENSIONS

    set TMPAMG=%%~nf.amg

    set SRCVFN=%%~dpf%%~nf.avi
    set SRCAFN=%%~dpf%%~nf.mp3
    set MUXFLN=%%~dpfout\%%~nf.avi

    echo CLEAR > "!TMPAMG!"
    echo LOAD !SRCVFN!>> "!TMPAMG!"
    echo LOAD !SRCAFN!>> "!TMPAMG!"
    echo SELECT FILE 1 >> "!TMPAMG!"
    echo ADD VIDEOSOURCE >> "!TMPAMG!"
    echo SET OUTPUT OPTIONS >> "!TMPAMG!"
    echo WITH SET OPTION >> "!TMPAMG!"
    echo OVERWRITEDLG 0 >> "!TMPAMG!"
    echo CLOSEAPP 1 >> "!TMPAMG!"
    echo DONEDLG 0 >> "!TMPAMG!"
    echo MAXFILES OFF >> "!TMPAMG!"
    echo STDOUTPUTFMT AVI >> "!TMPAMG!"
    echo AVI ADDJUNKBEFOREHEADERS 0 >> "!TMPAMG!"
    echo MP3 CBR FRAMEMODE 0 >> "!TMPAMG!"
    echo AUDIO INTERLEAVE 1 FR >> "!TMPAMG!"
    echo PRELOAD 24 >> "!TMPAMG!"
    echo AVI HAALIMODE 0 >> "!TMPAMG!"
    echo OPENDML 0 >> "!TMPAMG!"
    echo LEGACY 0 >> "!TMPAMG!"
    echo RECLISTS 0 >> "!TMPAMG!"
    echo END WITH>> "!TMPAMG!"
    echo START !MUXFLN!>> "!TMPAMG!"
    ENDLOCAL
    )

    for %%f in (*.amg) DO (
    "A/AVIMux_GUI.exe" "%%~ff"
    )

    del /f /q *.amg

    EXIT
    Last edited by Urban20; 29th Apr 2010 at 04:34.
    Quote Quote  
  4. I have changed the line: echo AUDIO INTERLEAVE 4 FR >> "!TMPAMG!" into: echo AUDIO INTERLEAVE 1 FR >> "!TMPAMG!"
    Quote Quote  



Similar Threads