Log in

View Full Version : BlankClip/Blackness problem


LRDX
15th September 2006, 14:51
Hello!

I have a problem with AVS' BlankClip/Blackness filter. The code I wrote is:
au=DirectShowSource("whatever.mpg").ResampleAudio(16000).ConvertAudioTo16bit().ConvertToMono()
vi=BlankClip(width=16, height=16, fps=25, color=$000000, length=au.Framecount)
AudioDubEx(vi,au)
I get an full lenght silence with the 16x16 black picture, but the imput file's audio (converted to 16kHz 16 bit mono) should be here.

What am I doing wrong?

foxyshadis
15th September 2006, 19:08
The audio plays fine when the script is nothing but directshowsource, right?

LRDX
20th September 2006, 13:01
If just the first line, then yes, it plays fine.

Problem is, that I need the script to add video (anything) when the source don't have any, because virtualdub does not load it if there is no video..