From: "Chris Williamson"
[Quoted Text] > I am trying to figure out how to create a codec that > would be used by WMP to transcode video files to a custom > fiormat supported by our device when sync'ing. I already > have an application that will build .smv files from other > video files, but I need to know how to 'wrap' that into > something that could be used by WMP. That's how it works > right? The device says it can support .smv files > somehow, then WMP will pick up the "AVI-2-SMV transcoder" > and convert the file, then write it to the device. > > Can someone get me poinited in the right direction? I > have been doing a lot of reading, but haven't stumbled on > if this is possible and how to do it yet.
WMP has no generic transcoding API and it can only transcode from third-party formats into WMA/WMV. Maybe you can find a way of using the shadow file to trick WMP into transcoding into your format:
http://msdn.microsoft.com/en-us/library/bb249674(VS.85).aspx
Otherwise, I think you need to write a WMDM service provider:
http://msdn.microsoft.com/en-us/library/bb231583(VS.85).aspx
or a WPD user-mode driver:
http://msdn.microsoft.com/en-us/library/ms740786(VS.85).aspx
-- // Alessandro Angeli // MVP :: DirectShow / MediaFoundation // mvpnews at riseoftheants dot com // http://www.riseoftheants.com/mmx/faq.htm
|