Play Apple Lossless (.m4a, ALAC) files in Windows 7 Media Player?

48,380

Solution 1

Install K-Lite Codec pack.

Supported formats include:

  • AVI (.avi .divx)
  • MPEG-PS (.mpeg .mpg .m1v .m2v .mp2v .mpv2 .evo .m2p)
  • MPEG-TS (.ts .m2ts .m2t .mts)
  • Matroska (.mkv .mka)
  • MP4 (.mp4 .m4v .mp4v .mpv4 .k3g .mqv)
  • Ogg (.ogm .ogv .ogg .oga)
  • DVD/VCD/XVCD (.ifo .vob .dat)
  • Flash Video (.flv)
  • QuickTime (.mov .hdmov)
  • RealMedia (.rm .rmvb .ra .ram)
  • 3GP (.3gp .3gpp .3g2 .3gp2)
  • MP3 (.mp3)
  • MPEG-4 Audio (.m4a .aac)
  • FLAC (.flac)
  • Musepack (.mpc .mpp)
  • WavPack (.wv)
  • OptimFrog (.ofr .ofs)
  • Monkey's Audio (.ape .apl)
  • True Audio (.tta)
  • Apple Lossless Audio Codec (.alac)
  • AC3/DTS (.ac3 .dts)
  • AMR (.amr)
  • AMV (.amv)
  • (.xm .s3m .it .umx)

Solution 2

The advice on the answers.microsoft.com page:

http://answers.microsoft.com/en-us/windows/forum/windows_7-sound/apple-lossless-m4a-in-wmp12/d68a4dc0-224a-43b6-adfb-52402106b53b

Basically they say install the DC-Bass Source Filter and you should be able to play the files.

Unfortunately, if the files have an "m4a" extension they appear in the Other Media section rather than in Music.

The suggested 'solution' is to rename your files to "mp4" but when I do that the files no longer play.

"alac" extension files don't appear at all.

Not really a solution, but hopefully information that might help the community get one step closer.

Oh, and Microsoft, if you're reading this, Apple Lossless is now open source, so I'm sure there's some way you can bundle it into windows media player.

Solution 3

As far as I am aware all the solutions for playing Apple Lossless in WMP12 still require a DirectShow filter. The most common choice being the DC Bass Source one written by Milenko Mitrovic and that being the result of my prior research and suggestion to Milenko. This worked fine for Windows XP and Vista but for Windows 7 and later there are a couple of extra issues to accommodate.

Firstly with WMP12 Microsoft introduced Media Foundation as a replacement for Directshow. Media Foundation codecs take precedence over DirectShow filters and you therefore need to disable any potentially conflicting Media Foundation codec. As WMP12 includes support for AAC files with the .m4a file extension which is the same file extension as for Apple Lossless you therefore need to disable the built-in AAC support. I found the easiest way was to install the Shark007 Windows7 Codec pack which not only includes support for playing Apple Lossless files but also has a tick box for disabling the built-in Media Foundation codec.

Secondly, Microsoft willfully chose to put Apple Lossless files in the 'other' section of WMP rather than the music section, even though they have the same file extension, same file format, and same tag format as AAC files. You can consider this to be like WMA vs. WMA Lossless.

Note: WMP12 has besides normally having built-in support for playing AAC files, also has built-in support for reading MPEG4 'atoms' i.e. tags. It even supports reading embedded Album Artwork from .m4a files - both AAC and Apple Lossless.

This problem with Apple Lossless files being (incorrectly) placed in the other section can be fixed by installing the WMPTagPlus plugin. Thanks go to Tim De Beats for solving this problem. In this case the WMPTagPlus plugin merely tricks WMP12 in to thinking Apple Lossless files are AAC files, it does not need to do the tag reading as WMP12 can already read these tags.

So the full solution is to install the Shark007 codec pack, and the WMPTagPlus plugin. These can be downloaded from the following links.

http://shark007.net/

http://bmproductions.fixnum.org/wmptagplus/

Note: The above solution lets WMP12 recognise Apple Lossless and AAC files as music files, and lets it read the meta-tags in those files including album artwork. As a result Microsoft Media Center can also play those files. Unfortunately as this solution is based on a Directshow filter, the files cannot be streamed from WMP12 as this only works with a Media Foundation codec.

