Displaying 1 result from an estimated 1 matches for "oggplay_get_duration".
2007 Aug 23
2
How to get the duration of a file or track?
I'm starting with the theora player_example.c. I want to be able to
determine the duration of the audio/video ahead of time, to be able to
display it somewhere.
I can't see anything obvious in ogg.h, theora.h, or vorbis.h for this.
Can anyone help me with the right place to look to do this?
Thanks,
Ken Larson
FMJ project, fmj.sourceforge.net