Archive:PAPlayer: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Gamester17
No edit summary
m (Bot: Automated text replacement (- XBMC + Kodi ))
(28 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{cleanup}}
{{outdated}}
'''PAPlayer''' (or '''PAP''' for short) stands for '''Psycho-acoustic Audio Player''', and it is XBMC's own in-house developed audio-player.
'''PAPlayer''' (or '''PAP''' for short) stands for '''Psycho-acoustic Audio Player''', and it is XBMC's own in-house developed audio-player.
PAP originally began as a pure MP3-player using WinAmp's ''in_mp3.dll'' for decoding (around 12th of April 2005), but only a few weeks later evolved into a fully-fledged multi-codec music-player.
PAP originally began as a pure MP3-player using WinAmp's ''in_mp3.dll'' for decoding (around 12th of April 2005), but only a few weeks later evolved into a fully-fledged multi-codec music-player.<br />


=Features=
== Currently Supported Codecs ==
When this page was last updated (Mar 13th 2006) it has the following features:
The .dll files for Kodi for Windows or .so files for Kodi for Linux/Mac must be placed under the ''[XBMCFOLDER]/system/players/paplayer'' subfolder for the listed music format to become active. If there is no DLL/SO codec available for [[PAPlayer]] for a specific format then Kodi will try to play the fle with [[DVDPlayer]] instead ([[DVDPlayer]] is based on [http://www.ffmpeg.org FFmpeg], so if the codec is supported by ''libavformat'' and ''libavcodec'' in FFmpeg then the chance is that Kodi will be able to play it if you add the audio extension to [[AdvancedSettings.xml]]), however is should be noted here that as [[DVDPlayer]] is not designed for pure audio-playback you will loose many unique playback advantages/features that [[PAPlayer]] has).
==Currently Supported Codecs==
'''(.dll's must be placed under the [XBMCFOLDER]/system/players/paplayer subfolder for the listed music format to become active)'''
* [http://en.wikipedia.org/wiki/Advanced_Audio_Coding AAC] aka LC-AAC and also [http://en.wikipedia.org/wiki/HE-AAC AAC+] aka HE-AAC (needs AACCodec.dll from SVN) Based on [http://www.audiocoding.com/ faac] '''(see i. below)'''
* [http://en.wikipedia.org/wiki/Advanced_Audio_Coding AAC] aka LC-AAC and also [http://en.wikipedia.org/wiki/HE-AAC AAC+] aka HE-AAC (needs AACCodec.dll from SVN) Based on [http://www.audiocoding.com/ faac] '''(see i. below)'''
* [http://en.wikipedia.org/wiki/Dolby_Digital AC3-CDDA] (needs AC3Codec.dll from SVN) Based on [http://liba52.sourceforge.net/ liba52]
* [http://en.wikipedia.org/wiki/Dolby_Digital AC3-CDDA] (needs AC3Codec.dll from SVN) Based on [http://liba52.sourceforge.net/ liba52]
Line 16: Line 16:
* [http://en.wikipedia.org/wiki/CDDA CDDA] aka Audio CD playback, Red Book standard (builtin) Based on [http://savannah.gnu.org/projects/libcdio/ libcdio]
* [http://en.wikipedia.org/wiki/CDDA CDDA] aka Audio CD playback, Red Book standard (builtin) Based on [http://savannah.gnu.org/projects/libcdio/ libcdio]
* [http://flac.sourceforge.net/ FLAC] aka Free Lossless Audio Codec (needs libFLAC.dll from SVN) Based on [http://flac.sourceforge.net/ LibFlac]
* [http://flac.sourceforge.net/ FLAC] aka Free Lossless Audio Codec (needs libFLAC.dll from SVN) Based on [http://flac.sourceforge.net/ LibFlac]
* [http://en.wikipedia.org/wiki/IT_%28file_format%29 IT] ([http://en.wikipedia.org/wiki/Impulse_Tracker Impulse Tracker] modules] modules) Based on [http://dumb.sf.net Dumb]
* [http://en.wikipedia.org/wiki/MOD_%28file_format%29 MOD] (Tracker Mod audio-module) Based on [http://dumb.sf.net Dumb]
* [http://en.wikipedia.org/wiki/MP2_%28format%29 MP2] MPEG-1 Audio Layer2 (needs MADCodec.dll from SVN) Based on [http://www.underbit.com/products/mad/ libmad]
* [http://en.wikipedia.org/wiki/MP2_%28format%29 MP2] MPEG-1 Audio Layer2 (needs MADCodec.dll from SVN) Based on [http://www.underbit.com/products/mad/ libmad]
* [http://en.wikipedia.org/wiki/MP3 MP3] MPEG-1 Audio Layer3 (needs MADCodec.dll from SVN) Based on [http://www.underbit.com/products/mad/ libmad]
* [http://en.wikipedia.org/wiki/MP3 MP3] MPEG-1 Audio Layer3 (needs MADCodec.dll from SVN) Based on [http://www.underbit.com/products/mad/ libmad]
* [http://www.musepack.net/ MPC] aka Musepack aka Mpeg+ (needs libmpcdec.dll from SVN) Based on [http://musepack.net// libmpcdec 1.2.2]
* [http://www.musepack.net/ MPC] aka Musepack aka Mpeg+ (needs libmpcdec.dll from SVN) Based on [http://musepack.net// libmpcdec 1.2.2]
* [http://www.vorbis.com/ OGG] VORBIS (needs vorbisfile.dll from SVN) Based on [http://www.vorbis.com/ vorbis]
* [http://www.vorbis.com/ OGG] VORBIS (needs vorbisfile.dll from SVN) Based on [http://www.vorbis.com/ vorbis]
* [http://en.wikipedia.org/wiki/S3M_%28file_format%29 S3M] ([http://en.wikipedia.org/wiki/Scream_Tracker Scream Tracker 3] PC music tracker) Based on [http://dumb.sf.net Dumb]
* [http://www.etree.org/shnutils/shorten/ SHN] aka 'shorten' (needs libshnplay.dll from SVN) Thanks to Holger Stenger for the dll!
* [http://www.etree.org/shnutils/shorten/ SHN] aka 'shorten' (needs libshnplay.dll from SVN) Thanks to Holger Stenger for the dll!
* [http://en.wikipedia.org/wiki/Wav WAV] or WAVE, short for WAVEform audio format (builtin)
* [http://en.wikipedia.org/wiki/Wav WAV] or WAVE, short for WAVEform audio format (builtin)
Line 25: Line 28:
* [http://www.windowsmedia.com/ WMA] Windows Media Audio (builtin)
* [http://www.windowsmedia.com/ WMA] Windows Media Audio (builtin)
* [http://www.xboxmediacenter.com/wiki/index.php?title=HOW-TO:_Play_game_audio_direct_from_source_(DVD/HDD) XBADPCM] XBOX ADPCM game audio (ADPCM.dll) [http://aluigi.org/papers.htm#xbox Xbox ADPCM plugin 0.1.2]
* [http://www.xboxmediacenter.com/wiki/index.php?title=HOW-TO:_Play_game_audio_direct_from_source_(DVD/HDD) XBADPCM] XBOX ADPCM game audio (ADPCM.dll) [http://aluigi.org/papers.htm#xbox Xbox ADPCM plugin 0.1.2]
* [http://en.wikipedia.org/wiki/XM_%28file_format%29 XM] (like [http://en.wikipedia.org/wiki/Fast_Tracker Triton's Fast Tracker] modules) Based on [http://dumb.sf.net Dumb]


==Currently supported players==
== Currently supported players ==
* [http://www.lim.com.au/ImpulseTracker/ IT] short for Impulse Tracker (needs dumb.dll from SVN) Based on [http://dumb.sourceforge.net/ D.U.M.B 0.93]
* [http://www.lim.com.au/ImpulseTracker/ IT] short for Impulse Tracker (needs dumb.dll from SVN) Based on [http://dumb.sourceforge.net/ D.U.M.B 0.93]
* [http://en.wikipedia.org/wiki/ScreamTracker S3M] short for Scream Tracker 3 (needs dumb.dll from SVN) Based on [http://dumb.sourceforge.net/ D.U.M.B 0.93]
* [http://en.wikipedia.org/wiki/ScreamTracker S3M] short for Scream Tracker 3 (needs dumb.dll from SVN) Based on [http://dumb.sourceforge.net/ D.U.M.B 0.93]
Line 37: Line 41:
* [http://en.wikipedia.org/wiki/AdLib Adlib] OPL2/3 FM Music (needs adplug.dll from SVN) Based on [http://adplug.sourceforge.net/ adplug] '''(see iv. below)'''
* [http://en.wikipedia.org/wiki/AdLib Adlib] OPL2/3 FM Music (needs adplug.dll from SVN) Based on [http://adplug.sourceforge.net/ adplug] '''(see iv. below)'''
* [http://en.wikipedia.org/wiki/Atari_ST YM] ATARI ST music (needs stsoundlibrary.dll from SVN) Based on [http://leonard.oxg.free.fr/stsound_download.html st sound]
* [http://en.wikipedia.org/wiki/Atari_ST YM] ATARI ST music (needs stsoundlibrary.dll from SVN) Based on [http://leonard.oxg.free.fr/stsound_download.html st sound]
* [http://www.halleyscometsoftware.com/in_cube.html ADX/AST/ADP/DSP/YMF/HPS] Gamecube [http://en.wikipedia.org/wiki/ADPCM ADPCM] compressed music (needs cube.dll from SVN) Based on [http://www.halleyscometsoftware.com/in_cube.html in_cube]<br>(NOT related to XBOX or PS2 ADPCM)
* [http://www.halleyscometsoftware.com/in_cube.html ADX/AST/ADP/DSP/YMF/HPS] Gamecube [http://en.wikipedia.org/wiki/ADPCM ADPCM] compressed music (needs cube.dll from SVN) Based on [http://www.halleyscometsoftware.com/in_cube.html in_cube]<br />(NOT related to XBOX or PS2 ADPCM)
* [http://en.wikipedia.org/wiki/Midi MIDI] music (needs timidity.dll from SVN) Based on [http://en.wikipedia.org/wiki/TiMidity Timidity] '''(see v. below)'''
* [http://en.wikipedia.org/wiki/Midi MIDI] music (needs timidity.dll from SVN) Based on [http://en.wikipedia.org/wiki/TiMidity Timidity] '''(see v. below)'''


==Currently supported tag-standards==
== Currently supported tag-standards ==
* APEv1
* APEv1
* [http://en.wikipedia.org/wiki/APEv2_tag APEv2]
* [http://en.wikipedia.org/wiki/APEv2_tag APEv2]
Line 48: Line 52:
* Vorbis Comments (used by Ogg & Flac)
* Vorbis Comments (used by Ogg & Flac)


==Other PAP features worth mentioning==
== Other PAP features worth mentioning ==
* [http://shibatch.sourceforge.net/ SSRC] resampling from 44.1kHz to 48kHz (Xbox hardware can only process 48kHz audio)
* [http://shibatch.sourceforge.net/ SSRC] resampling from 44.1kHz to 48kHz
* [http://en.wikipedia.org/wiki/Gapless Gapless] support (means if audio is ripped in a certain way, it will playback without gaps)
* [http://en.wikipedia.org/wiki/Gapless Gapless] support (means if audio is ripped in a certain way, it will playback without gaps)
* Crossfade tracks (adjustable 1–10 seconds)
* Crossfade tracks (adjustable 1–10 seconds)
* [http://www.replaygain.org/ ReplayGain] support
* [http://www.replaygain.org/ ReplayGain] support
* [http://en.wikipedia.org/wiki/Cue_sheet Cuesheet] support (.cue files) for any supported codec.
* [http://en.wikipedia.org/wiki/Cue_sheet Cue sheet] support (.cue files) for any supported codec.
* Ogg Chapter support
* OGG/OGA chapter support
{|
|


==Supported network-protocols and file-system formats==
== Supported network-protocols and file-system formats ==
* smb:// (Samba)
* smb:// (Samba)
* xbms:// (CCX)
* xbms:// (CCX)
Line 66: Line 68:
* lastfm:// ([http://www.last.fm/ Last.FM Radio])
* lastfm:// ([http://www.last.fm/ Last.FM Radio])
* shout:// ([http://www.shoutcast.com/ Shoutcast])
* shout:// ([http://www.shoutcast.com/ Shoutcast])
* Local (Harddisk)
* Local (Hard-disk)
|valign="top"|


==Unsupported network-protocols (today handled by MPlayer)==
[[Category:Manual]]
* daap:// (iTunes)
[[Category:Players]]
* http://
|}
 
=Some general information 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 container format and codec).
MPlayer is not built for pure audio-playback and you will loose many advantages (features) that PAP has.
 
==Known PAP issues==
'''i.'''  There's alot of confusion regarding the MP4/[http://www.m4a.com/ M4A] file extensions for audio files. Rename the .mp4 (or .m4b) extension to .m4a if you want PAPlayer core to be able to play it, otherwise the [[MPlayer]] core will handle playback. '''Also worth mentioning, PAP does NOT support DRM'd (Apple iTunes store) music files, (these usually have the extension .m4p).''' Plain .aac files works without issues.<br>
'''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.<br>
'''iii.''' DTS-CDDA and DTS-WAV files will never be outputted as DTS on an Xbox, this is because it must be resampled by XBMC to 48kHz.<br>
'''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.<br>
'''v.''' Put configuration file at q:\system\players\paplayer\timidity\timidity.cfg.
 
=Troubleshooting=
If you find that a codec unsupported by Mplayer does not play (or even show up in filelist), and you checked that you have the appropriate codec in ''<nowiki>[XBMCFOLDER]/system/players/paplayer</nowiki>'', chances are that you did not update (add new .extension) to the [[advancedsettings.xml#.3Cmusicextensions.3E|<musicextensions>]] of [[advancedsettings.xml]].
 
[[category:Inner Workings]]

Revision as of 08:47, 4 May 2015

Cleanup.png This page or section may require cleanup, updating, spellchecking, reformatting and/or updated images. Please improve this page if you can. The discussion page may contain suggestions.


Time.png THIS PAGE IS OUTDATED:

This page or section has not been updated in a long time, no longer applies, refers to features that have been replaced/removed, and/or may not be reliable.

This page is only kept for historical reasons, or in case someone wants to try updating it.

PAPlayer (or PAP for short) stands for Psycho-acoustic Audio Player, and it is XBMC's own in-house developed audio-player. PAP originally began as a pure MP3-player using WinAmp's in_mp3.dll for decoding (around 12th of April 2005), but only a few weeks later evolved into a fully-fledged multi-codec music-player.

Currently Supported Codecs

The .dll files for Kodi for Windows or .so files for Kodi for Linux/Mac must be placed under the [XBMCFOLDER]/system/players/paplayer subfolder for the listed music format to become active. If there is no DLL/SO codec available for PAPlayer for a specific format then Kodi will try to play the fle with DVDPlayer instead (DVDPlayer is based on FFmpeg, so if the codec is supported by libavformat and libavcodec in FFmpeg then the chance is that Kodi will be able to play it if you add the audio extension to AdvancedSettings.xml), however is should be noted here that as DVDPlayer is not designed for pure audio-playback you will loose many unique playback advantages/features that PAPlayer has).

  • AAC aka LC-AAC and also AAC+ aka HE-AAC (needs AACCodec.dll from SVN) Based on faac (see i. below)
  • AC3-CDDA (needs AC3Codec.dll from SVN) Based on liba52
  • AC3-WAV (needs AC3Codec.dll from SVN) Based on liba52
  • AIFF short for Audio Interchange File Format (builtin)
  • ALAC aka Apple Lossless (needs AACCodec.dll from SVN) Based on alac
  • APE aka Monkey's Audio (needs MACDll.dll from SVN) Based on MAC (see ii. below)
  • DTS-CDDA (needs DCACodec.dll from SVN) Based on libdca (see iii. below)
  • DTS-WAV (needs DCACodec.dll from SVN) Based on libdca (see iii. below)
  • CDDA aka Audio CD playback, Red Book standard (builtin) Based on libcdio
  • FLAC aka Free Lossless Audio Codec (needs libFLAC.dll from SVN) Based on LibFlac
  • IT (Impulse Tracker modules] modules) Based on Dumb
  • MOD (Tracker Mod audio-module) Based on Dumb
  • MP2 MPEG-1 Audio Layer2 (needs MADCodec.dll from SVN) Based on libmad
  • MP3 MPEG-1 Audio Layer3 (needs MADCodec.dll from SVN) Based on libmad
  • MPC aka Musepack aka Mpeg+ (needs libmpcdec.dll from SVN) Based on libmpcdec 1.2.2
  • OGG VORBIS (needs vorbisfile.dll from SVN) Based on vorbis
  • S3M (Scream Tracker 3 PC music tracker) Based on Dumb
  • SHN aka 'shorten' (needs libshnplay.dll from SVN) Thanks to Holger Stenger for the dll!
  • WAV or WAVE, short for WAVEform audio format (builtin)
  • WavPack (needs wavpack.dll from SVN) Based on wavpack
  • WMA Windows Media Audio (builtin)
  • XBADPCM XBOX ADPCM game audio (ADPCM.dll) Xbox ADPCM plugin 0.1.2
  • XM (like Triton's Fast Tracker modules) Based on Dumb

Currently supported players

  • IT short for Impulse Tracker (needs dumb.dll from SVN) Based on D.U.M.B 0.93
  • S3M short for Scream Tracker 3 (needs dumb.dll from SVN) Based on D.U.M.B 0.93
  • MOD short for Amiga Module (needs dumb.dll from SVN) Based on D.U.M.B 0.93
  • XM Fast Tracker 2 (needs dumb.dll from SVN) Based on D.U.M.B 0.93
  • NSF NES Sound Format (needs NoseFart.dll from SVN) Based on Nosefart
  • SPC SPC700 sound file (needs snesapu.dll from SVN) Based on alpha-ii's snes APU
  • GYM Genesis music file (needs gensapu.dll from SVN) Based on gens apu
  • SID Commodore 64 Music (needs libsidplay2.dll from SVN) Based on libsidplay2+resid
  • Adlib OPL2/3 FM Music (needs adplug.dll from SVN) Based on adplug (see iv. below)
  • YM ATARI ST music (needs stsoundlibrary.dll from SVN) Based on st sound
  • ADX/AST/ADP/DSP/YMF/HPS Gamecube ADPCM compressed music (needs cube.dll from SVN) Based on in_cube
    (NOT related to XBOX or PS2 ADPCM)
  • MIDI music (needs timidity.dll from SVN) Based on Timidity (see v. below)

Currently supported tag-standards

Other PAP features worth mentioning

  • SSRC resampling from 44.1kHz to 48kHz
  • Gapless support (means if audio is ripped in a certain way, it will playback without gaps)
  • Crossfade tracks (adjustable 1–10 seconds)
  • ReplayGain support
  • Cue sheet support (.cue files) for any supported codec.
  • OGG/OGA chapter support

Supported network-protocols and file-system formats

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