Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Mon, 10 Dec 2007 22:16:34 -0300,    group: microsoft.public.win32.programmer.mmedia        back       


VCM   
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
date: Mon, 10 Dec 2007 22:16:34 -0300   author:   Daniel San Pedro

Re: VCM   
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]
date: Tue, 11 Dec 2007 10:09:26 -0500   author:   Chris P.

Re: VCM   
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]
>
date: Tue, 11 Dec 2007 07:48:01 -0800   author:   Daniel Sp

Re: VCM   
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
date: Tue, 11 Dec 2007 11:21:02 -0500   author:   Alessandro Angeli

Re: VCM   
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
date: Tue, 11 Dec 2007 11:26:08 -0500   author:   Alessandro Angeli

Re: VCM   
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]
date: Tue, 11 Dec 2007 13:20:51 -0500   author:   Chris P.

Re: VCM   
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
> 
> 
> 
>
date: Tue, 11 Dec 2007 10:52:01 -0800   author:   Daniel Sp

Re: VCM   
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]
>
date: Tue, 11 Dec 2007 10:53:01 -0800   author:   Daniel Sp

Re: VCM   
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
date: Tue, 11 Dec 2007 14:00:02 -0500   author:   Alessandro Angeli

Re: VCM   
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
date: Thu, 13 Dec 2007 16:56:18 -0500   author:   Alessandro Angeli

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us