Author Topic: XMPlay Apple Lossless plugin  (Read 63832 times)

Sebastian Andersson

  • Posts: 372
XMPlay Apple Lossless plugin
« on: 20 May '05 - 13:05 »
I have finished an Apple Lossless Audio Codec (ALAC) input plugin for XMPlay which is available here:

http://www.un4seen.com/filez/2/xmp-alac.zip (updated: 4 Apr '11)

It should support all the usual stuff... but currently lacks the streaming support and tags. Please report any bugs and issues in this thread.

Thanks to David Hammerton and Ian Luck!
« Last Edit: 4 Apr '11 - 14:45 by Ian @ un4seen »

triplex

  • Guest
Re: XMPlay Apple Lossless plugin
« Reply #1 on: 10 Nov '06 - 18:46 »
xmplay just suts down when attempting to play .m4a(apple lossless). itunes 7.0 installed

Ian @ un4seen

  • Administrator
  • Posts: 20389
Re: XMPlay Apple Lossless plugin
« Reply #2 on: 12 Nov '06 - 15:49 »
You can upload the troublesome file here...

   ftp.un4seen.com/incoming/

triplex

  • Guest
Re: XMPlay Apple Lossless plugin
« Reply #3 on: 29 Jun '07 - 12:17 »
It is seems ok now with Itunes 7.2 installed (or maybe you've done some changes in plugin)

But now - what about 24 bit alac support? Itunes only seems to be able to code 24bit alac and xmplay just "shuts down" on such files...

Ian @ un4seen

  • Administrator
  • Posts: 20389
Re: XMPlay Apple Lossless plugin
« Reply #4 on: 30 Jun '07 - 15:04 »
I don't have any 24-bit ALAC files, so please upload an example to have a look at here...

   ftp.un4seen.com/incoming/

triplex

  • Guest
Re: XMPlay Apple Lossless plugin
« Reply #5 on: 3 Jul '07 - 23:28 »
done.
it's called "sample 24bit ALAC.m4a"

Ian @ un4seen

  • Administrator
  • Posts: 20389
Re: XMPlay Apple Lossless plugin
« Reply #6 on: 4 Jul '07 - 16:21 »
Looking at it now, I see the ALAC decoder library used by the plugin currently only supports 16-bit. If you really need 24-bit support, you could try bribing the author to add it :)

David Hammerton

  • Guest
Re: XMPlay Apple Lossless plugin
« Reply #7 on: 2 Aug '07 - 00:33 »
Author here.. Yeah bribes would be good - I'm broke :)

But seriously, I was never able to make iTunes create 24bit alac files, so I never made my decoder capable of using them; but that was back in the day... I wonder if newer iTunes does 24bit ones instead? Weird..

Can someone provide me with a URL to a bunch of 24bit alac files please?

Thanks

David

triplex

  • Guest
Re: XMPlay Apple Lossless plugin
« Reply #8 on: 2 Aug '07 - 13:59 »

sergos

  • Posts: 10
Re: XMPlay Apple Lossless plugin
« Reply #9 on: 23 Oct '07 - 10:06 »
I got a crash in xmp-alac.dll!10001510 opening the http://www.csie.ntu.edu.tw/~b94011/flute/Prokofiev%20-%20Sonata%20Op.%2094/10%20Prokofiev%20-%20Sonata%20Op.%2094%20-%20I.%20Mo.m4a link. The file was completely downloaded fisrt.

Ian @ un4seen

  • Administrator
  • Posts: 20389
Re: XMPlay Apple Lossless plugin
« Reply #10 on: 23 Oct '07 - 13:58 »
It doesn't seem to crash here, so please upload your drwtsn32.log file to get some clues about it...

   ftp.un4seen.com/incoming/

sergos

  • Posts: 10
Re: XMPlay Apple Lossless plugin
« Reply #11 on: 28 Nov '07 - 14:00 »
Here is a screenshot of my VS attached. As you can see it's an entry to some routine and parameter obtained from [esi == ecx] contains a pointer (edi) that can not be read with +2 bytes offset. And edi itself is pretty close to the page size (3ffe) so that we miss the page and sigfaulted (excepted). I bet that some pointer either has wrong value or should not be read with +2 offset. it's hard to reproduce if you have different mem layout.
I think I can debug (if the effect will not gone) the xmp-alac.dll along with the .pdb file. it'll be worse if the effect will not lasts after build with debug info, but you still can find the routine with the same assembly? It looks like the dll mapped starting 10001000 either 10000000

