使用 C# 和 WM Encoder SDK 获取 WM/图片

发布于 2024-07-14 03:26:34 字数 244 浏览 10 评论 0原文

我希望有人能帮助我指明正确的方向和/或提供样本供我查看。 我需要获取 WMA 文件中的 WM/图片字段,并使用 WM 编码器和 C# 进行解码。 我已经能够很好地获取所有其他标签,但 media.getAttributeCountByType("WM/Picture", "") 函数始终返回 0。但是 Windows Media Player 可以正确显示图片,并且我在同一个文件下看到两个隐藏的 JPG 文件音乐文件夹。 MSDN 没有提供太多相关信息。 谢谢。

I was hoping someone could help point me in the right direction and/or provide a sample for me to look at. I need to get the WM/Picture field inside a WMA file that I decode using WM Encoder and C#. I have been able to get all the other tags fine, but media.getAttributeCountByType("WM/Picture", "") function always return 0. But Windows Media Player can display the picture correctly and I saw two hidden JPG files under the same music folder. MSDN don't provide much information about it. Thanks.

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

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

发布评论

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

评论(1

痕至 2024-07-21 03:26:34

用c#编写聊天语音程序

program chat voice with c#

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