Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

pete2003

how to make screenshots

This topic is 5458 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!