Log in

View Full Version : CCE and AviSynth v2.5 users


Wilbert
30th January 2003, 16:54
Normally you had to end your script with "ResampleAudio(44100)" to add a silent audio stream, when loading your avs in CCE 2.5.

This doesn't work anymore with AviSynth v2.5 (cause ResampleAudio doesn't result in a silent audio stream anymore). Instead make a script (called "addaudio.avsi") as described here (http://www.avisynth.org/index.php?page=AddAudio), and put it in your plugin dir.

Just to let you know ...

madluther
30th January 2003, 18:42
You could also try this

http://forum.doom9.org/showthread.php?s=&threadid=42450

blue
2nd February 2003, 02:13
The script provided by the link does not work for me! In my opinion you cannot give "Blankclip" the clipname "v1" because that's the variable which refers to the movie we are trying to add audio to!

Wilbert
3rd February 2003, 10:19
The script provided by the link does not work for me! In my opinion you cannot give "Blankclip" the clipname "v1" because that's the variable which refers to the movie we are trying to add audio to!
That's the purpose of that. The reason is it takes the properties of v1 (like weight, height, fps). Could you try it again and state the error message ?

blue
3rd February 2003, 12:05
When I want to play the .avs in the Media Player I get "Not enough memory"!

So this one won't play:

function AddAudio(clip v1) {
v2 = Blankclip(v1,audio_rate = 44100, sixteen_bit=true)
v1 = AudioDub(v1,v2)
return v1
}

And this one will play (with audio):

function AddAudio(clip v1) {
v2 = Blankclip(audio_rate = 44100, sixteen_bit=true)
v1 = AudioDub(v1,v2)
return v1
}

So what I ment was, that you name "Blankclip" "v1" and the movie we want to dub also "v1" and in my opinion the only thing you add audio to is "Blankclip" again! That's my opinion...of course, I may be wrong....:)

sh0dan
3rd February 2003, 17:05
Check the syntax - the out-of-memory error usually occurs, whe you forgot the last '}' or something like that.

The syntax of AddAudio (as shown on the page) is correct and should work.