🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Untitled

posted in DruinkJournal
Published May 12, 2009
Advertisement
I've decided to ditch VMR-9 for a few reasons:
1. It's horribly implemented. You can't use the debug runtimes with it (The debug device doesn't expose the IDirect3DVideoDevice9 interface which VMR-9 needs for rendering). I've also read all sorts of horror stories on the Internet about it leaving resources and being difficult to reset the device.
2. It requires a D3D device to use and requires the device to be multithreaded. I really don't like the idea of that, multithreaded devices in D3D9 are A Bad Thing, and multiple devices is a very bad idea. There's no way (that I can see) to tell VMR-9 to not use a D3D device and to render into a memory buffer like plain DirectShow.
3. It's taken me 3 days to get something nearly working.
4. I don't see what benefits it gives me.

#2 is my main reason for ditching it, with #1 a very strong second. I really don't like being forced to use a multithreaded device so that VMR9 can dick around with a surface that the main thread isn't going to use.

So I'll be going back to plain old DirectShow now then.
Previous Entry Untitled
0 likes 3 comments

Comments

Black Knight
Back to DirectShow means adding 44 files to the project [lol]
And what about the bugs you mentioned in an earlier post,did you find any solutions to them.
May 12, 2009 01:41 PM
Evil Steve
Quote: Original post by Black Knight
Back to DirectShow means adding 44 files to the project [lol]
And what about the bugs you mentioned in an earlier post,did you find any solutions to them.
Unfortunately. I might try to whittle it down a bit, I surely can't need all of them...

I solved the VMR-9 bug (Which later turned into a crash), solution is Here. I can't code multiple inheritance for shit [smile]

I haven't looked at any of the DirectShow issues I mentioned a few posts back though, I basically reverted the code and gave up for the day :P
May 12, 2009 03:48 PM
Matias Goldberg
I'm not very into VMR-9
But I know as an end-user that MPC-Homecinema does a good job with it. And it's Open Source. So if you're stuck, you may want to comparare your code with their's.

Just a suggestion
Good luck
May 16, 2009 11:22 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement