如何读取标签出M4A文件.NET?标签、文件、M4A、NET

2023-09-03 21:06:09 作者:何必自欺欺人

我有一些重大的修改,code,最终来自Windows媒体SDK 的伟大工程的读取标签出MP3和 WMV 文件。沿线某处,Windows媒体播放器增加了对的.m4a 文件(这是在Windows 7?),但Windows媒体API似乎并没有反映,加入(或至少 IWMMetadataEditor2 :: OpenEx pukes上的.m4a文件)。

I've got some heavily modified code that ultimately came from the Windows Media SDK that works great for reading tags out of MP3 and WMV files. Somewhere along the line, Windows Media Player added support for .m4a files (was it in Windows 7?) but the Windows Media API doesn't seem to reflect that addition (or at least IWMMetadataEditor2::OpenEx pukes on an .m4a file).

什么是对如何挖掘元数据标记出来M4A文件一些很好的C#code或链接? (谷歌又拿出干上了C#的前面。)

What would be some good C# code or links on how to dig meta data tags out of m4a files? (Google has come up dry on the C# front.)

更新 AtomicParsley确实最终成为最好的方法。从那时起,code然而,一个命令行工具,我最后不得不为了在进程内使用创建一个围绕它的一些功能的托管包装。 它张贴在谷歌code 如果其他人需要这样的事。

UPDATE AtomicParsley did indeed end up being the best approach. Since that code is a command line tool however I ended up having to create a managed wrapper around some of its functionality in order to use in-process. It is posted on google code if anyone else needs such a thing.

推荐答案

下面是一些开源软件,做你所寻找的,虽然它是用C ++(也许它包含了一些有用的信息)

Here is some opensource software that does what you are looking for, although it is in C++ (maybe it contains some useful information)

http://sourceforge.net/projects/atomicparsley/

下面是使用的WinForms实现你所希望的项目。

Here is a project using winforms to achieve what you are wanting.

HTTP://www.$c$cproject.com/KB/文件/ m4afiletags.aspx

我想同样的事情上面,看看是否有东西,他缺少在得到它在一个控制台应用程序的工作,但我无法得到它的工作,而无需使用的WinForms项目中使用的ActiveX控件。

I tried the same thing as above to see if there was something he was missing in getting it to work in a console application, but I was unable to get it working without using the ActiveX control used on the Winforms project.