我想用DES中的IAMTimeline实现视频流的切割,最后输出到文件保存,要用到Render Engine,看了下这篇文献《Writing a Project to a File》,里面有两行注解要怎么设呢,假如AVI格式: 
// Create a compressor filter. (Not shown.)  
// Set compression parameters. (Not shown.)  
示例代码如下:
// Loop through the groups and get the output pins.
for (i = 0; i < NumGroups; i++)
{
  IPin *pPin;
  if (pRender->GetGroupOutputPin(i, &pPin) == S_OK)  
  {
  IBaseFilter *pCompressor;
  // Create a compressor filter. (Not shown.)
  // Set compression parameters. (Not shown.)  // Connect the pin.
  pBuilder->RenderStream(NULL, NULL, pPin, pCompressor, pMux);
  pCompressor->Release();
  pPin->Release();
  }
}