how to make screenshots
hi all!
Can anyone give plz a hint how i make a picture from a running videostream. I tried something with Directx and that Interop.Dexterlib assembly but recently i get errors with asf files and i dont know why. so maybe is there another way to get pics out of a stream?
thanks so much
pete
Play the stream onto a surface (See DX9 samples).
Draw surface to screen (fullscreen quad)
Use GetFrontBuffer() to capture frames. Must be given a fullscreen A8R8G8B8 buffer to write to, which you can then lock, copy data out of, and write to disk.
Draw surface to screen (fullscreen quad)
Use GetFrontBuffer() to capture frames. Must be given a fullscreen A8R8G8B8 buffer to write to, which you can then lock, copy data out of, and write to disk.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement