473,398 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

How to take a screenshot from a video?

Hi everybody,

While surfing the net, I've found a little snippet of code which creates
a small application to play video files. I'd like to alter the code a
bit, so it is able to save screenshots of the video files at set
intervals.

In the code, I've already identified the following classes:

IVideoWindow m_objVideoWindow = null;
IMediaEvent m_objMediaEvent = null;
IMediaEventEx m_objMediaEventEx = null;
IMediaPosition m_objMediaPosition = null;
IMediaControl m_objMediaControl = null;

I am able to control the video (start, stop, pause, display a requested
frame, etc...), but I cannot seem to find a way to save pictures from the
video.

Does anybody know where I should start to get this working?

Thanks in advance,

JayCee
--
http://jcsnippets.atspace.com/
a collection of source code, tips and tricks
Apr 3 '07 #1
1 3077
"jcsnippets.atspace.com" <ad***@jcsnippets.atspace.comwrote in
news:Xn**********************************@195.130. 132.70:
Hi everybody,

While surfing the net, I've found a little snippet of code which
creates a small application to play video files. I'd like to alter the
code a bit, so it is able to save screenshots of the video files at
set intervals.

In the code, I've already identified the following classes:

IVideoWindow m_objVideoWindow = null;
IMediaEvent m_objMediaEvent = null;
IMediaEventEx m_objMediaEventEx = null;
IMediaPosition m_objMediaPosition = null;
IMediaControl m_objMediaControl = null;

I am able to control the video (start, stop, pause, display a
requested frame, etc...), but I cannot seem to find a way to save
pictures from the video.

Does anybody know where I should start to get this working?

Thanks in advance,

JayCee
I've still not been able to find a solution.

Does anyone know a way?

Thanks in advance!

JayCee
--
http://jcsnippets.atspace.com/
a collection of source code, tips and tricks
Apr 4 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: DFS | last post by:
http://www.microsoft.com/presspass/images/features/2005/09-13Office12-Access_lg.jpg
1
by: Andreas Zita | last post by:
Hi I wan't to make an app to extract screenshots from video files and also get info about the codec used. I couldn't find any info about this on Google so Im trying here. Can anyone point me in...
2
by: VB Programmer | last post by:
Using ASP.NET is it possible to capture a screenshot of a video (MPG, AVI, FLV, etc...) automatically? The end result being a JPEG. Kind of what google video, youtube, etc... does?
1
by: eylon | last post by:
Hi, I want that website will have a link to my website. When the user will click on this link, it will call a page on my website, that will take a screenshot (from the website contains the link...
4
by: Daniel | last post by:
How to take an IE rendered screenshot of a website with visual studio .net 2002 or visual stuido .net 2003? I can't install visual studio .net 2005 on this computer.
0
by: DAnDA | last post by:
hi i Want to take a screenshot of an aspx page and save it as a jpgg and then attach to email attachment or sendig via Fax Using Asp.net C# JavaScript is it possible???
1
by: molle | last post by:
Hi! I wonder if there is a way to get a frameimage with actionscript from an flv-video, I'm making a youtube-like video-player. Or is that something that is resolved when uploading a video on...
2
by: vishal1082 | last post by:
i want to take a screenshot of user's desktop, just like printscreen does and crop it, because i just want the system tray of taskbar is it possible? (system tray == notification area)
2
by: iconiK | last post by:
Hello! I want to know how to take a screenshot of a full-screen application (that's using DirectX or OpenGL) from my application. I have tried using Qt's built-in feature, but it only remotely...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.