Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Amarok - some tracks load with 3x track length

  1. #1
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,729
    Blog Entries
    20

    Default Amarok - some tracks load with 3x track length

    I have a strange issue where some albums - when I add a track to play, it loads Eg: where say a track is 3.53 min it loads as 10.59 min
    That's one specific example
    Dolphin too is showing in the info, as 10.59
    VLC loads it to play as 3.53
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  2. #2
    Join Date
    Nov 2013
    Location
    Canadiana
    Posts
    461

    Default Re: Amarok - some tracks load with 3x track length

    On 05/11/2014 01:16 AM, caf4926 wrote:
    >
    > I have a strange issue where some albums - when I add a track to play,
    > it loads Eg: where say a track is 3.53 min it loads as 10.59 min
    > That's one specific example
    > Dolphin too is showing in the info, as 10.59
    > VLC loads it to play as 3.53
    >


    I blame baloo.

    On a serious note, is it always 3x the length? That seems like a very
    specific multiple and the fact that its only happening in KDE
    applications is really weird. Also is it for all files or just some
    specific format that it might have issues viewing data for? Oh and what
    happens if you try to seek to some part past the "actual" length of the
    track?

    --
    Bring the Penguins Back! https://features.opensuse.org/316767
    openSUSE 13.1
    KDE 4.13.0

  3. #3
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,729
    Blog Entries
    20

    Default Re: Amarok - some tracks load with 3x track length

    I'm looking in to the details
    Pretty sure this existed before the change in kde
    The files are .mp3
    It will be later before I can get back to the files now...
    I did do a quick convert of a file to .ogg and it loaded correctly

    I don't think it's exactly 3x but it's on that same ratio each time

    I'll check on the playback skip beyond point later
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,729
    Blog Entries
    20

    Default Re: Amarok - some tracks load with 3x track length

    Media info from affected track
    Code:
    Format                                   : MPEG AudioFile size                                : 7.18 MiB
    Duration                                 : 3mn 53s
    Overall bit rate mode                    : Constant
    Overall bit rate                         : 256 Kbps
    Album                                    : Wrecking Ball
    Album/Performer                          : Bruce Springsteen
    Part/Position                            : 1
    Part/Total                               : 1
    Track name                               : Track 01
    Track name/Position                      : 1
    Track name/Total                         : 11
    Performer                                : Bruce Springsteen
    Composer                                 : Bruce Springsteen
    Genre                                    : Rock
    Recorded date                            : 2012
    Writing library                          : LAME3.93
    Cover                                    : Yes
    Cover type                               : Cover (front)
    Cover MIME                               : image/jpeg
    URL                                      : 
    
    
    Audio
    Format                                   : MPEG Audio
    Format version                           : Version 1
    Format profile                           : Layer 3
    Duration                                 : 3mn 54s
    Bit rate mode                            : Constant
    Bit rate                                 : 256 Kbps
    Channel(s)                               : 2 channels
    Sampling rate                            : 44.1 KHz
    Compression mode                         : Lossy
    Stream size                              : 7.14 MiB (99%)
    Writing library                          : LAME3.93
    From a unaffected track
    Code:
    Format                                   : MPEG AudioFile size                                : 4.74 MiB
    Duration                                 : 3mn 30s
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 189 Kbps
    Album                                    : The Complete Greatest Hits (disc 1)
    Track name                               : Take It Easy
    Track name/Position                      : 01
    Performer                                : Eagles
    Genre                                    : Rock
    Recorded date                            : 2003
    Writing library                          : LAME3.98r
    
    
    Audio
    Format                                   : MPEG Audio
    Format version                           : Version 1
    Format profile                           : Layer 3
    Mode                                     : Joint stereo
    Duration                                 : 3mn 30s
    Bit rate mode                            : Variable
    Bit rate                                 : 189 Kbps
    Minimum bit rate                         : 32.0 Kbps
    Channel(s)                               : 2 channels
    Sampling rate                            : 44.1 KHz
    Compression mode                         : Lossy
    Stream size                              : 4.74 MiB (100%)
    Writing library                          : LAME3.98r
    Encoding settings                        : -m j -V 3 -q 0 -lowpass 18 --vbr-new -b 32
    Trying to play beyond the real track length just stops playback. So in amarok the actual track stops playing when the progress slider is only part way along.

    The only odd bit I see in the BS track is this part:
    Stream size : 7.14 MiB (99%)
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,729
    Blog Entries
    20

    Default Re: Amarok - some tracks load with 3x track length

    But I have other albums that tracks say the same
    Stream size : ?.?? MiB (99%)
    But not with the same issue in amarok
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #6
    Join Date
    Jul 2008
    Location
    Planet Earth
    Posts
    194

    Default Re: Amarok - some tracks load with 3x track length

    That's a really old version of LAME (3.93) the affected tracks appear to be encoded with. Is it some sort of framing bug that was present in 3.93 that some decoders (VLC ?) can deal with but others cannot ? Try batch recoding using Audacity at the same bitrate parameters.

    Just as another thought what version of ID3 were they tagged with, I've seen that cause strange issues, version 2.0 I seem to remember was problematic but age and a poor memory lets me down.

  7. #7
    Join Date
    Nov 2013
    Location
    Canadiana
    Posts
    461

    Default Re: Amarok - some tracks load with 3x track length

    Quote Originally Posted by Dragon32 View Post
    Is it some sort of framing bug that was present in 3.93 that some decoders (VLC ?) can deal with but others cannot ?
    I guess VLC does everything with its own packages which can deal with it but Amarok relies on some system wide decoder?
    openSUSE Leap (42.1) 64 bit
    Plasma 5.4

  8. #8

    Default Re: Amarok - some tracks load with 3x track length

    Quote Originally Posted by alanbortu View Post
    I guess VLC does everything with its own packages which can deal with it but Amarok relies on some system wide decoder?
    Amarok and KDE's file information (so dolphin) use taglib AFAIK.

    But from looking at VLC's dependencies, it seems to use taglib as well?

  9. #9
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,729
    Blog Entries
    20

    Default Re: Amarok - some tracks load with 3x track length

    Quote Originally Posted by wolfi323 View Post
    Amarok and KDE's file information (so dolphin) use taglib AFAIK.

    But from looking at VLC's dependencies, it seems to use taglib as well?
    Strange then isn't it
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  10. #10

    Default Re: Amarok - some tracks load with 3x track length

    Quote Originally Posted by caf4926 View Post
    Strange then isn't it
    Well, maybe VLC uses something else for getting the track duration, and only uses taglib for other tags like Artist or Title.

    I haven't looked at the source code...

    But kfilemetadata (used by dolphin) definitely uses taglib, and I think Amarok as well.
    Btw, taglib contains a small program with which you could show the tags/audio information:
    Code:
    tagreader filename
    I suppose this would show the incorrect duration/length as well?

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •