PDA

View Full Version : CacheAudio [Development]


sh0dan
15th December 2003, 14:50
Let's take the development stuff from this thread (http://forum.doom9.org/showthread.php?s=&threadid=66798) and keep it here.

This :

AviSource("D:\fov.avi")
cacheaudio()
a1=getchannel(1)
a2=getchannel(1).delayaudio(0.1)
mergechannels(a1,a2)


Produces garbage and sometimes crashes. Audio is plain 16bit, 48khz, 2 channel audio.

I have implemented it into AviSynth, but didn't notice it was buggy until I tried it on Histogram("stereo").

WarpEnterprises
15th December 2003, 16:56
strange. works fine here.
avs version 2003-11-16

does it crash with

ColorBars(100,100)
cacheaudio()
a1=getchannel(1)
a2=getchannel(1).delayaudio(0.1)
mergechannels(a1,a2)
histogram("stereo")
converttorgb32


But one reason could be the missing handling of requests<0.

sh0dan
15th December 2003, 17:21
It's probably just because of the AVI-file. I tried a few other files and it worked nicely.