[英]How can I determine the length, in seconds, of a Vorbis stream?
How can I determine the length, in seconds, of the Ogg Vorbis stream with libvorbis and/or libvorbisfile? 如何确定带有libvorbis和/或libvorbisfile的Ogg Vorbis流的长度(以秒为单位)?
As far as I can tell, there's nothing in the vorbis_info structure that tells me the length of the stream. 据我所知, vorbis_info结构中没有任何内容可以告诉我流的长度。
使用较低级别的API,可以使用ov_time_total
进行此ov_time_total
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.