Thread View: borland.public.cppbuilder.multimedia
1 messages
1 total messages
Started by MR
Sun, 16 May 2004 22:15
How to get duration of a vbr-mp3 file?
Author: MR
Date: Sun, 16 May 2004 22:15
Date: Sun, 16 May 2004 22:15
23 lines
1604 bytes
1604 bytes
Having been happy when found a possibility to get the duration of a mp3-file by just reading out TMediaPlayer::Length I finally found that this value is not always correct, at least not for the vbr-files my mp3-recorder creates. In fact there was a huge difference for a file which real duration was about 7h and TMediaPlayer::Length holds a value about 4h. Is there another possibility/library to get the exact duration of such kind of mp3-files? (The motivation was to prefix the files being created with the date/time when recording started. Unfortunately the files have a time-stamp, when recording ended. So I had to calculate the starting-time by substractiing the duration from the end-of-record. Unfortunately the recorder only records in this variable-bitrate-format.) Thanks a lot, MR
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads