for those of you who have a large library of aiff files
now you can play them on xbmc too.
here is a precompiled mplayer.dll that contains this new
codec. it has been tested on xbmc-11-26 and later.
http://www.10k.org/jake/xbox/mplayerdll-...041210.zip
instruction:
============
1) replace your mplayer/mplayer.dll with the provided mplayer.dll
2) add ".aif" to your <musicextensions> tag in xboxmediacenter.xml
3) add the follwoing codec entry to your mplayer/codecs.conf
audiocodec aiffpcm
info "uncompressed aiff pcm"
status working
format 0x6669612e ; ".aif"
driver aiffpcm
source patch can be found at
http://www.10k.org/jake/xbox/xbmcmplayer...1210.patch
the patch has been submitted to the project group as id=992693.
enjoy.
jake
AIFF audio codec playback support
jakeluck1
Junior Member Posts: 34 Joined: Aug 2004 Reputation: 0 |
2004-12-10 01:22
Post: #1
|
| find quote |
Fred
Junior Member Posts: 7 Joined: Jun 2006 Reputation: 0 |
2006-06-25 17:39
Post: #2
i am trying to use itunes aiff files over smb with a fairly recent build (6/18). playback lasts <1 second and then stops. the file is 66mb and should last much longer, of course.
here's the debug output. nothing in there strikes me as strange, but i am a n00b... 17:08:45 m: 41250816 info: mplayer play:smb://xbox:xbox@g4/gandalf/music/itunes/itunes music/alf/stuck on earth [single]/stuck on earth [housemix].aif cachesize:256 17:08:46 m: 34897920 debug: msg: set audio functions called 17:08:46 m: 34897920 debug: msg: done 17:08:46 m: 34897920 info: flipping bi-directional subtitles disabled 17:08:46 m: 34897920 debug: msg: mplayer_init() 17:08:46 m: 34897920 debug: msg: enable mplayer osd 17:08:46 m: 34897920 debug: msg: mplayer dev-cvs-060611-16:41-3.4.4 © 2000-2004 mplayer team 17:08:46 m: 34897920 debug: msg: cpu: intel celeron 2/pentium iii coppermine,geyserville 17:08:46 m: 34897920 debug: msg: (family: 6, stepping: 10) 17:08:46 m: 34897920 debug: msg: detected cache-line size is 32 bytes 17:08:46 m: 34897920 debug: msg: cpuflags: mmx: 1 mmx2: 1 3dnow: 0 3dnow2: 0 sse: 0 sse2: 0 17:08:46 m: 34897920 debug: msg: compiled for x86 cpu with extensions: 17:08:46 m: 34897920 debug: msg: mmx 17:08:46 m: 34897920 debug: msg: mmx2 17:08:46 m: 34897920 debug: msg: sse 17:08:46 m: 34897920 debug: msg: 17:08:46 m: 34885632 debug: msg: 17:08:47 m: 34865152 debug: curl::curl - url has no protocol config, empty curl created 17:08:47 m: 34865152 debug: msg: creating config file: q:\system\players\mplayer\config 17:08:47 m: 34865152 debug: msg: 17:08:47 m: 34508800 debug: msg: 88 audio & 199 video codecs 17:08:47 m: 34467840 debug: msg: mplayer_open_file(smb://xbox:xbox@g4/gandalf/music/itunes/itunes music/alf/stuck on earth [single]/stuck on earth [housemix].aif) 17:08:47 m: 34467840 info: stating file smb://xbox:xbox@g4/gandalf/music/itunes/itunes music/alf/stuck on earth [single]/stuck on earth [housemix].aif.conf 17:08:47 m: 34467840 info: stating file q:\system\players\mplayer\stuck on earth [housemix].aif.conf 17:08:47 m: 34467840 debug: msg: playing smb://xbox:xbox@g4/gandalf/music/itunes/itunes music/alf/stuck on earth [single]/stuck on earth [housemix].aif. 17:08:47 m: 34467840 debug: msg: find subtitles 17:08:47 m: 34467840 debug: msg: auto open z:\subtitle 17:08:47 m: 34467840 debug: msg: protocol:smb 17:08:47 m: 34467840 debug: msg: use standard file for protocol:smb 17:08:47 m: 34467840 debug: msg: option stream url: this url doesn't have a username part. 17:08:47 m: 34467840 debug: msg: option stream url: this url doesn't have a hostname part. 17:08:47 m: 33636352 debug: msg: cache fill: 0.00% (0 bytes) 17:08:47 m: 33636352 debug: msg: audio file detected. 17:08:48 m: 33636352 debug: msg: global subsize: 0 - vobsub: -1, demux: -1, subs: -1 17:08:48 m: 33636352 debug: msg: global subpos : -1 17:08:48 m: 33636352 debug: msg: ========================================================================== 17:08:48 m: 33636352 debug: msg: opening audio decoder: [aiffpcm] uncompressed aiff pcm audio decoder 17:08:48 m: 33558528 debug: msg: audio: 44100 hz, 2 ch, 16 bit (0x20), ratio: 176400->176400 (1411.2 kbit) 17:08:48 m: 33558528 debug: msg: selected audio codec: [aiffpcm] afm:aiffpcm (uncompressed aiff pcm) 17:08:48 m: 33558528 debug: msg: ========================================================================== 17:08:48 m: 33558528 debug: msg: checking audio filter chain for 44100hz/2ch/16bit -> 44100hz/6ch/16bit... 17:08:48 m: 33558528 debug: msg: af_pre: af format: 2 bps, 2 ch, 44100 hz, big endian signed int 17:08:48 m: 33558528 debug: msg: af_pre: 44100hz 2ch signed 16-bit (big-endian) 17:08:48 m: 33558528 debug: ao_win32: format 32 not supported defaulting to signed 16-bit little-endian 17:08:48 m: 33415168 debug: msg: ao: [win32] 44100hz 2ch signed 16-bit (little-endian) (2 bps) 17:08:48 m: 33415168 debug: msg: building audio filter chain for 44100hz/2ch/16bit -> 44100hz/2ch/16bit... 17:08:48 m: 33394688 debug: msg: video: no video 17:08:48 m: 33394688 debug: msg: starting playback... 17:08:48 m: 33394688 debug: msg: mplayer_open_file(smb://xbox:xbox@g4/gandalf/music/itunes/itunes music/alf/stuck on earth [single]/stuck on earth [housemix].aif) done 1.0000 17:08:48 m: 32866304 debug: playback has started 17:08:48 m: 33112064 debug: cguiinfomanager::setcurrentsong(smb://xbox:xbox@g4/gandalf/music/itunes/itunes music/alf/stuck on earth [single]/stuck on earth [housemix].aif) 17:08:49 m: 33296384 debug: msg: mplayer_close_file() 17:08:49 m: 33374208 debug: msg: 17:08:49 m: 33374208 debug: msg: uninit_player 17:08:49 m: 34824192 debug: msg: uninit_player - done 17:08:49 m: 34824192 debug: freeing fs segment @ 0xa03010 17:08:50 m: 34824192 debug: playback has finished |
| find quote |
SleepyP
Posting Freak Joined: Nov 2005 Reputation: 4 Location: Portland, Oregon |
2006-06-27 19:18
Post: #3
i dunno if you noticed, but the previous post is from december 9th of 2004.
a quick check here: http://xboxmediacenter.com/info_project....nt_release does not reveal that aiff has ever been officially supported. Catchy Signature Here |
| find quote |
Fred
Junior Member Posts: 7 Joined: Jun 2006 Reputation: 0 |
2006-06-28 01:39
Post: #4
thanks sleepyp.
yes i noticed it was not in 1.1 officially. i also noticed it was at some point added to cvs, hence recent build should have some code that plays some form of aiff. i then searched the forums for any details and only found this old post about aiff. rather than to pollute general support boards about a question on a non supported unpopular feature, i decided to "re-activate" this old thread on the right subject. with a bit of luck, the original poster was still around and able to help. or someone involved in the cvs commit about aiff could shed some light on the issue. i think there's a forum policy about a single thread per subject plus usage of the search feature, and i have only tried to ask my question following the rules. sorry if that was inapropriate. fred |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2006-06-28 07:38
Post: #5
- 28-06-2006 added: aiff codec to paplayer.
let me know how it goes - i only had a couple of tracks to try it out on. cheers, jonathan Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
Fred
Junior Member Posts: 7 Joined: Jun 2006 Reputation: 0 |
2006-07-07 16:16
Post: #6
jonathan,
thanks for the help. took a while to answer since i had to wait for a release... unfortunately it makes no difference. tracks plays a second then stops. tried a couple of tracks, same effect. also more clicks and pops than with mp3. essentially same log. what can i do to help debug this? thanks fred |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2006-07-08 08:56
Post: #7
essentially the same log indicates to me that you don't have a new enough version.
the new version plays the files using paplayer, our dedicated music player. Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
Fred
Junior Member Posts: 7 Joined: Jun 2006 Reputation: 0 |
2006-07-10 01:21
Post: #8
jonathan,
well, tried it again, i don't think paplayer gets involved for some reason... 01:12:46 m: 53055488 notice: starting xboxmediacenter. built on jul 3 2006 ... 01:13:24 m: 40607744 debug: cplayercorefactor::getplayers(smb://xbox:xbox@g4/gandalf/music/itunes/itunes music/a caus' des garçons/a caus' des garçons [single]/a caus' des garçons [remix].aif) 01:13:24 m: 40083456 info: mplayer play:smb://xbox:xbox@g4/gandalf/music/itunes/itunes music/a caus' des garçons/a caus' des garçons [single]/a caus' des garçons [remix].aif cachesize:256 01:13:24 m: 33730560 debug: msg: set audio functions called 01:13:24 m: 33730560 debug: msg: done 01:13:24 m: 33730560 info: using -subcp enca:__:cp1252 to detect the subtitle charset 01:13:24 m: 33730560 info: flipping bi-directional subtitles disabled 01:13:25 m: 33730560 debug: msg: mplayer_init() 01:13:25 m: 33730560 debug: msg: enable mplayer osd 01:13:25 m: 33730560 debug: msg: mplayer dev-cvs-060611-16:41-3.4.4 © 2000-2004 mplayer team 01:13:25 m: 33730560 debug: msg: cpu: intel celeron 2/pentium iii coppermine,geyserville 01:13:25 m: 33730560 debug: msg: (family: 6, stepping: 10) 01:13:25 m: 33730560 debug: msg: detected cache-line size is 32 bytes 01:13:25 m: 33730560 debug: msg: cpuflags: mmx: 1 mmx2: 1 3dnow: 0 3dnow2: 0 sse: 0 sse2: 0 01:13:25 m: 33730560 debug: msg: compiled for x86 cpu with extensions: 01:13:25 m: 33730560 debug: msg: mmx 01:13:25 m: 33730560 debug: msg: mmx2 01:13:25 m: 33730560 debug: msg: sse 01:13:25 m: 33730560 debug: msg: 01:13:25 m: 33718272 debug: msg: 01:13:25 m: 33730560 debug: curl::curl - url has no protocol config, empty curl created 01:13:25 m: 33730560 debug: msg: creating config file: q:\system\players\mplayer\config 01:13:25 m: 33718272 debug: msg: 01:13:25 m: 33431552 debug: msg: 88 audio & 199 video codecs 01:13:25 m: 33390592 debug: msg: mplayer_open_file(smb://xbox:xbox@g4/gandalf/music/itunes/itunes music/a caus' des garçons/a caus' des garçons [single]/a caus' des garçons [remix].aif) 01:13:26 m: 33390592 info: stating file smb://xbox:xbox@g4/gandalf/music/itunes/itunes music/a caus' des garçons/a caus' des garçons [single]/a caus' des garçons [remix].aif.conf 01:13:26 m: 33390592 info: stating file q:\system\players\mplayer\a caus' des garçons [remix].aif.conf 01:13:26 m: 33390592 debug: msg: playing smb://xbox:xbox@g4/gandalf/music/itunes/itunes music/a caus' des garçons/a caus' des garçons [single]/a caus' des garçons [remix].aif. 01:13:26 m: 33390592 debug: msg: find subtitles 01:13:26 m: 33390592 debug: msg: auto open z:\subtitle 01:13:26 m: 33390592 debug: msg: protocol:smb 01:13:26 m: 33390592 debug: msg: use standard file for protocol:smb 01:13:26 m: 33390592 debug: msg: option stream url: this url doesn't have a username part. 01:13:26 m: 33390592 debug: msg: option stream url: this url doesn't have a hostname part. 01:13:26 m: 32559104 debug: msg: cache fill: 0.00% (0 bytes) 01:13:26 m: 32559104 debug: msg: audio file detected. 01:13:26 m: 32559104 debug: msg: global subsize: 0 - vobsub: -1, demux: -1, subs: -1 01:13:26 m: 32559104 debug: msg: global subpos : -1 01:13:26 m: 32559104 debug: msg: ========================================================================== 01:13:26 m: 32559104 debug: msg: opening audio decoder: [aiffpcm] uncompressed aiff pcm audio decoder 01:13:26 m: 32481280 debug: msg: audio: 44100 hz, 2 ch, 16 bit (0x20), ratio: 176400->176400 (1411.2 kbit) 01:13:26 m: 32481280 debug: msg: selected audio codec: [aiffpcm] afm:aiffpcm (uncompressed aiff pcm) 01:13:26 m: 32481280 debug: msg: ========================================================================== thanks fred |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2006-07-10 03:55
Post: #9
rename to .aiff and try again.
i'll make sure paplayer is used for that extension as well. Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
Fred
Junior Member Posts: 7 Joined: Jun 2006 Reputation: 0 |
2006-07-15 03:04
Post: #10
Works like a charm with .aiff
Thanks Fred |
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
Search
Help