【问题标题】:How can I determine the length, in seconds, of a Vorbis stream?如何确定 Vorbis 流的长度(以秒为单位)?
【发布时间】:2015-06-13 18:17:46
【问题描述】:

如何使用 libvorbis 和/或 libvorbisfile 确定 Ogg Vorbis 流的长度(以秒为单位)?

据我所知,vorbis_info 结构中没有任何内容可以告诉我流的长度。

【问题讨论】:

    标签: c vorbis


    【解决方案1】:

    使用较低级别的 API,您可以通过 ov_time_total 执行此操作。

    【讨论】:

      猜你喜欢
      • 2010-11-02
      • 1970-01-01
      • 2011-10-16
      • 1970-01-01
      • 2011-06-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-09-07
      相关资源
      最近更新 更多