i have some around 10 tv tuners, i have to select a particular one, and get a hold of it, after getting hold on any one tv tuner of the users choice, i have to set the crossbar, by default it was antenna cable, so i have changed it to composite video. after setting the i have build the capture graph filter. then after this i have tried to capturing the video from the running stream from the tuner for some specified time............... after this i m trying to capture the bitmap from the same file, which is working fine.......... but if i try to capture the bitmap before the video capturing then i m facing the problem
i hav used iSampleGrabber interface, the mathods to set the one shot mode, to set the buffer is all done, but for GetCurrentBuffer method, its giving error. by checking all the posssible return values i found the GetCurrentBuffer method is returning VFW_E_WRONG_STATE, which means the filter is not receiving the samples..................
any suggestion would b appreciable
mail ID: balure_1986a@yahoo.co.in
phone: +919916617459
nationality: Indian
student