none
how many VMR 9 can a pc support concurently

Răspunsuri

Toate mesajele

  • 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.
    7 septembrie 2009 11:53
  • ok this is probably a silly question however what aboout a graphics card indicates how many renderes it can support?


    7 septembrie 2009 12:20
  • The 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:27
  • As 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 12:55
  • thanks for the help guys
    7 septembrie 2009 14:04
  • VMR7 has a very limited number as well, you might get 1 or 2 more perhaps.
    www.chrisnet.net
    7 septembrie 2009 14:06
  • 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
    7 septembrie 2009 14:08
  • I 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 16:17
  • My machine must suck, I only got 7 or 8 VMR7 instances.
    www.chrisnet.net
    8 septembrie 2009 21:03
  • 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

    25 aprilie 2010 01:19
  • Hi Chad,

    how do you write a custom allocator/presenter for VMR9 without any limit?

    could you tell me?

     

    thanks

    gtlux

    26 aprilie 2010 09:13
  • 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

    26 aprilie 2010 16:34
  • 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

    27 aprilie 2010 15:11