Answer Questions
SoMeDuDe iHDSim 0.2 ERROR (E000000005) & ERROR (E070000012)
Hello All I have a problem with iHDSim 0.2. I have working HD-DVD project for iHDsim 0.1. But under iHDSim it doesn't work. I see errors: - <Title> Using xml:base: file:///dvddisc/ADV_OBJ/ Attribute: titleNumber="2" Attribute: titleDuration="00:00:23:00" Attribute: id="Main" Attribute: displayName="DvdOne Demo" Attribute: onEnd="Main" ERROR (E070000012): Element ApplicationSegment cannot appear in its current position (Element: Title, Line: 14, Col: 10) + <ScheduledControlList> - <ScheduledControlList> | Using xml:base: file:///dvddisc/ADV_OBJ/ | + <PauseAt> | - <PauseAt> | | Using xml:base: file:///dvddisc/ADV_OBJ/ | | Attribute: ti ...Show All
Luis Esteban Valencia Mu&#241;oz Pixel Fractions??
I saw this code in another team's demo: animateProperty("height","1123.2px;1144.8px",8); I'm not a video guy but you cannot display pixels in fractions right I think Flash lets you define pixels in fractions but I thought those were rounded up in the browser. Yeah that looks like bad code... it isn't spec compliant. Don't do that :-) I guess if you put something like this in your script players will ignore it. If you try to have pixel fractions in your markup your file won't be valid when you check against the schemas. ...Show All
LastHope Timer.enabled bug in MS ihdsim
Hi guys, I think I found a bug in MS ihdsim. Lets discuss following JS example: var count = 0; function keydown_callback() { timer.enabled = false; timer.enabled = true; } function timer_callback() { count++; document.getElementById("TextLine1").state.value = count; } function main() { timer = createTimer("00:00:05:00", 1, timer_callback); timer.autoReset = true; timer.enabled = true; } setMarkupLoadedHandler(main); addEventListener("controller_key_down", keydown_callback, false); 1. I run this content in MS ihdsim; counter incremented with 5s period, its OK 2. Then I start pressing some buttons, for example '1' key, with ...Show All
HowardRichards Register DLL
Hi, I'm using a custom DLL that was created in C++ and wrapped in a COM object and i want to register it on vista through the code normally before i start the gadget I register it using REGSVR32 "<DLL Location>" now i want to automatically register it through the code Thanx See my comments in this thread. Have a look at the example I posted in this thread. thanx, i say a similar example with the Directx sound lib but i would think there would be an easier way to do that also where do i get the registry keys that im suppose to enter thank you ...Show All
reya276 Reverse playing stream
I am trying to reverse the stream while it is playing by using SetRate. I am getting the slowest, fastest and nearest supported rate for MF_RATE_REVERSE without any errors. It can also SetRate forward without problems. Now, for reverse, if I dont stop the stream I rightfully get MF_E_UNSUPPORTED_RATE_TRANSITION. So I get the playing position, stop the stream, SetRate and start the stream again. I dont see any errors, except that the session ends immidiately. Is there anything special I am missing Here is the code I am using (SetPlaybackRate was taken from the docs): HRESULT hr = S_OK; IMFRateControl *pRateControl = NULL; hr = MFGetService(m_pSession, MF_RATE_CONTROL_SERVICE, IID_IMFRateControl, (void**) &pRateControl); if (!SUCC ...Show All
Hedgehog Software How Can I Write a File?
Hi, I need my gadget write a jpg file in a folder, I did this in Vista Beta 2 using FSO and vbScript (I wrote a file at temp folder), but at RC1 and RTM I don’t have access to write any file. Does exist another way to do this tks Are you writing to the gadgets folder I'm working with RC2 (Build 5744) and writing files works fine as long as I write to the gadgets folder. You can certainly write to the temp folder using FSO, as I've used it myself in a Gadget. Post the code so we can have a look. ...Show All
Chris128 Something
I have noticed if I uninstall Player 11 and the 11 Runtime Format that the voice codec works as it should, but otherwise it doesn't. Even re-encoding audio files that were encoded the the 9.1 voice codec to mp3 or something produces bad results as long as the 11 runtime is installed. Is this a bug Try posting this question on the WMP newsgroup ( http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=microsoft.public.windowsmedia.player&lang=en&cr=US ) and/or the WM SDK newsgroup ( http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=microsoft.public.windowsmedia.sdk&lang=en&cr=US ) ...Show All
graymon XmlHttpRequest and file access
Hello guys. i've just started developing gadgets, so these might be basic questions. ok, i've just developed a gadget which streams radio and returns info about the current track and author. i'm using xmlhttprequest and everything seems to work ok but sometimes i start getting the traditional access denied error which occurs in cross domain calls. i'm giving full permissions on the xml gadget fil so i'd be interesting in getting more info about this kind of errors and how to solve them in gadgets. i'm trying to write a file with some info that should be shared by all gadgets. i'm using thsi code: var pathToFile = System.Gadget.path + "\\lista.txt"; function saveFavorites( lst ){ var fso = new ActiveXObject( "Scripting.File ...Show All
John Mathews Programatically setting the default playback device (and recording device)
Under Vista is there a way to set the default playback device programatically I've searched through the APIs but I'm not seeing it. For example, there is a method IMMDeviceEnumerator::GetDefaultAudioEndpoint(), but there is no corresponding IMMDeviceEnumerator::SetDefaultAudioEndpoint(). Can I do this through the endpoint properties I may be missing something here, but it seems to me that if you are prepared to master the Device Topology API, you can do under Vista exactly what you can do under XP, i.e. you can set Mux and Mute switches etc. for individual devices, but you cannot change the default input and output device. It's annoying that the old mixer API's no longer function though; given that the n ...Show All
CLR_cn drop shadow?
Hi, I am creating a gadget that will have a height that can very, (it will contain a list, and the length of the list dictates the height of the gadget) and I would like to know how i can achieve a drop shadow for the gadget. I can add a dropshadow to the png file that is used for the background of the body, this would work if it was a fixed size. Since I need the height to grow, this won't work. So I have tried setting the background image to a transparent png file and added a table to the html that has a top png, middle png and bottom png as backgrounds in the table cells, these pngs have transparent dropshadows. When it renders, what should be transparent on the pngs in the table, it shows up pink. Any help/info/advice would be ...Show All
Geo725 Great news, looking forward to make authoring tool
I am glad MS got involved in HD DVD as this is the technology that is based on already proven and decade tested DVD technology. I am looking forward to start making a HD authoring software once these things get some legs (like a way to play the iHD :-). (I am the author of DVD-lab PRO from www.mediachance.com ) Thanks to the iHD developers at MS to push HD DVD. It certainly did help to speed up the HD-DVD when MS got involved! Closing this thread Hello, (I'm from Germany, so please excuse the grammar misstakes) I have finished a few codes too, so I would like to join you developing an authoring tool. Do you develop in a team In which language do you write the code (I do in VB .NET) Well, mayb ...Show All
Pat.V DShow to MF migration whitepaper is now live!
A whitepaper titled "Migrating from DirectShow to Media Foundation" has been published up on the MSDN website at: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwmt/html/t_d_migrating_from_directshow_to_media_foundation__cyor.asp . The paper mostly talks about migration paths; it examines the typical digital media application scenarios and makes recommendations on which technologies (Media Foundation or DirectShow) to use in those scenarios. Check it out! Thanks, Prakash Channagiri ...Show All
Alex2200 This is not a valid gadget package!! grr!
hey, So i finished creating my gadget, i use winzip to zip it up to mygadget.gadget and then double click to install... However it just says: This is not a valid gadget package The gadget works if i move the folder to the windows gadget directory! Does anyone know how to fix this problem Regards Hi nickwilliams , This could be the same problem i'm having I made a gadget -- submited it to gallery, and they accepted it, it worked fine, 100 people downloaded it. I then decided to update it a little, all i added was the following line in the code.js file: System.Gadget.background = "url(bgB.png)"; I pack it back up, no changes to the gadget.xml or page.html (which basicly ...Show All
UsmanTahir Advanced Content Playback on HD-A1
Hi All, I am having trouble getting an advanced content application to play once burned on a DVD-R and inserted into the Toshiba HD-A1 HD DVD player. Video and audio play fine using this method, but once the advanced content object is reached the player stops playback and gives an error. Does anyone have any advice on this We have tried the samples posted here and we get the same results. Thanks. The error code 0x4094c501 is definitely a "known" Toshiba player/emulator issue. I know for sure that error code 0x4094c601 (note: last three digits is not 501) is a Toshiba pixel buffer overflow issue, so I am just suspecting if this is similar to buffer overflow or any resource access error. I will investigate this issue ...Show All
Yoann backgroundImage parameters
The CSS used in iHD seems to be a bit different than CSS2.0. First question: Does the HD specification cover style syntax and definitions Second question (and example of my confusion): One of the samples posted to these forums includes a backgroundImage assignment with multiple items. I'm guessing this is to define different images per state. style:backgroundImage="url('BUTTON_T1_0.PNG') url('BUTTON_T1_1.PNG')" What is the signature for this style declaration Thanks. In this case they are equivalent. Depending on the implementation, one may be slightly more efficient than the other, but it would not matter unless you had MANY of them being resolvable at one time. Note that you can only use defaultNode in an en ...Show All
