Problem with formats in DSP plugin
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
Problem with formats in DSP plugin

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
Author Message
alfbrajn



Joined: 14 Mar 2006
Posts: 1

Posted: Tue Mar 14, 2006 12:55 pm    Post subject: Problem with formats in DSP plugin Reply with quote

I have written WMP DSP plugin which is augmenting video stream. I'm using the libraries which can operate only on RGB24 or RGB32 formats so these
ones I would like to receive (and output) in my DSP plugin. Encoder is also under my control.
When I was used WM8 version formats there were no problems. GetCaps method were unimplemented. I was endcoding RGB video and I was given such an format in my DSP plugin.

When I switched to WMMEDIASUBTYPE_WMV3 wihtout GetCaps implemented plugin is just ignored for this media subtype. When GetCaps is implemented and I'm returning 0 (suggesting I can convert formats) for WM8 it still passes RGB to me (it is OK). For WMMEDIASUBTYPE_WMV3 on encoder site it proposes me MEDIASUBTYPE_YV12 and nothing else . Things go even worse with WMPPlugin_Caps_CannotConvertFormats returned from GetCaps. The only format proposed is MEDIASUBTYPE_YV12 both for WM8 or WMMEDIASUBTYPE_WMV3 encoded formats. According to documentation :

"...WMPPlugin_Caps_CannotConvertFormats, forces Windows Media Player to handle any necessary format conversion"

For me it is not working. What should I do to force WMP to give me video in RGB formats? Is it possible?

--
Regards
md

Back to top
View user's profile Send private message
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB