Full-screen, exclusive-mode video and D3D debugging



I'm developing a video playback app using using a custom allocator-presenter
for VMR9, developed from one of the Dx9 SDK samples. On the release system,
this will be a full-screen, single-monitor display controlled via TCP. My
development system is dual monitor with a single graphics card (this means
single 'adapter', yes?). I would like to test the app by having the video
display full screen (exclusive mode) on one monitor and control it from a
telnet window on the other monitor. Video display is OK on one monitor until
I activate the telnet window on the other. At this point I get 'device lost'
and the video window minimizes itself. I sort of understand where the
'device lost' is coming from - though I'm not sure where the minimization is
happening. Exclusive-mode seems to be necessary for smooth video playback -
windowed mode playback is stuttery, though only slightly.

So I have two questions: First, is it possible to switch between exclusive
and windowed modes without having to completely re-create the Direct3D
device? As an aside, I find myself confused with the 'exclusive mode'
terminology - this seems to come from DirectDraw. Is it the same as the
state of the 'Windowed' member of the D3DPRESENTATION_PARAMETERS?

I'll also need to make the video window visible and invisible to let other
apps show through from time to time. With windowed mode, ::ShowWindow(..)
works fine, but with a full-screen window, this doesn't seem to work. So my
second question is: Should ::ShowWindow(..) work on a full-screen,
exclusive-mode window, or do I need to use some other approach?

.



Relevant Pages

  • Re: DOS windowed session not working
    ... this was another seen thing on this 'new' Depot serviced mainboard I'm dealing with DOS VDM irregularities in an earlier thread here. ... I noticed that although the Scitech video configuration window did have all the screen font change options and color depth selection, the monitor selection panel was blank. ... So in reading the complete installation notes for MCP2 that you can get from the help pane in the troubleshooting, ...
    (comp.os.os2.bugs)
  • Re: playing video on second display
    ... Option A (assumes player skin present on monitor, just no video showing up): ... Here's one way to get a video fullscreen on one monitor & the WMP window ... Vista has an updated display model which is more reliant on DirectX ... Possibly there would be similar settings supplied by the setup for ...
    (microsoft.public.windowsmedia)
  • Re: Opening in a web site
    ... sections (one for each chapter in the video with start and duration times ... chapters on the right side of their Windows Media Player window that they ... >>> code and it should work fine with the newer embedding code above. ...
    (microsoft.public.windowsmedia)
  • Re: CMD/DOS problems
    ... It's downloading. ... That's racing analysis software. ... Can it run in a window. ... > have Video writing options. ...
    (microsoft.public.windowsxp.general)
  • Re: Video snapshot is not captured with bitblt sometimes
    ... the paint window around the screen, the image was only an overlay and was not ... than one DV file and the others do seem to render, ... I don't know how other video hardware handle this situation, ... When you pause are you able to capture ...
    (microsoft.public.win32.programmer.gdi)