是否有 Windows 视频编解码器通用对话框?

发布于 2024-08-17 22:27:41 字数 337 浏览 5 评论 0原文

Windows 是否有用于选择视频编解码器的通用对话框?如果有的话,我怎样才能在c#中创建一个?我这么问是因为我目前正在使用一个插件进行开发,该插件似乎包含非常过时的编解码器,并且不确定该插件是否只是从系统中检索编解码器列表。我没有插件的源码,所以无法直接看源码。

附件是对话框的屏幕截图:

屏幕截图 http://www.freeimagehosting.net/uploads/fb936bd413 .png

谢谢!

Does Windows have a common dialog to select video codecs? If there is one, how can I create one in c#? I'm asking because I'm currently developing with a plugin that seems to have included extremely dated codecs, and am not sure if the plugin is simply retrieving a list of codecs from the system. I don't have the source of the plugin, so I can't look at the source code directly.

Attached is a screenshot of the dialog:

Screenshot http://www.freeimagehosting.net/uploads/fb936bd413.png

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

海未深 2024-08-24 22:27:41

这看起来像 Windows 视频中的保存选项对话框。具体来说,我相信这是当您使用 avifil32.dll 中的 AviSaveOptions 函数时弹出的对话框。

如果您愿意,您可以使用 P/Invoke 从 C# 调用它。

该对话框确实从系统获取视频编解码器列表。但是,VfW 仅支持 VfW 编解码器,而不支持较新的 DirectShow 编解码器。您的系统上安装的任何更现代的编解码器都可能是 DirectShow 编解码器。

如果您想要更现代的编解码器,则必须安装该编解码器的 VfW 版本。

That looks like the save options dialog from Video for Windows. Specifically, I believe that's the dialog that pops up when you use the AviSaveOptions function from avifil32.dll.

You could probably call that from C# using P/Invoke if you wanted to.

The dialog does get a list of video codecs from the system. However, VfW only supports VfW codecs, not the newer DirectShow codecs. Any of the more modern codecs you might have installed on your system are going to be DirectShow codecs, more likely than not.

If you want a more modern codec, you're going to have to install a VfW version of that codec.

稍尽春風 2024-08-24 22:27:41

不,C# 中没有以 CommonDialog 形式提供的可直接访问的编解码器列表。

金融理财师。

No, there is no directly accessible codecs list available in the form of a CommonDialog in C#.

CFP.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文