FiltDTop

所属分类:Windows编程
开发工具:Visual C++
文件大小:56KB
下载次数:47
上传日期:2005-11-30 15:31:05
上 传 者IBM
说明:  不用我翻译了吧,呵呵FiltDTop - Directshow Filter for capturing the desktop Feel free to use or modify this code as you see fit. USE AT YOUR OWN RISK! This sample was adapted from the MS PushSource sample. It has its own GUID so the two won t interfere with each other. To use, copy PushSource.ax to the directory where you want it to live, then run: RegSvr32 PushSource.ax
(I do not have to translate it, huh FiltDTop- Directshow Filter for capturing the desktop Feel free to use or modify this code as you see fit. USE AT YOUR OWN RISK! This sample was adapted from the MS PushSource sample. It has its own GUID so the two won t interfere with each other. To use, copy PushSource.ax to the directory where you want it to live, then run : RegSvr32 PushSource.ax)

文件列表:
DibHelper.cpp (2268, 2005-08-15)
DibHelper.h (362, 2005-08-15)
PushGuids.h (434, 2005-08-15)
PushSource.def (265, 2005-08-15)
PushSource.h (2905, 2005-08-15)
PushSource.rc (745, 2002-11-12)
PushSource.sln (1005, 2005-08-15)
PushSource.vcproj (7693, 2005-08-15)
PushSourceDesktop.cpp (12674, 2005-08-15)
Release_Unicode (0, 2005-08-15)
Release_Unicode\PushSource.ax (102400, 2005-08-15)
setup.cpp (3153, 2005-08-15)

FiltDTop - Directshow Filter for capturing the desktop Feel free to use or modify this code as you see fit. USE AT YOUR OWN RISK! This sample was adapted from the MS PushSource sample. It has its own GUID so the two won't interfere with each other. To use, copy PushSource.ax to the directory where you want it to live, then run: RegSvr32 PushSource.ax To get an instance of this class from C#, use: /// /// CLSID_PushSourceDesktop2 /// [ComImport, Guid("482374A1-FC1A-434d-A663-620FAD5237***")] public class PushSourceDesktop2 { } Then you can just use IBaseFilter ibf = (IBaseFilter)new PushSourceDesktop2(); Source is included so you can fiddle with things. One thing that you might want to play with is the framerate (currently set to 30fps). To rebuild this project, you will need to acquire (and build) the "BaseClasses" project from the platform sdk. You will almost certainly want to use some type of video compression with this filter. Otherwise the output will become huge.

近期下载者

相关文件


收藏者