Re: Strange performance behavior with two VMR9 Mixing Renderer Allocat
From: Iain (Iain_at_idclTAKEAWAY.co.uk)
Date: 03/11/05
- Next message: Iain: "Re: To write a codec"
- Previous message: Seyfullah Çetin: "Re: Playback stops when the window is moved"
- In reply to: gt bs: "Strange performance behavior with two VMR9 Mixing Renderer Allocat"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Mar 2005 08:23:12 +0000
On Thu, 10 Mar 2005 15:41:07 -0800, gt bs wrote:
> I'am working on an video-playback machine for mpeg2 and wmvhd videos.
> My application creates two windows for the two devices of the graphics card
> (the two monitors), builds a filtergraph with two file sources, two video
> mixing renderer 9 in renderless mode and two allocator/presenters, which draw
> the video on an image-warping surface.
> I also wrote a reference clock to lock the framerate of the playback to the
> vertical sync of the graphics card, so the video playback is really smooth.
> Playing the graph with only one a/p and/or one fullscreen video, everything
> works fine.
>
> The strange thing: if I run the graph with two a/ps, I have to position my
> application's window that it covers small parts of both monitors and it has
> to be active that both videos play smooth. If the application's window leaves
> one monitor, the video on this monitor starts jerking. Also if the
> application's window is minimized, both videos are jerking.
> It behaves like the device with the active application window on it has more
> priority (what is absolutly strange to me).
> I've tried a lot. Using the standard reference clock, render with
> D3DPRESENT_INTERVAL_IMMEDIATE instead of D3DPRESENT_INTERVAL_ONE, different
> PC, different graphics card. no change.
>
>
> Has anybody an idea where to start?
>
> Thanks,
> Gerd
Well, I know very little about this area, but I'd like to ask if you have 2
clocks or one? If you have only one clock which monitor is it syncing to?
Iain
-- Iain Downs (DirectShow MVP) Software Product Consultant www.idcl.co.uk
- Next message: Iain: "Re: To write a codec"
- Previous message: Seyfullah Çetin: "Re: Playback stops when the window is moved"
- In reply to: gt bs: "Strange performance behavior with two VMR9 Mixing Renderer Allocat"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|