xboxscene.org forums

Author Topic: New Mp3 Decoder In Xbmc  (Read 176 times)

jmarshall

  • Archived User
  • Hero Member
  • *
  • Posts: 541
New Mp3 Decoder In Xbmc
« on: April 14, 2005, 02:12:00 AM »

1. It's a week old, literally.

2. It's already better.

3. Not sure about gapless playback - it's still in it's infancy, but let's just say that the chances of gapless playback with this player are about a million times higher than with mplayer.  Ofcourse, the chance of it with mplayer is so extremely close to 0 that this may not make much difference tongue.gif
Logged

incognegro

  • Archived User
  • Hero Member
  • *
  • Posts: 1764
New Mp3 Decoder In Xbmc
« Reply #1 on: April 14, 2005, 06:42:00 AM »

How's it better? I havent updated yet so i would like to know.
Logged

JayDee

  • Archived User
  • Hero Member
  • *
  • Posts: 2311
New Mp3 Decoder In Xbmc
« Reply #2 on: April 22, 2005, 01:05:00 PM »

QUOTE
22-04-2005 added: gapless mp3 playback.  Files should be encoded with LAME (>3.90.3) in order to be truly gapless.
Logged

xb0xb0y

  • Archived User
  • Full Member
  • *
  • Posts: 126
New Mp3 Decoder In Xbmc
« Reply #3 on: April 22, 2005, 02:20:00 PM »

so does XBMC now default to using this player for mp3s or do you have to "select" this player as an option?
Logged

sxxxe83

  • Archived User
  • Full Member
  • *
  • Posts: 100
New Mp3 Decoder In Xbmc
« Reply #4 on: April 22, 2005, 02:29:00 PM »

QUOTE(xb0xb0y @ Apr 22 2005, 08:26 PM)
so does XBMC now default to using this player for mp3s or do you have to "select" this player as an option?
Logged

sxxxe83

  • Archived User
  • Full Member
  • *
  • Posts: 100
New Mp3 Decoder In Xbmc
« Reply #5 on: April 22, 2005, 02:38:00 PM »

QUOTE(jmarshall @ Apr 14 2005, 08:18 AM)
1. It's a week old, literally.
Logged

incognegro

  • Archived User
  • Hero Member
  • *
  • Posts: 1764
New Mp3 Decoder In Xbmc
« Reply #6 on: April 22, 2005, 08:34:00 PM »

Yea is fading into other trax and equalizer options possible in  the future with this addition? Volume amplification on mp3's would be nice since xbmc seem to play the songs pretty low yet play video sounds pretty well.
Logged

jmarshall

  • Archived User
  • Hero Member
  • *
  • Posts: 541
New Mp3 Decoder In Xbmc
« Reply #7 on: April 23, 2005, 03:28:00 AM »

It's gapless.  That means no gaps between tracks.  For this to work, the mp3's must be encoded gapless (ie encoded using LAME).  Just like it says in the changelog.

There is no crossfading as that was not mentioned in the changelog.  Simple really.

This may be added at a later date, or it may not be.  It requires a fair amount of code for it to function properly, and it is not a high priority.

With regards to the volume, XBMC does NOT alter the volume at all unless you tell it to by either reducing the volume using the right thumbstick, or increasing the headroom (audio settings.)  For maximum volume these should both be set to 0dB.

We'll likely look into ReplayGain for the new player at some point.  Note that this does not increase volume - it decreases it.
Logged

migito888

  • Archived User
  • Newbie
  • *
  • Posts: 12
New Mp3 Decoder In Xbmc
« Reply #8 on: April 26, 2005, 11:27:00 PM »

So does this mean XBMC will soon support winamp plugins? =)  I'd love to use MP3 Splice plugin for remove those nasty gaps between songs.  DAng... why didn't I encode mine using LAME... wink.gif
Logged

evilnick

  • Archived User
  • Jr. Member
  • *
  • Posts: 58
New Mp3 Decoder In Xbmc
« Reply #9 on: April 27, 2005, 05:45:00 AM »

Replaygain support would be lovely. My personal (greedy scum that I am) wish would be gapless .flac over SMB support, with replaygain obv.

Might have to make a donation come payday!
Logged

jmarshall

  • Archived User
  • Hero Member
  • *
  • Posts: 541
New Mp3 Decoder In Xbmc
« Reply #10 on: April 27, 2005, 09:20:00 AM »

I've just about finished getting it to be multi-codec aware, and adding a new codec (that can't currently be played in XBMC - it's lossless)

Ofcourse this new codec is gapless just like mp3.

Replaygain support is getting there as well.  It currently reads from the LAME tag or from the ID3v2 tag, but most apps use a different sort of tag for this data which we currently don't read.

As far as other codecs go, we won't be loading winamp plugins - they're just not coded in an efficient way for gapless playback.  We might be able to use the source to fairly quickly add the codec in a better way, however.

And no, a "gap-removal" output filter is not going to be added - they just don't work well enough to be bothered with them.  I believe there are utilities out that may be able to detect the start and end offsets of the mp3 file and write the gapless header - it's something worth looking into, anyway.  The issue is that different encoders have different delays.  Once the start offset has been found, it's not too difficult to find the endoffset (as it needs to be a multiple of the frame size of a CD - 588 samples.)  

XBMC will not be adding that sort of thing - the plan is to just play what we are given and nothing more, nothing less.

Cheers,
Jonathan
Logged

sxxxe83

  • Archived User
  • Full Member
  • *
  • Posts: 100
New Mp3 Decoder In Xbmc
« Reply #11 on: May 02, 2005, 09:47:00 PM »

QUOTE(jmarshall @ Apr 27 2005, 03:26 PM)
I've just about finished getting it to be multi-codec aware, and adding a new codec (that can't currently be played in XBMC - it's lossless)
Logged

tslayer

  • Archived User
  • Sr. Member
  • *
  • Posts: 499
New Mp3 Decoder In Xbmc
« Reply #12 on: May 02, 2005, 09:55:00 PM »

QUOTE(sxxxe83 @ May 3 2005, 03:53 AM)
That sounds great. Thx  biggrin.gif
Logged

sxxxe83

  • Archived User
  • Full Member
  • *
  • Posts: 100
New Mp3 Decoder In Xbmc
« Reply #13 on: May 03, 2005, 02:29:00 PM »

QUOTE(tslayer @ May 3 2005, 04:01 AM)
Does it sound great?
Logged

tslayer

  • Archived User
  • Sr. Member
  • *
  • Posts: 499
New Mp3 Decoder In Xbmc
« Reply #14 on: May 03, 2005, 02:33:00 PM »

QUOTE(sxxxe83 @ May 3 2005, 08:35 PM)
Depends on how you look at it.
Logged