• Advertisement
Sign in to follow this  

Drawing "into" a video stream?

This topic is 3029 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

Hello all, sorry for the bizarre subject heading, here's what I mean: I'm currently doing some drawing in a Windows Form app using Managed DirectX (DX9). I'd like to capture what I'm drawing as a video. The length of the video is not known a prior...in other words the app starts drawing and it should record the animation as a video until the user clicks Stop. Is it possible to use DX9 to draw to the screen and then draw to a video so-to-speak? Or is this completely the wrong way to go about it? Thanks in advance, L

Share this post


Link to post
Share on other sites
Advertisement
DirectX doesn't have anything like that. The easiest way would be to save each "frame" as a BMP file, and then use a program like VirtualDub to create an. AVI file from the frames.

Apart from that, you'll probably end up having to save each frame as a bitmap in memory, and then using a video library to append the frame to the video.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement