如何让视频捕捉停止?

fenex 2003-02-25 10:14:42
用capCaptureSetSetup可以设置在按下某个键后停止视频捕捉(也就是捕捉的回调函数不再被调用),但是如何用函数语句来控制停止视频捕捉呢?试过用postmessage好像没有什么效果。
...全文
109 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
fenex 2003-02-27
  • 打赏
  • 举报
回复
vinci(vinci):
开始只看到capCaptureAbort,后来仔细一看又发现了capCaptureStop,所以现在用的已经是capCaptureStop了。
谢谢!
LanceX 2003-02-25
  • 打赏
  • 举报
回复
可不可以把视频窗口一起关闭呢?然后重新生成视频窗口。
vinci 2003-02-25
  • 打赏
  • 举报
回复
注意:
In the case of step capture, the image data collected up to the point of the capCaptureAbort macro will be retained in the capture file, but audio will not be captured.

Use the capCaptureStop macro to halt step capture at the current position, and then capture audio.

最好使用capCaptureStop
fenex 2003-02-25
  • 打赏
  • 举报
回复
用capCaptureAbort(m_hCapWnd);就可以了
问题已经解决

2,543

社区成员

发帖
与我相关
我的任务
社区描述
专题开发/技术/项目 多媒体/流媒体开发
社区管理员
  • 多媒体/流媒体开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