Answer Questions
AlexBB DXVA2.0 in MFT
According to the msdn spec, it says the media session will call GetAttributes on the MFT (which should send the MF_SA_D3D_AWARE attribute back up). For some reason the media session does not call the IMFTransform::GetAttributes(). I am using the PlaybackFX sample. Any ideas why it doesn't call GetAttributes I'm going to guess that the transform in question isn't a decoder. In order for the MF session (actually, the topology loader) to do the D3D setup, the MFT in question has to be a decoder, and the MF topology loader has to have inserted it itself. I'm guessing that neither of these is the case for you. There is a way for you to get D3D set up on your non-decoder MFT, though... by doing it ...Show All
n0n4m3 Correct Timer Code?
I am having trouble getting the timer function to work. Everytime it is called on while in the player, it crashes the player. Is this formatted correctly var cbfnAudio = function() { //Animate Menu Code would be here myTitleTimer.enabled = false; }; var myTitleTimer = application.createTimer("00:00:01",1,cbfnAudio); myTitleTimer.enabled = true; Well, I can post what works for me. It's all done in the script side, not the markup side. Do you have the HD spec There is a fairly complicated formula in the Annexes somewhere that you will need to use in order to get the right values for setVolumes and setMixing. They can range from 0-255. Below is what I am currently using. Use this to initia ...Show All
Bill Henning video zoom
I'm working on a small function that zooms the video (with optional panning) but using the code below doesn't seem to work, any tips addEventListener("controller_key_down",keyPressed,true); function keyPressed(evt) { Player.video.main.changeLayout(0,0,Player.createVideoScale(1,2),0,0,1920,1080,"00:00:00:00"); } The above code should have changed the video on any key press. This code should zoom the video out i.e. assuming the video is 1920x1080 you will see it half-sized in the top left corner of the aperture. (I assume the aperture is also 1920x1080). If the video is other sizes, then ihdsim will get it wrong in various ways. I'd check the key handler is running ...Show All
Jstun problems with the css file
hi, everybody First, i want to thank everybody here, because i 've build my first gadget all in java because of the help and the posts here... Not so easy..... I still get a problem because of the CSS file, it looks like the js file don't care of this file, although i declare the className and the Id in my css file, and i red the explanations for this in the sdk. i had to join in the js file all the style.foo = ..... to have what i wanted to get for he position of the layer and the width and heigth and all that stuff Something i've missed thank's for all bidochon Well, I've solved your problem. The last line of france.js was 'albidochon.gadgetfran1.france.registerClass("albidoc ...Show All
Temenos Develop Permissions in appdata\local\microsoft\windows sidebar
my gadget calls a bat file which in turn calls an exe. i get permission denied and the bat will not run when my gadget it located in 'C:\Users\%username%\AppData\Local\Microsoft\Windows Sidebar\Gadgets'. It however works perfectly when my gadget is placed in 'program files\windows sidebar\gadgets' directory. My account has full permissions to the folder in appdata and i can run the bat file manually, but the gadget will not allow it to run. I assume this is by design, but is there any way to bypass this Or a way to change the default path my gadget installs to (program files, instead of appdata) Thanks Jonathan - Yea I could try coding the bat file into the gadget, the only problem is the b ...Show All
Racsco IMFTransform::SetOutputType is never called.
I`m trying to buld MFT but I can't set collect type that caller accepts. Caller just keeps calling IMFTransform::GetOutputCurrentType and IMFTransform::GetOutputAvailableType over and over again. What kind of types should I set just setting GUID of MF_MT_MAJOR_TYPE and MF_MT_SUBTYPE ok accoding to Media Foundation Transform document p.2 Sequence OfEvents "10. Caller calls GetOutputAvailableType iteratively on every output stream until the caller either exhausts the available types for that stream or finds one it likes. If the transform returns E_NOTIMPL, it moves on to setting the output types (step 11). (optional)" I tryed retruning E_NOTIMPL form GetOutputAvailableType but keeps going back to step 9. ...Show All
unthreaded An interesting survey: HD-DVD vs. Blu-Ray
A survey from http://www.dvdtown.com/announcement/hddvdsurveybyipsos/3665/ 1. In response to the question “Which statement best describes how likely you would be to buy an HD DVD player,” respondents were over seven times more likely to buy an HD DVD player vs. a Blu-Ray player when all studios support both formats. a. 57% would definitely or probably buy an HD DVD player vs. 8% for Blu-Ray. b. 25% would definitely buy HD DVD vs. 2% for Blu-Ray. 2. Purchase interest in HD DVD remains three times higher than Blu-Ray -- even without HD DVD studio support from Disney and Fox. a. 56% of respondents would definitely or probably buy an HD DVD player vs. 18% for Blu-Ray. b. 20% would definitely buy HD DVD vs. 6% for Blu-Ray. ...Show All
Bluehunter Video Size
As I see current version of the ihd doesn't support vido resizing. I.E. I can not place menu items at the left side of the screen and video at the right side of the screen. Is it planned to be implemented in future The best reference will always be the HD DVD specification. Yes it does: Player.mainVideo.changeLayout( x,y,scale,cropx,cropy,croph,cropw, time) and its subVideo friend. Are they published If you mean http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwmt/html/introduction_to_hd_dvd_authoring__codz.asp it doesn't contain information about the Object Model Polina wrote: Are they published http://www.dv ...Show All
Larry.Dugger Sidebar refresh after wakeup
Hello, I wrote a small gadget the pulls a comma seperated list of values over a URL GET and displays them. I have it set to refresh every 60 seconds. However, after the computer comes out from wakeup it doesn't refresh any more. What code can I add to address this <script language="VBScript"> Sub Window_Onload GetData iTimerID = window.SetInterval("GetData", 60000) End Sub Sub GetData url = "http://xxxxxxx" set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.open "GET", url, false xmlhttp.send "" DataArray = Split(xmlhttp.responseText, ",", -1, 1) DataDate.InnerHTML = DataArray(0) DataMax.InnerHTML = FormatNumber(DataA ...Show All
David_Reynolds user input
Im looking for a list of user inputs events like 0xFA for play, etc. Thanks in advance. This is as intended. Many thanks! Unfortunately I don't have the spec, only sonic white papers, samples and the hd dvd programming guide that comes with the jumpstart package. VK_FF = 0xC1 VK_STEP_NEXT = 0xC5 VK_PLAY = 0xFA VK_PAUSE = 0xB3 VK_FR = 0xC2 VK_SF = 0xC3 VK_SR = 0xC4 VK_STEP_PREV = 0xC6 VK_SKIP_NEXT = 0xC7 VK_SKIP_PREV = 0xC8 VK_SUBTITLE_SWITCH = 0xC9 VK_SUBTITLE = 0xCA VK_CC = 0xCB VK_ANGLE = 0xCC VK_AUDIO = 0xCD VK_MENU = 0xCE VK_TOP_MENU = 0xCF VK_BACK = 0xD0 VK_RESUME = 0xD1 VK_ESC = 0x1B VK_TAB = 0x9 VK_LEFT = 0x25 VK_UP ...Show All
needforhint Access to other objects on page
Hi, I learn to write a simple gadget, it has a button, when you click this button, it will get the object already existed and alert it. However, seems that getElementById does not work, object returned always null (this object existed). The source code below: this.initialize = function(p_objScope) {.... var m_btnDoIt = document.createElement("input"); m_btnDoIt.onclick = this.doIt; m_btnDoIt.value = "Click me!"; p_elSource.appendChild(m_btnDoIt); .... }; this.doIt = function() { &n ...Show All
Tom K Any sample for ITA?
Hi all From the samples I don't see any implementation for ITA. It is told that to write an ITA we have to create proper interface in Media Source and return an IMFActivate for ITA to be created inside PMP process. "The IMFActivate object exposes the IMFActivate interface, which enables the PMP host to create the ITA, and the IPersistStream interface, which enables the PMP Session to serialize the IMFActivate object from the application process to the PE process." Sounds nice, except one problem -- how to write such a magic object I don't see any further information from all the documents. Does anyone know Actually I think my question is I don't know how to make a working IMFActivate ...Show All
MuscleHead Maintaining State - script vs markup
I've got a new guy I'm training on HDi and he's asking the same questions I did when I first start coding in HDi. And I realize I never get definitive answers on the best way to maintain state. For example, it seems like you should be able to maintain the state of several buttons and menu operations in markup using state:value(). But I have never been able to get this work and the only solutions I've seen in markup (in production HDDVDs and samples) involve using dummy elements to hold a "value" for the state of the menu. Even Peter's example use this design pattern (see blog), and he prefaces his example with the same perception that my team does: this seems hokey/messy. Note this conversation between the two of us: ---------- ...Show All
Eric Wirch Anyone done this?
So now that we have the wonders of the gadgets in vista, has anyone figured out a way to make a gadget that will monitor the CPU usage on a different machine (ie a server) Would this be something you could grab via SNMP A quick google seems to suggest it's possible. So long as you have enough rights on both the host and server, you should be able to do this though WMI. I would have thought there is a CPU usage indicator within WMI. Short of that, you'd have to write an ActiveX COM to get the info through the perfmon DLL's ...Show All
ashish12345 Where can I find this?
So, you know the Feed Headlines gadget that comes with Vista I am wanting to change it to be able so you can choose a site other than one owned by Microsoft. Where can I find the gadget files for the Feed Headlines gadget Thanks! Eirian Cool, thanks! You don't need to change it. Just add your own feeds in Internet Explorer and then selected them in the Gadget! c:\program files\windows sidebar\gadgets ...Show All
