Answer Questions
Charles Lewis How to get/set the Bottomup value of a sample?
As you know in the DMO we are using BITMAPINFOHEADER to describe some video information. In the BITMAPINFORHEADER, if the bmiHeader.biHeight > 0, the data is organized as bottom-up; otherwise, the data is organized as up-bottom. But in MFT, how can we assign the value You don't need to specify top-down/bottom-up in the media type. When you get the buffer, QI for IMF2DBuffer. If the buffer supports IMF2DBuffer, the IMF2DBuffer::Lock2D method tells you the stride of the buffer, which is >0 for top-down or <0 for bottom-up. (It will almost certainly be top-down in this case, because it will be a D3D surface.) If the buffer does not support IMF2DBuffer, then it uses "GDI rules", ie, bottom-up for RGB ...Show All
TWild Media Foundation Blog
Is there any Media Foundation Team blog. Or maybe individuals blogging about it. I have been doing quite a bit of development using it and it would just be fun to read about what is coming up and what not. Marc Hi Marc, Thanks for suggestion but unfortunately there isnt one right now. I very much want to start one but I am holding back just because we are in the final stages of Vista. I will definitely post a message here when we start one! Thanks, Prakash Channagiri ...Show All
vzzvzz How to get a topology node's friendly name?
I am writing an application that needs to reveal the details of a topology. Q:How can I get the friendly names of File/URL Sources, MFTs and a Media Sink(Renderer). eg: Enhanced Video Renderer to Video Media Sink - everything like what shows in graphedit.exe in direct show. There seems to be no direct member functions of IMFTopologyNode to display friendly names and I've tried to get the attribute by using IMFAttributes, however, I couldn't find appropriate GUIDs to accomplish this. And I couldn't find any function call like IBaseFilter::QueryFilterInfo used in DirectShow. Yup, I did use that "whenever possible" qualifier on purpose :-) I bet you're looking at the decryptor node. In a ...Show All
ChrisMoje LOOKING FOR A TRAIL OF VISTA
I AM LOOKING FOR A TRAIL OF VISTA CAN YOU HELP Prakash- Where is the right forum for the Vista Beta Program URL Thanks. Jeff http://msdn.microsoft.com/windowsvista/downloads/products/getthebeta/default.aspx -Sumedh Hi Paul, Sorry but this isnt the right forum for joining the Vista Beta program. Thanks, Prakash Channagiri Prakash- Where is the right forum for the Vista Beta program URL Thanks. Jeff ...Show All
Jose A. M. yet another doubt on unsetProperty
Hi .... Consider this : CASE 1 ) In markup I have : <div id = "diva" > </div> In Script : document.diva.setProperty("x","100px"); document.diva.unsetProperty("x"); Assume no animation on "diva" :::::::::::::::::::::::::::: This will cause the div to have style:x = 100px since style:x is not explicitly specified (in xmu ) by the content author and hence even after unsetting the style:x its value persists . CASE 2) In markup I have : <div id = "diva" style:x="20px" > </div> In Script : document.diva.setProperty("x","100px"); document.diva.unsetProperty("x"); Assume no animation on "diva" :::::::::::::::::::::::::::: This will cause the div to have style:x = 20px since style:x ...Show All
coconut113651 Listener for Remove/Add audio device
Hello, is there anything available to receive an information if an audio device (e.g. an USB device) is removed/added from/to the system (Visual C++ Express) Thanx, Micha. Try posting your question here instead: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=351&SiteID=1 ...Show All
Wil Burton Audio Device Enumeration inconsistent in Vista
Hi, I have build a application which enumerates all the audio devices installed in the system and searches for a particular PnP audio output device. To provide this feature I make use of 'DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA' data structure. I populate this data structure and register it with dsound.dll. As a result of it a callback registered by me is invoked depending upon the number of audio devices present in the system. This approach is working perfectly find in Window's XP and 2K. But on Windows Vista (32 bit) I am facing some unique problems. Though there are 2 audio devices present in my system but sometimes the callback registered is invoked just once. Hence I loss the other device. What may be the reason for this Followin ...Show All
StumblingInTheDark Gadget Piracy
Vista hasnt been out for long but we are already seeing a big issue relating to gadgets which is piracy. I have already seen probably 5 examples of people taking someone elses gadget, making a few changes and re-releasing it. I have been developing widgets/gadgets for Mac OS X and Yahoo Widget Engine for 2 years now and i dont think i can even think of 5 similar cases in that time. As far as im concerned unless a gadget specifically states that you may modify and re-release it then those people are breaking copyrights. Just because you can view the source of a gadget that does not mean it should be considered open source in a typical sense. I've released more then 25 widgets/gadgets over the past 2 years and ive never had a proble ...Show All
Andrew Buyan Question about WMP 10 SDK in VB2005
This may be a stupid question for this forum, if so my apologoes... I am writing some simple code hosting WMP 10 in VB 2005 and I am trying to take advantage of the "playstatechange" event. This code works fine on the first pass, but on subsequent events, WMP starts playing, but then goes black upon exiting the subroutine... Just curious where I might go for some assistance on this issue. A code snippet follows: Private Sub AxWindowsMediaPlayer2_PlayStateChange( ByVal sender As Object , ByVal e As AxWMPLib._WMPOCXEvents_PlayStateChangeEvent) Handles AxWindowsMediaPlayer2.PlayStateChange If e.newState = 1 Then AxWindowsMediaPlayer2.Ctlcontrols.play() End If End Sub <-----we die ...Show All
swan_sgp handling event other than nodeSet
<timing clock="page"> <seq> <cue select="//body" dur="5s"> <event name="doTest"/> </cue> </seq> </timing> <body > ...Show All
AshN How to combine DShow filters and IWMWriter together
Hi All, I read all the post on IWMWriter and DirectShow stuff here and I am still having problems on how to mix them together (Obviously IConfigAsfWriter and related interface used in Asfcopy project is fading away..., so we are not going to use them much longer): 1) Can we add IWMWriter to the directshow filter graphs directly 2) If #1) is out of questions, how can we convert encoded avi files (compressed) to the WM file (WM files) by using IWMWriter 3) Lets say this AVI file has both audio and video output and If we have the sample grabber for both the Audio and Video pin, how could we mix it back together when we write to the WMV files Thanks you very much in Advance! Gordon ...Show All
BlueMoose Gadget for my site...
I would like a gadget for my personal site that would be able to pull dynamic content from a message board and list the 'hot topic' or top 5 topics in a seperate little window when you click the gadget. I click it...the window opens...and the selected content is displayed... Thanks, Chris What RSS stuff do I need to look out for I know there is a MOD for the forums I use now. It says something about RSS 0.92. Are there standards I need to consider There are apparently like 5 choices from the forum software and the one I am looking at seems to be pretty standard and also popular with the users on the software. Chris I would love a little help in producing a gadget for the site. Just very simple. I h ...Show All
uksuv I need some one to make me a gadget because im a total n00b :)
what i want is i need a generator to use these 2 images : http://i9.tinypic.com/400bfvo.jpg and http://i5.tinypic.com/44ubss3.png except obviously only one at a time and without the name and code number. I need just to type in the name and the Wii code and to save it as an image file. (in .png) thats pretty much it. Anyone I really need help im desperate :( ...Show All
shauntu hello!! problem with web sidebar gadget
Hello, im new to ur forum. I'm working on a very simple gadget, but i have problem with the flyout and with showing a web site in it. Can anyone tell me how i show a wesite within the flyout box. Thank you very much. Sorry, I should have pointed out that the <a> should be changed as well. Plus there's a </br> in there. Not to mention the setFlyout function missing. Here's working code. Just make sure your flyout.html is as follows: <html> <body style="width:500px; height:500px"> <div id="frame"></div> </body> </html> gadget.html: <html> <head> <script type="text/javascript"> var url; function set ...Show All
edward1028 Can XPath variables be used in <styling>
I wonder if the xpath variables can be used like : style:x="$style_x" in <styling> in .xmu , and style_x is from document.setXPathVariable("style_x","200px"); in .js . I know the xpath variable can be used in <timing> and <body>. Anybody can help me Thanks in advance. HI there Xpath variables are meant to be used only inside Xpath Expressions (that's why they are called Xpath Variables :) ). I guess at least pre-defined Xpath variables can be used in XMU (inside Xpath Expressions). Author can define her own Xpath Variables in a js file.I am not sure whether author-defined variables can be used in XMU ( inside Xpath Expressions). Thanks donb ...Show All
