DCSIMG
Video - David Sackstein's Blog

Browse by Tags

All Tags » Video (RSS)

Rendering Video with VMR9 on a Windows Form by David Sackstein

This week I taught a class on video and DirectShow and sat down to prepare some demos. In this demo I show how to use the Video Mixing Render 9 (VMR9) in Windowless mode to render video on the Form of a Windows Forms application. As in my posts on MSXML I found that the smart pointers of comdef.h and comip.h really helped to clean up the code. Why, programming the VMR9 in C++ can be as elegant as C# ! You can find the complete source code here . High Level Design For this demo I started with the...
תגים:, , , ,

Mapping MediaElement onto a Sphere with WPF by David Sackstein

In my previous post I created a 3D cube, mapped a MediaElement onto each of its faces and animated the camera around the cube. In this post, I will replace the 3D cube with a sphere and wrap the video onto the surface of the sphere. I omit the camera animation for simplicity, but you can add it back, of course. You can download the source code here . In order to create the sphere mesh I made use of Charles Petzold’s elegant SphereMeshGenerator. In Chapter 6 of his book (3D Programming for Windows...
תגים:, , , ,
Powered by Community Server (Commercial Edition), by Telligent Systems