Musicbrainz 指纹识别
在过去的几个小时里,我一直忙于了解 MusicBrainz 数据库,并且我注意到没有命令行应用程序来标记或指纹音频文件。 Musicbrainz 的指纹识别有任何 CLI 实现吗?我怎样才能创建这些指纹?
我在他们的网站上找到了一些开发工具(python-musicbrainz2、libdiscid 和 XML Web 服务),但是我找不到创建这些指纹的简单工具或应用程序(开发工具似乎仅适用于使用指纹检索曲目/艺术家信息)。我理解有问题吗?
亲切的问候
I've been busy with understanding the MusicBrainz database in the past few hours and as I noticed there's no command line application to tag or fingerprint audio files. Are there any CLI implementations on Musicbrainz's fingerprinting? And how can I create those fingerprints?
I found some development tools on their website (python-musicbrainz2, libdiscid and the XML webs service) but I couldn't find a simple tool or app which creates those fingerprints (the developments tools only seem to be useful for retrieving track/artist information using a fingerprint). Am I understanding something wrong?
Kind regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
PUID 现在在 MusicBrainz [1] 中被视为“死亡”。
它们仍然附加到文件,但查找和创建文件的 PUID 不再起作用。
有一种名为 AcoustID 的新指纹机制。
有开源软件可用于创建和查找这些 ID。
AcoustID 不是一个直接的 MusicBrainz 项目,而是由 MusicBrainz 开发人员创建的,ID 主要附加到 MusicBrainz 录音并在 MusicBrainz 网站上列出。
编辑:
fpcalc
和chromaprint
都是 AcoustID 工具的一部分。PUIDs are now considered "dead" at MusicBrainz [1].
They are still attached to files, but finding and creating PUIDs for files can't be expected to work anymore.
There is a new fingerprint mechanism called AcoustID.
There is open-source software available for creating and finding these IDs.
AcoustID is not a direct MusicBrainz project, but is created by a MusicBrainz dev and the IDs are mainly being attached to MusicBrainz Recordings and listed on the MusicBrainz website.
EDIT:
Both
fpcalc
andchromaprint
are all part of the AcoustID tools.存在第三方 CLI:albumidentify。
另外,为了完成 Debilski 的回复,如果您使用允许每小时更新数据库的 LiveDataFeed,或者如果您在商业产品中使用 WebService,则只需要许可证。
A third party CLI exists: albumidentify.
Also to complete Debilski's reply, you only need a license if you're using the LiveDataFeed that allow you to update your database each hour or if you're using the WebService in a commercial product.
指纹识别是通过外部
libofa
库 完成的。 (另请参阅 MusicDNS。)因此,事实上它不是“Musicbrainz 的指纹识别”,而是 Amplifind 的指纹识别。我不知道当前是否存在任何命令行工具,但文档中显示的代码对我来说看起来并不复杂(但您需要许可证才能访问数据库);因此,如果需要,您也许可以编写自己的。
另外,您还可以查看 Musicbrainz Picard 源代码中的
musicdns
目录;他们在那里使用Python 接口。我认为 Musicbrainz 提供 CLI 实现并不容易,因为 MusicIP 并不总是可靠,并且在某些情况下需要用户输入;这就是为什么他们可能会专注于 GUI Picard。
The fingerprinting is done with the external
libofa
library. (Also see MusicDNS.) So, in fact it is not ‘Musicbrainz’s fingerprinting’ but Amplifind’s.I don’t know if any command line tool currently exists but the code being shown in the documentation does not look very complicated to me (but you will need a license to get access to the database); so if needed, you might be able to write your own.
Also, you could have a look at the
musicdns
directory from the Musicbrainz Picard sourcecode; they are using the Python interface there.I think it not easy for Musicbrainz to give a CLI implementation since the MusicIP is not always reliable and there are cases when user input is needed; which is why they might be concentrating on their GUI Picard.
我不确定你是否仍然感兴趣。实际上,指纹识别部分是通过名为
fpcalc.exe
的命令行工具完成的。该工具计算给定文件的音频部分的指纹和持续时间。您可以从 AcoustID 网站下载适用于 Windows、Linux 和 Mac OSX 的 fpcalc 源代码和二进制文件: http://acoustid.org/色谱图
I'm not sure, if you are still interested. Actually, the fingerprinting part is done with a commandline tool called
fpcalc.exe
. This tool calculates a fingerprint and the duration for the audio part of the given file.You can download the fpcalc source code and binaries for windows, linux and Mac OSX from the AcoustID Website: http://acoustid.org/chromaprint