IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Is there a Media Foundation Codec for ALAC ?
andrewfg
post May 5 2012, 18:19
Post #1





Group: Members
Posts: 84
Joined: 12-May 08
Member No.: 53478



There exist already several DirectShow codecs that support playing of ALAC (Apple Lossless) media in Windows Media Player.

We know that Windows Media Player makes use of third party DirectShow codecs to enable it to Play otherwise unsupported media formats on the local PC's audio speakers. But it seems that Windows Media Player does not to use such third party DirectShow codecs to stream these same additional media formats to an external music player via its UPnP/DLNA "Play To" command. => I don't know the reason for this, but it seems that Windows Media Player can only use Media Foundation codecs for extending its UPnP/DLNA "Play To" capability to additional media formats.

So my question is simple: has anyone written a Media Foundation codec for ALAC (Apple Lossless)?


--------------------
AndrewFG (Whitebear -- http://www.whitebear.ch/mediaserver )
Go to the top of the page
+Quote Post
Tim De Baets
post Jun 1 2012, 22:15
Post #2


Author of WMPCDText


Group: Developer
Posts: 393
Joined: 13-August 07
Member No.: 46161



Repeating for the folks in this forum what I already said at Microsoft Answers, since the DC-Bass DirectShow filter is open source, someone with basic knowledge of Media Foundation could port the filter from DirectShow to Media Foundation pretty easily. It should definitely make an interesting project smile.gif

Perhaps you can also ask the developer of the MFFLAC codec. That's the only Media Foundation codec I know of at the moment. It's weird though that the codec is hosted on Sourceforge while it isn't open source at all. If you had its source code, it would probably be even easier to take its Media Foundation skeleton and put DC-Bass into it.
Go to the top of the page
+Quote Post
andrewfg
post Jun 2 2012, 10:21
Post #3





Group: Members
Posts: 84
Joined: 12-May 08
Member No.: 53478



QUOTE (Tim De Baets @ Jun 1 2012, 23:15) *
Perhaps you can also ask the developer of the MFFLAC codec. That's the only Media Foundation codec I know of at the moment. It's weird though that the codec is hosted on Sourceforge while it isn't open source at all. If you had its source code, it would probably be even easier to take its Media Foundation skeleton and put DC-Bass into it.


I did contact him, but got no answer. Also in the meantime, he has now posted some source code, but frankly I can't get my head round it. It looks like source code for a completely different application.


--------------------
AndrewFG (Whitebear -- http://www.whitebear.ch/mediaserver )
Go to the top of the page
+Quote Post
Tim De Baets
post Jun 2 2012, 17:02
Post #4


Author of WMPCDText


Group: Developer
Posts: 393
Joined: 13-August 07
Member No.: 46161



Indeed, I have noticed that as well. Intentionally or not, he did definitely leave out all Media Foundation and FLAC parsing code, which renders the source code pretty useless.

However, MFFLAC's source code might not be necessary after all. One could also use the WavSource and MPEG1Source Media Foundation SDK samples as a starting point. These are part of the Windows SDK but can also be downloaded separately here.
Go to the top of the page
+Quote Post
andrewfg
post Jun 2 2012, 18:16
Post #5





Group: Members
Posts: 84
Joined: 12-May 08
Member No.: 53478



QUOTE (Tim De Baets @ Jun 2 2012, 18:02) *
However, MFFLAC's source code might not be necessary after all. One could also use the WavSource and MPEG1Source Media Foundation SDK samples as a starting point. These are part of the Windows SDK but can also be downloaded separately here.


Yeah I know. I already looked as those too. I think my main issue is a motivational one: do I really want to start another project at this time ???


--------------------
AndrewFG (Whitebear -- http://www.whitebear.ch/mediaserver )
Go to the top of the page
+Quote Post
John Lockwood
post Nov 12 2012, 14:33
Post #6





Group: Members
Posts: 60
Joined: 21-May 06
Member No.: 31014



QUOTE (andrewfg @ Jun 2 2012, 18:16) *
QUOTE (Tim De Baets @ Jun 2 2012, 18:02) *
However, MFFLAC's source code might not be necessary after all. One could also use the WavSource and MPEG1Source Media Foundation SDK samples as a starting point. These are part of the Windows SDK but can also be downloaded separately here.


Yeah I know. I already looked as those too. I think my main issue is a motivational one: do I really want to start another project at this time ???

As the person who came up with the original idea that resulted in the DC Bass Apple Lossless directshow filter (and I believe all the other supposed variants are merely codec packs repackaging it), I too would like to see a Media Foundation successor. (As an aside for anyone else reading this thread, the existing directshow filter works fine for playing Apple Lossless in WMP and Media Center but not for streaming.)

If someone is interested in taking this up, apart from the source to the DC Bass directshow filter which was based on the original revrse engineering of Apple Lossless, Apple have since released their own Apple Lossless source code as open source. Apple's code is not as it stands in the form of a directshow or media foundation codec and would need to be wrapped up in to a media foundation form. See http://alac.macosforge.org/
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 30th July 2014 - 05:03