[theora-dev] How to get the duration of a file or track?

Shane Stephens shane.stephens at gmail.com
Mon Aug 27 17:04:02 PDT 2007


ironically, oggplay_get_duration currently works for TCP streams but not
local files....

Cheers,
    -Shane

On 8/28/07, Ralph Giles <giles at xiph.org> wrote:
>
> On Tue, Aug 28, 2007 at 09:39:00AM +1000, Shane Stephens wrote:
>
> > Unfortunately, liboggplay does not provide a simple way to determine the
> > length of an ogg file.
>
> Oops! I saw oggplay_get_duration() in oggplay.h and assumed you had this
> implemented. Thanks for the correction.
>
> -r
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/theora-dev/attachments/20070828/7ec986c1/attachment.htm


More information about the theora-dev mailing list