Log in

View Full Version : Ac3


Scourveson
26th May 2004, 19:33
Hi!
I load two AC3 files and I want produce one AC3 file. This is my script:

a1 = DirectShowSource("file1.ac3")
a2 = DirectShowSource("file2.ac3")
v = ImageReader("c:\1.jpg", 0, 2501412, 25, false)
a2 = DirectShowSource("d:\test\harry.ac3")
a3 = DelayAudio(a2,+2.0)
a = a1+a3
AudioDub(v,a)

Next, I load this script to VDM. I click Stream/Stream list and what do I see? I see that audio is PCM format, why? Can AviSynth produce audio in AC3 format?

Wilbert
26th May 2004, 20:11
It delivers uncompressed audio. 6 channels in your case.

krieger2005
26th May 2004, 21:24
Creating a AC3-File: BeSweet

Creating a Delay for a AC3-File: delaycut
concatenate: copy /b a.ac3+b.ac3 c.ac3 and then AC3Fix

So my way to do this is
Using delaycut and then concatenate the files...

Maybe my knowledge is not up to date... I think in the Audio-Conversation-Forum you can read more about

greets
krieger2005