Ian @ un4seen

  • Administrator
  • Posts: 20389
Re: XMPlay Apple Lossless plugin
« Reply #12 on: 4 Dec '07 - 13:27 »
I didn't make any changes specifically for your problem, but there have been some code changes since the plugin release (in 2005), so here's an updated build to try...

   www.un4seen.com/stuff/xmp-alac.dll

If you still get crashing, please upload a drwtsn32.log entry for that.

   ftp.un4seen.com/incoming/

sergos

  • Posts: 10
Re: XMPlay Apple Lossless plugin
« Reply #13 on: 11 Dec '07 - 10:25 »
With this new version the playback is just stopped and the track is overstriked red.
Although it is better than fault yet no my favorite Prokofiev :)

WonderSlug

  • Posts: 34
Re: XMPlay Apple Lossless plugin
« Reply #14 on: 13 Dec '07 - 17:28 »
With this new version the playback is just stopped and the track is overstriked red.
Although it is better than fault yet no my favorite Prokofiev :)


I figured out the problem.

I was having the same issue that you were, and tried playing it in several other media players which it did fine.

I then examined the encoding properties and it's AAC 44100 Hz Stereo 128 kbps.

This means it's not ALAC but AAC, so you need to download and install the XMP-AAC plugin.

Once I did that, the file plays fine in XMPlay.

Tsorovan

  • Posts: 1247
Re: XMPlay Apple Lossless plugin
« Reply #15 on: 18 Apr '08 - 17:36 »
I uploaded 04 Chain.alac. alac.exe can decode it. The ALAC plugin cannot.
« Last Edit: 21 Apr '08 - 14:57 by Tsorovan »

Ian @ un4seen

  • Administrator
  • Posts: 20389
Re: XMPlay Apple Lossless plugin
« Reply #16 on: 23 Apr '08 - 16:23 »
Here's an update to try...

   www.un4seen.com/stuff/xmp-alac.dll

Tsorovan

  • Posts: 1247
Re: XMPlay Apple Lossless plugin
« Reply #17 on: 24 Apr '08 - 21:45 »
Perfect. Thanks!

amit

  • Posts: 723
Re: XMPlay Apple Lossless plugin
« Reply #18 on: 25 Jan '09 - 22:55 »
When starting xmplay with the current alac plugin I get a message "The application has failed to start because MSVCRTD.dll was not found. Re-installing the  application may fix this problem". Xmplay then starts but unable to play alac files. The previous plugin version (from 2007) crashes xmplay whenever I try to add alac file.

Ian @ un4seen

  • Administrator
  • Posts: 20389
Re: XMPlay Apple Lossless plugin
« Reply #19 on: 26 Jan '09 - 15:47 »
Oops, an updated build that doesn't require MSVCRTD.DLL is now in the 1st post.

amit

  • Posts: 723
Re: XMPlay Apple Lossless plugin
« Reply #20 on: 26 Jan '09 - 16:44 »
Thanks.

shrisha

  • Posts: 3
Re: XMPlay Apple Lossless plugin
« Reply #21 on: 7 Jun '09 - 11:54 »
Unfortunately I still have no luck with 24/96 files. Should I upload some files for you to check? May be it's depends on what software was used for compression?

Dotpitch

  • Posts: 2871
Re: XMPlay Apple Lossless plugin
« Reply #22 on: 7 Jun '09 - 12:28 »
Unfortunately I still have no luck with 24/96 files. Should I upload some files for you to check? May be it's depends on what software was used for compression?
Looking at it now, I see the ALAC decoder library used by the plugin currently only supports 16-bit. If you really need 24-bit support, you could try bribing the author to add it :)
Perhaps you should ask the author the revive the project, the latest decoder is from September 2006.

shrisha

  • Posts: 3
Re: XMPlay Apple Lossless plugin
« Reply #23 on: 8 Jun '09 - 18:56 »
So, no luck at all, then? :)

shrisha

  • Posts: 3
Re: XMPlay Apple Lossless plugin
« Reply #24 on: 4 Feb '10 - 05:12 »
Goodness!!! 24/96 finally supported! Thank you sooooooooo much!!!