Share:
48,380
Yarek T
Author by

Yarek T

Updated on September 17, 2022

Comments

  • Yarek T
    Yarek T almost 2 years

    Is there a good plugin or codec that allows Media Player/Media Center on Windows 7 to play Apple Lossless (ALAC) encoded files? As the files are shared between multiple iTunes installations and one Media Center I don't want to transcode them. Bonus points for proper meta data parsing. :)

    • Admin
      Admin almost 15 years
      isn't wmp in 7 supporting m4a out of the box?
    • Admin
      Admin almost 15 years
      @OrangeRind Apparently .m4as are okay, Windows Explorer is even reading the meta data on its own. ALAC isn't supported though.
  • Katerberg
    Katerberg almost 15 years
    While I agree with you, the question seemed pretty targeted for WMP.
  • Grumpy ol' Bear
    Grumpy ol' Bear almost 15 years
    Maybe so, maybe he'll ditch the WMP..*shrug*. Can't hurt to suggest something.
  • Yarek T
    Yarek T almost 15 years
    I know you Foobarers love your Foobar, but I'm asking about Windows Media Center. I wouldn't touch WMP with a ten-foot pole if I'd have the choice, but unfortunately it's a necessary evil for Media Center. :)
  • Grumpy ol' Bear
    Grumpy ol' Bear almost 15 years
    You can make your Foobar to a Center, you know ;). A Foobar Center :P. Just a question of plugins. Or if you want, try Songbird ( getsongbird.com )
  • Yarek T
    Yarek T almost 15 years
    Is there a plugin for recording TV...? >:-P
  • Yarek T
    Yarek T over 14 years
    I'll give it a shot later. It seems they're using DC-Bass Source for ALAC playback, which I already tried as a standalone install and it failed. I hope they sprinkled some magic dust on it to make it work.
  • 100rabh
    100rabh over 14 years
    Alright. Do keep us updated.
  • jtimberman
    jtimberman over 14 years
    As a general rule I don't install "codec packs" on my computers and wouldn't recommend anyone else do this either. They are treasure troves for (ad|spy)ware.
  • Yarek T
    Yarek T over 14 years
    @jtimberman I agree, I dislike codec packs as well, but K-Lite seems rather legitimate and if it fixes my problem, I'd be happy. I'll try it on a test system first before messing with my media center, haven't found the time yet though.
  • Yarek T
    Yarek T over 14 years
    Tried it on a pretty clean install of 7, didn't work. Apparently there's no extra magic dust in there that isn't in the standard DC-Bass Source. Has anyone actually got this to work?
  • 100rabh
    100rabh over 14 years
    Any update on this ?
  • mtone
    mtone about 12 years
    Thanks for an answer not requiring a pack, it works perfectly in MPC-HC to play Apple Lossless m4a files (with the goal of applying ffdshow audio mixer on it)!
  • pratnala
    pratnala almost 11 years
    There are so many K-Lite Codec Pack versions. Which one do you suggest to use?
  • 100rabh
    100rabh almost 11 years
    @pratnala standard/full should be fine
  • Chris F Carroll
    Chris F Carroll over 10 years
    I could not find any download button for K-Lite Codec pack. I could only find google-ad buttons labelled "download k-lite codec" but which led to installers for media players with terms & conditions including "your browser home page/search etcetera will be changed"
  • Chris F Carroll
    Chris F Carroll over 10 years
    The DC-Bass solutions just worked, and didn't send me via any dubious ad-linked sites. And it offer a version which you can install/remove yourself using regsrv.
  • 100rabh
    100rabh over 10 years
    @ChrisFCarroll there aren't any ads whatsoever on the page. i.stack.imgur.com/s0w5Q.png
  • 100rabh
    100rabh over 10 years
    @chris i don't use any ad blockers or the like
  • Chris F Carroll
    Chris F Carroll over 10 years
    Then I'm fascinated to know why I get ads and you don't. I've tried a couple of browsers. imgur.com/86nqxOb.png Ad buttons are also on the download pages you point to, and on the pages they link to. But yes, if I use an AdBlocked browser then the real download links are easy to spot.