Hi, i've developed a VCM codec/decoder and its works fine when is used into an avi movie but when i create and asf (with FSDK) the Windows Media player never call ICM_COMPRESS (other players do it) has anybody else had this problem ? thanks.. DaNieL
On Mon, 10 Dec 2007 22:16:34 -0300, Daniel San Pedro wrote: > Hi, i've developed a VCM codec/decoder and its works fine when is used into > an avi movie but when i create and asf (with FSDK) the Windows Media player > never call ICM_COMPRESS (other players do it) WMP (and the Format SDK in general) won't use VCM decoders. I would suggest that you also compile it as a DMO. -- http://www.chrisnet.net/code.htm [MS MVP for DirectShow / MediaFoundation]
Hi Cris, I have developed two codec ACM and VCM for a project and now the problem is when I make the asf (FWDK) with VCM (my) and WM Player. Other players works fine and this bothers me. I think the tip is when FSDK builds the asf with the new sample data. If i attach the windgb to the players the only one that not call ICM_DECOMPRESS is WM (when previusly i response ok to ICM_QUERYDECOMPREESS) Then WMP call ICM_DECOMPRESS_BEGIN and next ICM_DECOMPRESS_END. Thanks. Daniel "Chris P." wrote: > On Mon, 10 Dec 2007 22:16:34 -0300, Daniel San Pedro wrote: > > > Hi, i've developed a VCM codec/decoder and its works fine when is used into > > an avi movie but when i create and asf (with FSDK) the Windows Media player > > never call ICM_COMPRESS (other players do it) > > WMP (and the Format SDK in general) won't use VCM decoders. I would > suggest that you also compile it as a DMO. > > -- > http://www.chrisnet.net/code.htm > [MS MVP for DirectShow / MediaFoundation] >
From: "Chris P." > WMP (and the Format SDK in general) won't use VCM > decoders. I would suggest that you also compile it as a > DMO. Actually the WMF readers are supposed to support ACM/VCM codecs as well as DMOs (at least on pre-Vista), but they are much pickier, hence DMOs are a better choice. -- // Alessandro Angeli // MVP :: DirectShow / MediaFoundation // mvpnews at riseoftheants dot com // http://www.riseoftheants.com/mmx/faq.htm
From: "Daniel Sp" > I have developed two codec ACM and VCM for a project and > now the problem is when I make the asf (FWDK) with VCM > (my) and WM Player. Other players works fine and this > bothers me. I think the tip is when FSDK builds the asf > with the new sample data. If i attach the windgb to the > players the only one that not call ICM_DECOMPRESS is WM > (when previusly i response ok to ICM_QUERYDECOMPREESS) > Then WMP call ICM_DECOMPRESS_BEGIN and next > ICM_DECOMPRESS_END. WMP handles ASF files differently than AVIs or other players, that is it uses the WMF's WMReader to perform the decompression instead of DirectShow. http://groups.google.com/group/microsoft.public.windowsmedia.sdk/browse_thread/thread/7890493c9604a8ae However, a VCM decoder should work, at least on pre-Vista systems, but the WMF readers seem very picky when it comes to VCM codecs and I haven't yet figured how exactly what they expect. -- // Alessandro Angeli // MVP :: DirectShow / MediaFoundation // mvpnews at riseoftheants dot com // http://www.riseoftheants.com/mmx/faq.htm
On Tue, 11 Dec 2007 11:21:02 -0500, Alessandro Angeli wrote: > From: "Chris P." > >> WMP (and the Format SDK in general) won't use VCM >> decoders. I would suggest that you also compile it as a >> DMO. > > Actually the WMF readers are supposed to support ACM/VCM > codecs as well as DMOs (at least on pre-Vista), but they are > much pickier, hence DMOs are a better choice. Fair enough. I always see Microsoft compile theirs both ways so they obviously didn't figure it out either :) -- http://www.chrisnet.net/code.htm [MS MVP for DirectShow / MediaFoundation]
Alessandro thanks a lot! So I must to think about a DMO, my risk is that the error be on the ASF building. This last part of the project dont belong to me. "Alessandro Angeli" wrote: > From: "Chris P." > > > WMP (and the Format SDK in general) won't use VCM > > decoders. I would suggest that you also compile it as a > > DMO. > > Actually the WMF readers are supposed to support ACM/VCM > codecs as well as DMOs (at least on pre-Vista), but they are > much pickier, hence DMOs are a better choice. > > > -- > // Alessandro Angeli > // MVP :: DirectShow / MediaFoundation > // mvpnews at riseoftheants dot com > // http://www.riseoftheants.com/mmx/faq.htm > > > >
Chris thanks a lot! (So I must to think about a DMO, my risk is that the error be on the ASF building. This last part of the project dont belong to me.) "Chris P." wrote: > On Tue, 11 Dec 2007 11:21:02 -0500, Alessandro Angeli wrote: > > > From: "Chris P." > > > >> WMP (and the Format SDK in general) won't use VCM > >> decoders. I would suggest that you also compile it as a > >> DMO. > > > > Actually the WMF readers are supposed to support ACM/VCM > > codecs as well as DMOs (at least on pre-Vista), but they are > > much pickier, hence DMOs are a better choice. > > Fair enough. I always see Microsoft compile theirs both ways so they > obviously didn't figure it out either :) > > -- > http://www.chrisnet.net/code.htm > [MS MVP for DirectShow / MediaFoundation] >
From: "Daniel Sp" > Alessandro thanks a lot! So I must to think about a DMO, > my risk is that the error be on the ASF building. This > last part of the project dont belong to me. Does the ASF play in GraphEdit or WindowsMediaPlayer6.4 (aka mplayer2.exe)? If it does, then it is correct and it is just the packaging of the decoder which is for some reason not to WMF's liking. You can have your codec work as both a VCM codec and a DMO simply by putting all necessary entrypoints in the DLL, wrapping the internal code both ways and registering it as both. If you feel adventurous, you could also package it as an MFT to natively support WMP on Vista. -- // Alessandro Angeli // MVP :: DirectShow / MediaFoundation // mvpnews at riseoftheants dot com // http://www.riseoftheants.com/mmx/faq.htm
From: "Daniel San Pedro" > Hi, i've developed a VCM codec/decoder and its works fine > when is used into an avi movie but when i create and asf > (with FSDK) the Windows Media player never call > ICM_COMPRESS (other players do it) Replied in m.p.wm.sdk. -- // Alessandro Angeli // MVP :: DirectShow / MediaFoundation // mvpnews at riseoftheants dot com // http://www.riseoftheants.com/mmx/faq.htm