关于grabber sample,微软说:
This is a transform filter that you can insert inline of a media stream
which can "capture" the data travelling through the stream and notify
your application on a callback. Since it is a transinplace transform,
it won't cause extra application loading because it intercepts the
media stream. However, if your callback takes a long time to process,
this benefit will be greatly reduced.
这是一个transform filter,可将之插入到媒体流之间,能“抓取”媒体流中流过的数据并通过一个回调通知你的应用.
因为这是一个in place trasnform filter(应该知道吧!),它不会给应用造成额外的负担,因为它是中途截取媒体流(潜台词是:直接在这个流上转换,不需要另建缓冲)。当然,如果你的回调要执行很长时间的话,这个优点将被限制。