sysKin
1st June 2007, 15:13
Hi ~
DirectX Media Objects, aka DMOs, are the current recommended way of implementing audio/video transformations within directx framework. They're really simple COM objects - you push a frame into input, call a Process() function and get a frame on the other end.
Exactly like avs filters, but hard to use if I want to encode stuff (easy if I used graphedit but blah).
I happen to have some useful DMOs that do useful things with video, and I suspect there might be more of them in the future. Therefore, I'd like to write a wrapper that would allow me to use them as part of my script - they are just filters after all.
The problem is I have absolutely zero experience with all this COM stuff. I don't know how to load such dmo, how to get the functions I want, etc etc.
Can someone help me please? The avs part is easy thanks to sticky filter example (thanks!) but the COM part is hard - for me at least.
Thanks!
some reference on how to use DMOs (once you know how to load them lol): http://msdn2.microsoft.com/en-us/library/ms783322.aspx
:)
DirectX Media Objects, aka DMOs, are the current recommended way of implementing audio/video transformations within directx framework. They're really simple COM objects - you push a frame into input, call a Process() function and get a frame on the other end.
Exactly like avs filters, but hard to use if I want to encode stuff (easy if I used graphedit but blah).
I happen to have some useful DMOs that do useful things with video, and I suspect there might be more of them in the future. Therefore, I'd like to write a wrapper that would allow me to use them as part of my script - they are just filters after all.
The problem is I have absolutely zero experience with all this COM stuff. I don't know how to load such dmo, how to get the functions I want, etc etc.
Can someone help me please? The avs part is easy thanks to sticky filter example (thanks!) but the COM part is hard - for me at least.
Thanks!
some reference on how to use DMOs (once you know how to load them lol): http://msdn2.microsoft.com/en-us/library/ms783322.aspx
:)