如何抓取用MCI(mciSendString函数)播放的影音文件中的图片

解决方案 »

  1.   

    The MCI_CAPTURE command captures the contents of the frame buffer and stores it in a specified file. Digital-video devices recognize this command.To send this command, call the mciSendCommand function with the following parameters.MCIERROR mciSendCommand(
      MCIDEVICEID wDeviceID, 
      MCI_CAPTURE, 
      DWORD dwFlags, 
      (DWORD) (LPMCI_DGV_CAPTURE_PARMS) lpCapture
    );
      

  2.   

    capture
    The capture command copies the contents of the frame buffer and stores it in the specified file. Digital-video devices recognize this command.To send this command, call the mciSendString function with the lpszCommand parameter set as follows.wsprintf(
      lpszCommand, 
      "capture %s %s %s", 
      lpszDeviceID, 
      lpszCapture, 
      lpszFlags
    ); 
      

  3.   

    不行啊?
    用这两中方法时出错提示是“使用的MCI设备不支持指定的命令”
      

  4.   

    那就看一下MCI Device Type了!
      

  5.   

    MCI Device Type中digitalvideo和overlay才支持
    而我用的是MPEGVideo
    急啊!findcaiyzh(秋心) :想一想,帮帮我,我有2000多可用分