缺少“内容导入器"选项在 XNA 中(尝试导入视频) [英] Missing option for "Content Importer" in XNA (trying to import video)

查看:37
本文介绍了缺少“内容导入器"选项在 XNA 中(尝试导入视频)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://klucher.com/files/media/image/WindowsLiveWriter/VideoSupportinXNAGameStudio3.1_8E34/image_2.png

我没有WMV 视频文件 - XNA 框架"选项.

I don't have the option "WMV Video File - XNA Framework".

我导入的视频采用 WMV 格式,并使用 Microsoft Expression Encoder 4 进行编码,设置设置为预定义的VC-1 Xbox 360 HD 720p",因此我认为视频没有任何问题... 未启用 DRM.

The video I'm importing is in WMV format and was encoded using Microsoft Expression Encoder 4 with the settings set to the predefined "VC-1 Xbox 360 HD 720p" so I don't think there's anything wrong with the video... DRM is not enabled.

其他一些人也有这个问题,但他从未找到解决方案(或者他找到了但没有费心发布) - http://forums.xna.com/forums/p/51297/310710.aspx

Some other guy had this problem too but he never found a solution (or he did but didn't bother to post it) - http://forums.xna.com/forums/p/51297/310710.aspx

是的,我使用的是 XNA 3.1,视频放在 HighResolutionContent 文件夹中名为Videos"的文件夹中.

And yes I'm on XNA 3.1 and the video is put in a folder called "Videos" in the HighResolutionContent folder.

我现在不知道该怎么办!请如果有人对我应该如何进行有任何想法,请帮助!

I have no idea what to do now! Please if anyone has any idea on how I should proceed, help!

谢谢.

推荐答案

您需要确保添加对内容项目的引用:Microsoft.Xna.Framework.Content.Pipeline.VideoImporters

You need to make sure you add a reference to your Content Project for: Microsoft.Xna.Framework.Content.Pipeline.VideoImporters

希望有所帮助.

这篇关于缺少“内容导入器"选项在 XNA 中(尝试导入视频)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