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!!
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!!