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 ?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
-
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
-
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
EXITLast edited by Urban20; 29th Apr 2010 at 04:34.
-
I have changed the line: echo AUDIO INTERLEAVE 4 FR >> "!TMPAMG!" into: echo AUDIO INTERLEAVE 1 FR >> "!TMPAMG!"
Similar Threads
-
Quickest way to demux & mux audio tracks to MP4 containers?
By spycam in forum Video ConversionReplies: 3Last Post: 3rd Sep 2011, 02:32 -
MKV2VOB & TSMUXERGUI Won't Mux Entire Video
By FordGTGuy in forum Video ConversionReplies: 10Last Post: 11th May 2011, 13:14 -
Can't Mux audio & video streams to MP4 without a problem
By spycam in forum Newbie / General discussionsReplies: 3Last Post: 10th Nov 2010, 17:49 -
ASF2VC1 & transcode the audio WMA to AC3, then mux video VC-1 and audio
By tigerb in forum Newbie / General discussionsReplies: 0Last Post: 9th Jan 2010, 09:02 -
Mux & sync audio from different sources
By RWANDREWS in forum AudioReplies: 1Last Post: 9th Jan 2009, 11:06