通过语音识别Kinect SDK播放视频文件 [英] Playing a video file prompted by speech recognition Kinect SDK
本文介绍了通过语音识别Kinect SDK播放视频文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在试图弄清楚如何播放视频文件,例如.wmv或.avi。我想开始在
上播放视频
window 当我说"播放"时或者"停止"。
I am trying to figure out how to play a video file such as a .wmv or .avi. I want to start playing the video on the window when I say "Play" or "Stop".
这是语音识别代码,但我无法弄清楚如何播放视频文件。
Here is the speech recognition code but I cant figure out how to play a video file.
请
help 我将非常感谢
谢谢
推荐答案
可以使用 MediaElement 控件播放视频文件。
The video file can by played by using MediaElement control.
检查一下。
http://www.c-sharpcorner.com /UploadFile/mahesh/VideoWPF04082007164613PM/VideoWPF.aspx
您可以包含 在你的演讲活动中播放/暂停/停止代码。
You can include play/pause/stop code in your speech events.
希望这会有所帮助!
这篇关于通过语音识别Kinect SDK播放视频文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文