Sign in to follow this  
IamTheBren

Direct3D - DirectShow video

Recommended Posts

IamTheBren    100
Hello! I am trying to render Direct3D to DirectShow. Basically the opposite of what a lot of people want to do (video in scene) so searching for help is very difficult. I think what I need to do is render/copy a Direct3D surface into a DirectShow video object, via a filter. However, in terms of actually getting anywhere I am utterly stumped. I am not familiar with DirectShow filter/graph stuff at all, so getting my head around this is really challenging. Does anyone have any pointers/links that could get me a bit down the road? It would be greatly appreciated.

Share this post


Link to post
Share on other sites
blairhartley    187
Couldn't you achieve the same result by using the same technique as bringing a video into a 3D scene? In your case your video would presumably be a fullscreen backdrop with the 3D element on top.

If that works for you, then I would recommend getting started using VMR9 and a custom allocator presenter. There's an example that should get you going in the standard DirectShow samples. I didn't find it the easiest thing to get my head around, but got there in the end.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this