AudioVideoPlayback - Capturing Screenshot

jason2li

Member
Joined
Nov 18, 2005
Messages
22
Location
St. Louis, MO
Programming Experience
5-10
I'm trying to capture a screenshot from a video file save it to a Bitmap object. I am using AudioVideoPlayback.Video.

I've looked all over the web and can't find anything.

Does anybody know how to do this?
 
You might want to try reading this thread:

http://www.vbdotnetforums.com/showthread.php?t=16498

I haven't tried to work this out yet, but I'm thinking that maybe you could get the handle to the window where the video is playing and capture a screenshot on a button click. I haven't tested it to see if it works, but I may do this tonight. I'm not familiar with AudioVideoPlayback.Video, so I don't know if it brings up your default media player or plays it on your form. Either way, you should be able to grab the window handle and capture the screen shot. Also, it may cause problems if the video is copyright material. I know I've run into that when using the Print Screen button, so I would assume that this would be the same concept, and the video would know that.
 
Back
Top