Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在对我的音乐库进行一些审核(使用 Mutagen/Python),包括查找重复项。特别是,我正在编写一个程序来查找重复项,并且我使用轨道长度作为比较两条轨道的方式的一部分。在此过程中,我发现 mp3 版本与 m4a 版本的音轨长度之间存在一些小的差异(例如 2 秒)。
这是“真实的”(即不同的编码会扭曲轨道长度 - 哎呀!)还是与标签的创建方式或读取方式有关?
如果差异是真实的且不可避免的,我应该为相等设置什么比较容差?