Log in

View Full Version : How can get VOB data using makeAVIS??


bozitaai
25th January 2005, 08:19
Base on makeAVIS program, the program can link with avisynth.dll to get data (if the source is AVI/MPEG-1 file) via the following code.

PVideoFrame vf=NULL;
const unsigned char* pBuffer=NULL;
vf = (*clip)->GetFrame(nFrame, env);
pBuffer = vf->GetReadPtr();


Suppose that the program can apply on the MPEG-2/VOB file, but actually, I can't get any reasonable data, any suggestion?

Sample script looks like:
video = mpeg2source("C:\Test.d2v")
audio = DirectShowSource("C:\Test.wav")
AudioDub(video, audio)


Thank you!!

Wilbert
25th January 2005, 09:48
It should also work for MPEG-2/VOB files. Btw, why don't you use WavSource for your audio?