|
Written by Daniel P
|
|
Tuesday, 23 August 2005 |
|
No, I'm not talking about going on a rampage. A few weeks ago, I tried to port the
Picture-in-Picture DirectShow C++ sample to C# and I could only make it run in
"windowed" mode (and couldn't make it run in "windowless" mode). At the time, I didn't
investigate the matter further.
This past week, I've looked at the VRM9Allocator C++ sample and see what can
be done with it in C#. I have faced a few hurdles, but this time
around, I took the "big guns" out i.e. WinDbg and its Son of Strike extension (SOS.dll).
The result is a custom allocator/presenter in C#. It's still buggy but now I can play
videos on Direct3D surfaces. The VMR-9 allocator/presenter replaceable component is
really neat but seems (from info gleaned on newsgroups and lists) to be not too
robust. Or maybe it's just that we still don't know how to use it very well.
I'll post some code in the near future for those who are curious about this stuff.
|