【问题标题】:Get the total number of samples in opus file (libogg and libopus)获取 opus 文件中的样本总数(libogg 和 libopus) 【发布时间】:2021-08-12 05:21:33 【问题描述】: 有没有办法使用 libogg 和 libopus 获取包含 opus 音频的 ogg 文件中 pcm 样本的总数? 谢谢, 【问题讨论】: 标签: ogg opus 【解决方案1】: 我对 opus-tools 的opusinfo 命令做了类似的修改: 问题:Show total samples used to calculate duration in opusinfo 提交:opusinfo: Add total playback samples to output 【讨论】: