Long files do not properly display Time

Mark Kretschmann kretschmann at kde.org
Tue Jan 27 16:29:22 UTC 2009


On Tue, Jan 27, 2009 at 1:08 PM, Orcan Ogetbil <oget.fedora at gmail.com> wrote:
> On Mon, Jan 26, 2009 at 8:00 AM, Mark Kretschmann  wrote:
>> On Fri, Jan 23, 2009 at 6:40 AM, Robert Smits  wrote:
>>> I listen to a lot of audio books, and I've noticed that when I play them in
>>> Amarok 1.4.10 on my Suse 11.0 32 bit box, whenever the length of the file is
>>> much more than an hour, the display that shows where in the file you are
>>> currently, as well as the total time of the file are incorrect.
>>>
>>> It's annoying because a file an hour and 30 minutes long will show as 3:24,
>>> for example, and after 3 minutes you can't move the pointer to play a
>>> different part of the file.
>>
>> The imprecise track length is a general problem with many VBR
>> (Variable Bit Rate) formats. For MP3, the trick is to encode with the
>> "XING" tag enabled, which describes the correct length. Without it the
>> length can only be estimated.
>
> Can amarok do "re-estimate"s every few seconds based on the average
> bitrate of the already played part?

Not really, no.

That could be interesting for a lower level like xinelib or Phonon,
maybe. This way everyone would profit from it. If it's feasible at
all.

-- 
Mark Kretschmann
Amarok Developer
www.kde.org - amarok.kde.org



More information about the Amarok mailing list