Log in

View Full Version : 6 Wave files to 5.1 audio script


Crono141
15th August 2008, 02:10
Hey all,

I've been fighting with WME9 and various other software trying to get a DVD ripped to WMV with 5.1 preserved. For some reason, WME9 wouldn't take the AVI I created with AC3, nor will it take a separate AC3 file for input. So, I have an AVI of just video (no audio) and I have a wav file for each channel of the audio. I know this can work because I've seen it done before, but in a process I have no control over.

Batch file for ripping your DVD to WMV
Encodes with Dolby 5.1

To be used to rip only YOUR DVDs for personal use only


Written by Skibit
http://home.comcast.net/~skibit/
skibit@gmail.com
25 Nov 2006

My only guess is that he uses a script to compile the appropriate waves to the appropriate channels for encoding into a WMV. I'd like to use the WME9 interface to tweak my settings (such as bitrate, etc). Does anybody know how to make an avs script that will load into WME9 that will take a single wave file for each channel, and a separate video file for video?

Blue_MiSfit
15th August 2008, 02:22
So your goal is to feed (by way of AviSynth)

*Uncompressed 720x480 YV12 video (assuming NTSC :))
*Uncompressed 5.1ch 16bit 48 KHz audio

into WME?

If that's the case, then load the AC3 directly into the script with NicAC3Source(...)

~MiSfit

tebasuna51
15th August 2008, 09:43
The Blue_MiSfit method is good to don't waste time and disc space, but, if you need make some wav edit, after you can use:
fl = WavSource("G:\channelFL.wav")
fr = WavSource("G:\channelFR.wav")
fc = WavSource("G:\channelC.wav")
lf = WavSource("G:\channelLFE.wav")
sl = WavSource("G:\channelSL.wav")
sr = WavSource("G:\channelSR.wav")
audio51 = MergeChannels(fl, fr, fc, lf, sl, sr)

Blue_MiSfit
15th August 2008, 10:51
Hmm good to know as well! That could come in handy for me as well..

~MiSfit