相机视频输入预览 [英] Camera video feed preview
问题描述
大家好,
我正在构建一个Windows RT应用程序,允许我对Camera feed进行一些过滤。所以基本上我想要
相机Feed - > "框架就绪"回电功能 - >过滤 - >编码到视频 - >存储到磁盘
我迷失在所有API中,但是任何人都可以指向我的示例代码/ API,我可以在其中指定Frame是准备好的回调函数,以及什么有视频编码API吗?
谢谢,
mengxiz
您好,
我不完全确定您要完成的工作,但您可以查看以下MediaCapture示例。
使用网络摄像头样本进行媒体捕获
http://code.msdn.microsoft.com/windowsapps/Media-Capture-Sample-adf87622
我希望这有帮助,
詹姆斯
Hi all,
I'm looking to build a windows RT app that allows me to do some filtering to Camera feed. So basically I want
Camera feed -> "Frame is ready" call back function -> filtering -> Encode to video -> store to disk
I'm getting lost in all the APIs, but can anyone point me to sample code/APIs where I can specify a Frame is ready call back function, as well as what video encoding API is there?
Thanks,
mengxiz
Hello,
I'm not entirely sure what you are trying to accomplish but you can take a look at the following MediaCapture sample.
Media capture using webcam sample
http://code.msdn.microsoft.com/windowsapps/Media-Capture-Sample-adf87622
I hope this helps,
James
这篇关于相机视频输入预览的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!