After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 553468 - Variable MP3 are shown to have incorrect length
Variable MP3 are shown to have incorrect length
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: playback
0.11.x
Other All
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 569201 575746 632517 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-09-23 21:09 UTC by Maxim Levitsky
Modified: 2018-05-24 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example of faulty song, song is about 30 minutes in length. (152.50 KB, image/png)
2009-03-16 16:31 UTC, Rutger Bazen
Details

Description Maxim Levitsky 2008-09-23 21:09:00 UTC
Please describe the problem:
When I play a mp3 which is VBR encoded (this happens with all MP3 that I encoded with sound converter from WAV), rhythmbox shows incorrect length of file

Steps to reproduce:
1. Open an mp3
2. Wait till progress bar gets to its end
3. See that music continues to play

Sometimes, the opposite music stops playing before progress bar reaches its end

Actual results:


Expected results:


Does this happen every time?
With all VBR MP3 I have

Other information:
Launchpad bug:

https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/271755
Comment 1 Jonathan Matthew 2009-01-26 21:55:56 UTC
*** Bug 569201 has been marked as a duplicate of this bug. ***
Comment 2 Rutger Bazen 2009-03-16 11:04:10 UTC
I can confirm this bug.
Example: 
Rhythmbox shows track lengths of 0:20 seconds, track keeps playing after that time.
Totem shows estimated length to a reasonable accuracy.

MP3 Files are created using 'streamripper'

Confirmed using "Steps to reproduce.

OS: Ubuntu 8.10
uname -a: Linux 2.6.27-11-generic #1 SMP i686 GNU/Linux
Comment 3 Christophe Fergeau 2009-03-16 11:27:22 UTC
Do these mp3 have xing headers ? ie does "strings filename.mp3 |grep Xing" return something ?
Comment 4 Rutger Bazen 2009-03-16 11:38:05 UTC
the command 'strings <FILENAME> | grep Xing' returns nothing, exit code 1
Comment 5 Christophe Fergeau 2009-03-16 12:43:43 UTC
Then your VBR files are missing a Xing header which rhythmbox (and most other players) need to accurately know the length of the file.
Comment 6 Maxim Levitsky 2009-03-16 15:37:08 UTC
And yet, totem shows correct length.
thus rhythmbox should do the same.

Comment 7 Christophe Fergeau 2009-03-16 15:44:37 UTC
Does it show the correct length immediatly after loading or does it constantly adjust the length while playing until it gets it right ?
Comment 8 Rutger Bazen 2009-03-16 16:31:46 UTC
Created attachment 130759 [details]
Example of faulty song, song is about 30 minutes in length.
Comment 9 Rutger Bazen 2009-03-16 16:32:57 UTC
Comment on attachment 130759 [details]
Example of faulty song, song is about 30 minutes in length.

The tracklength is never changed in the course of loading, playing or done.
Comment 10 Jonathan Matthew 2009-03-17 23:14:55 UTC
*** Bug 575746 has been marked as a duplicate of this bug. ***
Comment 11 Maxim Levitsky 2009-09-18 21:42:41 UTC
+1
Comment 12 Carlos Laviola 2010-04-24 04:56:32 UTC
I have the same problem with a specific album. Xing tags are present (at least with strings), but the duration is reported in the hours, consistent with the duration from the output of `gst-launch-0.10 -t filesrc location=foo.mp3 \! decodebin \! fakesink´, though yauap, a CLI gstreamer based player, shows the right times for the songs.

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
FOUND TAG      : found by element "id3demux0".
           title: Truth
          artist: New Order
           album: Movement
            date: 1981-01-01
    track number: 2
container format: ID3 tag
           genre: Rock
        duration: 1534492416000000
     ID3v2 frame: buffer of 32 bytes, type: application/x-gst-id3v2-tenc-frame, version=(int)4
                : buffer of 30 bytes, type: application/x-gst-id3v2-tden-frame, version=(int)4
                : buffer of 30 bytes, type: application/x-gst-id3v2-tdtg-frame, version=(int)4
FOUND TAG      : found by element "mpegaudioparse0".
     audio codec: MPEG 1 Audio, Layer 3 (MP3)
FOUND TAG      : found by element "mpegaudioparse0".
         bitrate: 286000
         has crc: FALSE
    channel mode: joint-stereo
FOUND TAG      : found by element "flump3dec0".
     audio codec: MPEG 1 Audio, Layer 3 (MP3)
FOUND TAG      : found by element "flump3dec0".
         bitrate: 128000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 99000
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
FOUND TAG      : found by element "flump3dec0".
         bitrate: 91000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 95000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 113000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 127000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 136000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 147000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 159000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 164000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 181000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 188000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 199000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 205000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 219000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 227000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 237000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 246000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 256000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 267000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 276000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 277000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 287000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 286000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 287000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 286000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 287000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 286000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 287000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 286000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 287000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 286000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 287000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 286000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 287000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 286000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 287000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 286000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 287000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 286000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 287000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 286000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 287000
FOUND TAG      : found by element "flump3dec0".
         bitrate: 286000
Got EOS from element "pipeline0".
Execution ended after 3018590625 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Comment 13 Jonathan Matthew 2010-10-21 00:42:05 UTC
*** Bug 632517 has been marked as a duplicate of this bug. ***
Comment 14 Simone Tolotti 2011-11-06 12:37:07 UTC
I can confirm in rhythmbox 2.90.1 variable bitrate is also default when ripping CDs using rhythmbox "Extract in library"
Comment 15 GNOME Infrastructure Team 2018-05-24 13:38:43 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/628.