Archive:PAPlayer

From Official Kodi Wiki
Revision as of 12:12, 28 June 2006 by >Pike (→‎Currently Supported Codecs: added AIFF)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Paplayer or PAP for short, you may have wondered what it is? Then this document is for you.

It stands for Psycho-acoustic Audio Player. PAP began as a pure mp3player using Winamp's in_mp3.dll for decoding (around 12th of April 2005), but only a few weeks later has evolved into a multicodec musicplayer. When this page was last updated (Mar 13th 2006) it has the following features:

Currently Supported Codecs

(.dll's must be placed under the [XBMCFOLDER]/system/players/paplayer subfolder for the listed music format to become active)

  • MP3 MPEG-1 Audio Layer3 (needs MADCodec.dll from CVS) Based on libmad
  • MP2 MPEG-1 Audio Layer2 (needs MADCodec.dll from CVS) Based on libmad
  • OGG VORBIS (needs vorbisfile.dll from CVS) Based on vorbis
  • MPC aka Musepack aka Mpeg+ (needs libmpcdec.dll from CVS) Based on libmpcdec 1.2.2
  • AAC aka LC-AAC and also AAC+ aka HE-AAC (needs AACCodec.dll from CVS) Based on faac (see i. below)
  • ALAC aka Apple Lossless (needs AACCodec.dll from CVS) Based on alac
  • APE aka Monkey's Audio (needs MACDll.dll from CVS) Based on MAC (see ii. below)
  • FLAC aka Free Lossless Audio Codec (needs libFLAC.dll from CVS) Based on LibFlac
  • WavPack (needs wavpack.dll from CVS) Based on wavpack
  • SHN aka 'shorten' (needs libshnplay.dll from CVS) Thanks to Holger Stenger for the dll!
  • WAV or WAVE, short for WAVEform audio format (builtin)
  • AIFF short for Audio Interchange File Format (builtin)
  • DTS-WAV (needs DCACodec.dll from CVS) Based on libdca (see iii. below)
  • AC3-WAV (needs AC3Codec.dll from CVS) Based on liba52
  • DTS-CDDA (needs DCACodec.dll from CVS) Based on libdca (see iii. below)
  • AC3-CDDA (needs AC3Codec.dll from CVS) Based on liba52
  • CDDA aka Audio CD playback, Red Book standard (builtin) Based on libcdio
  • WMA Windows Media Audio (builtin)

Currently supported players

Currently supported tagstandards

Other PAP features worth mentioning are

  • SSRC resampling from 44.1kHz to 48kHz (Xbox hardware can only process 48kHz audio)
  • Gapless support (means if audio is ripped in a certain way, it will playback without gaps)
  • Crossfade tracks (adjustable 1–10 seconds)
  • ReplayGain support
  • Cuesheet support (.cue files) for any supported codec.
  • Ogg Chapter support

Supported protocols

  • smb:// (Samba)
  • xbms:// (CCX)
  • cdda:// (AudioCD)
  • iso9660://
  • udf://
  • lastfm:// (Last.FM Radio)
  • shout:// (Shoutcast)
  • Local (Harddisk)

Unsupported Protocols (handled by mplayer)

  • daap:// (iTunes)
  • http://

Some general info about PAP

When any or all of above codecs are not installed in its proper place, Mplayer will handle playback instead (if Mplayer supports the format). Mplayer is not built for pure audioplayback and you will loose many advantages (features) that PAP has.

Known Issues

i. There's alot of confusion regarding the MP4/M4A file extensions. Rename .mp4 to .m4a if you want PAP to be able to play it, otherwise Mplayer will handle playback. Also worth mentioning, PAP does NOT support DRM'd (iTunes store) music files (.m4p). Plain .aac files works without issues.
ii. The APE decoder does not like files with the highest compression, they will play, but it can take quite a while to start them, which results that they are no longer gapless.
iii. DTS-CDDA & DTS-WAV will never be outputted as DTS, since it must be resampled to 48kHz.
iv. Since there's so many different extensions used, you need to add .adplug to the end of the filename to ease identification for our player.

Troubleshooting

If you find that a codec previously unsupported (by Mplayer) still does not play (or even show up in filelist), and you checked that you have the appropiate codec in [XBMCFOLDER]/system/players/paplayer, chances are good that you attempted to cheat, and did not update (add new .extension) to advancedsettings.xml's <musicextensions>.