Welcome![Sign In][Sign Up]
Location:
Search - IsampleGrabberCB

Search list

[Graph programAudioGrabber

Description: Add the ISampleGrabberCB to the main class of your app: TForm1 = class(TForm, ISampleGrabberCB) You have to create the following in your main class: Private FSampleGrabber : IBaseFilter m_SampleGrabber: ISampleGrabber function SampleCB(SampleTime: Double pSample: IMediaSample): HResult stdcall function BufferCB(SampleTime: Double pBuffer: PByte BufferLen: longint): HResult stdcall .. etc end function TForm1.SampleCB(SampleTime: Double pSample: IMediaSample): HResult begin Result := E_NOTIMPL end -Add the ISampleGrabberCB to the main class of your app: TForm1 = class(TForm, ISampleGrabberCB) You have to create the following in your main class: Private FSampleGrabber : IBaseFilter m_SampleGrabber: ISampleGrabber function SampleCB(SampleTime: Double pSample: IMediaSample): HResult stdcall function BufferCB(SampleTime: Double pBuffer: PByte BufferLen: longint): HResult stdcall .. etc end function TForm1.SampleCB(SampleTime: Double pSample: IMediaSample): HResult begin Result := E_NOTIMPL end
Platform: | Size: 1024 | Author: Manria | Hits:

[Special EffectsRead-a-frame-of-video

Description: 读取视频中的某一帧图像,用户可以从视频中截取一副图片。-Read a frame of video,user image from the video in the interception,and can get details of the image.
Platform: | Size: 28672 | Author: 薛瑞恒 | Hits:

[DirextXdirectshow-caputure-and-save

Description: directshow采集视频,实现dshow ISampleGrabberCB接口,可以捕获视频帧,并保存-This is a program using dshow to capture vedio and it realize to same vedio frame
Platform: | Size: 5485568 | Author: lsh | Hits:

CodeBus www.codebus.net