Version: 1.4 (svn) (using KDE KDE 3.5.4) Installed from: Compiled From Sources OS: Linux (From taglib-devel mailing list entry: http://mail.kde.org/pipermail/taglib-devel/2006-October/000513.html) There are two major bugs in framelength computation and calculation time/frame for mpeg files. For framelength, the formula is different for layer 1, 2 and 3 files. Taglib doesnt use separate formula for 2 and 3. For calculation time/frame, mpeg 2 and 2.5 (LSF) have different blocksize than mpeg-1. Taglib doesnt take that into account. These two bugs lead to incorrect calculation of frame duration. I am attaching a patch fixing these. I based my calculations on lame(mpglib) source code and mpeg header information given in http://www.codeproject.com/audio/mpegaudioinfo.asp
Created attachment 18092 [details] mpeg frame duration patch Fix mpeg frame duration calculation.
*** This bug has been marked as a duplicate of 130625 ***