Hello,
I have an HTMLViewer, HTMLViewer1, that is displaying a youtube movie.
How can I create a picture, mypic.jpg, of what is being displayed when I click on a pushbutton, PushButton1?
Thanks.
Lennox
Hello,
I have an HTMLViewer, HTMLViewer1, that is displaying a youtube movie.
How can I create a picture, mypic.jpg, of what is being displayed when I click on a pushbutton, PushButton1?
Thanks.
Lennox
This has been covered before, do a search for HTMLViewer DrawInto
Basically, capture the screen, since HTMLViewer.drawinto simply does not work. On Mac, self.Drawinto works, but not on Windows.
Hi Michel,
Thanks, I tried it but what I am doing is trying to capture a picture of a frame while a video is in process.
If there is a video and I use self.Drawinto I only get some of what is being displayed at that instant.
If I stop the video then I get a picture of the frame that is being displayed, I think I have to use movie player, but how can I capture a frame of the video?
Thanks.
Lennox
What platform(s)?
[quote=131468:@Lennox Jacob]Hi Michel,
Thanks, I tried it but what I am doing is trying to capture a picture of a frame while a video is in process.
If there is a video and I use self.Drawinto I only get some of what is being displayed at that instant.
If I stop the video then I get a picture of the frame that is being displayed, I think I have to use movie player, but how can I capture a frame of the video?[/quote]
I looked over the net and found a few solutions for Windows like here http://www.codeproject.com/Articles/13237/Extract-Frames-from-Video-Files in C and DLL.
Cross platform you may want to have a look at ffmpeg http://ffmpeg.org/
Specifically for Mac, I know Christian has all sorts of plugins and he may have a solution available.