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.
我正在寻找一个可以轻松标记 ogg 文件的 C++ 库,这意味着使用一个简单的函数,例如
write_ogg_tag("file.ogg", tag_data); // where tag_data contains artist, album ...
有解决办法吗?
另外,某些解决方案是否适用于 MP3、FLAC 等?(ogg就够了,只是因为好奇才问)
我认为没有什么比TagLib更好或更简单的了。它适用于所有流行的格式。您可以在此处找到有关 API 的详细信息。
另一种更复杂的方法是使用基本组件,例如libogg并使用低级格式特定 API,但这似乎不是您想要的。
libogg
我有一个 XSLT 2.0,它将 xhtml 表转换为 InDesign XML 表。此 XSLT 计算下面模板 ( )中每行第 7 行中的最大<td>元素数。<tr>max(for $td in //tr return count($td/td))
<td>
<tr>
max(for $td in //tr return count($td/td))
&l