VMR9 Renderless mode
-
Hi, I'm just confused. I am trying to implement video playback in a 2D-World using D3D. The best would be to have the video on a D3D-surface, so i chose VMR9 in renderless mode to do the dirty work :/. But i have come to a point where i'm just running against a wall: Although i'm doing quite the same as in the VMR9-Renderless sample, the program crashs while calling RenderFile(). Has anyone a working solution, which he could share?
-
Hi, I'm just confused. I am trying to implement video playback in a 2D-World using D3D. The best would be to have the video on a D3D-surface, so i chose VMR9 in renderless mode to do the dirty work :/. But i have come to a point where i'm just running against a wall: Although i'm doing quite the same as in the VMR9-Renderless sample, the program crashs while calling RenderFile(). Has anyone a working solution, which he could share?
Firedragonweb wrote:
Although i'm doing quite the same as in the VMR9-Renderless sample, the program crashs while calling RenderFile().
Crashes where? How? The VMR9 already draws by default to a Direct3D surface. The IVMRSurfaceAllocatorNotify9 should help. See Supplying a Custom Allocator-Presenter for VMR-9[^]
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder