通过语音识别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.

希望这会有所帮助!