how many VMR 9 can a pc support concurently
-
7 septembrie 2009 10:24Hi,folowing on from my ealer thread is there a way to tell how many instances of VMR 9 youer pc can support concurently? and is there a way to increas the number?http://social.msdn.microsoft.com/Forums/en-US/windowsdirectshowdevelopment/thread/add35cf7-e3d4-4130-91d7-e0b305b3c0dfthanks
Toate mesajele
-
7 septembrie 2009 11:53Moderator
1. There is no way to tell except empirically.2. Change to a different graphics card that supports more.
Please use Vote As Helpful (green up arrow at top-left of posts) and Mark As Answer where appropriate.
My dshow site is http://tmhare.mvps.org.- Marcat ca răspuns de The March HareModerator 25 aprilie 2010 05:20
-
7 septembrie 2009 12:20ok this is probably a silly question however what aboout a graphics card indicates how many renderes it can support?
-
7 septembrie 2009 12:27ModeratorThe graphics chipsset, RAM and driver are all factors. However, there is no specificiation on any card that I've seen and there is no interface to get the information in any Windows SDK.
Please use Vote As Helpful (green up arrow at top-left of posts) and Mark As Answer where appropriate.
My dshow site is http://tmhare.mvps.org. -
7 septembrie 2009 12:55As far as I know, effective number of VMR instances is also dependent on resolution and/or maybe pixel format. So it is difficult to tell in advance how many instances you can create. If you need many, consider using VMR7.
http://alax.info/blog/tag/directshow -
7 septembrie 2009 14:04thanks for the help guys
-
7 septembrie 2009 14:06
-
7 septembrie 2009 14:08
VMR7 has a very limited number as well, you might get 1 or 2 more perhaps.
I don't think I ever hit the limit with VMR7 (30+ was OK). With VMR9 you often cannot go out of ten...
http://alax.info/blog/tag/directshow -
8 septembrie 2009 16:17ModeratorI think I did some tests where I got more than 100 VMR7 (all working), and only 7 or 8 working VMR9.
Michel Roujansky, http://www.roujansky.com -
8 septembrie 2009 21:03My machine must suck, I only got 7 or 8 VMR7 instances.
www.chrisnet.net -
25 aprilie 2010 01:19
I ran into the limit while developing my application about 4 years ago.
Seems you can have many more VMR7s than VMR9s... the limit on my old battleaxe laptop was 9.
So I wrote a custom allocator/presenter for VMR9 and didn't run into any limit. Best of both worlds.Chad
-
26 aprilie 2010 09:13
Hi Chad,
how do you write a custom allocator/presenter for VMR9 without any limit?
could you tell me?
thanks
gtlux
-
26 aprilie 2010 16:34
I'm not sure if there's NO limit (I didn't run into a limit with 100+ of them)... but it centers on not creating a new Direct3D9 device for each Allocator/Presenter. If you can create a single D3D9 device (like a static object/singleton) and share it amongst your allocator/presenters, you'll have it.
You can also do other resource sharing, like using a pool of D3D9 surfaces.
From there just follow the docs on how to create a custom allocator/presenter.
Hope that helps
C
-
27 aprilie 2010 15:11
Hi Chad,
What kind of allocator/presenter you use? A sample code from directshow SDK? because i find the VMR9Allocaotr project in the SDK.
And the allocator/presenter you have just create a D3D9 divece and share it. How do you achieve?
thanks for your help
gtlux