Solved

screen to avi?

Posted on 2000-03-17
6
154 Views
Last Modified: 2010-04-06
I know about hypercam etc. but I would like to do something myself.

But how? is it a case of writing a video driver, or capturing each screen shot to disk and 'messing about' with it there?

Thanks in advance
0
Comment
Question by:ewocks
6 Comments
 
LVL 2

Expert Comment

by:coopa
Comment Utility
This is something my company was concidering recently...  Unfortunately due to the huge amount of work involved they opted for Screencam and the Microsoft one (can't rememeber the name right now).

0
 
LVL 4

Expert Comment

by:nils pipenbrinck
Comment Utility
I think it's not really a big deal to write such a program.

you can put your screen capture program in background, get the device context of the screen (I guess it was zero.. but I'm not sure anymore) and capture ... say 10 images per second in a timer loop.

then you should do a fast compression thing (rle or something will work great for) and store the images on the harddisk.

later.. when the use wants to see the avi you can unpack the images and make a avi from them.


I'm not sure, but  I guess a utility which does exactly this is part of the microsoft developer tools.. I once played with it, but  I forgot the name.

Nils
0
 
LVL 3

Accepted Solution

by:
forester earned 100 total points
Comment Utility
There are a large number of programs which take individual image files and convert these to .avi files.  Probably the best among these is Adobe's Premiere, especially version 5.  One question you may want to consider has to do with the choice of software for generating the .avi file. This in turn, has to do with how good the resulting .avi file needs to be, and how much or how little you want to spend on a program to do this job. If this is for a semi-professional product, or for something a client needs, you ought to be thinking in the Premiere range.  If it's for a hobby-level need, please tell me and I'll assemble of list of programs in different price ranges for you.

Typically, to generate a high quality .avi file you need to start with a series of TARGA (".tga") files and use a program such as Premiere to "render" these out to the animation.

You also need to be concerned with the choice of CODEC compression you will use for the .avi file.  Some CODEC's are very efficient (they compress the resulting .avi file very much) and they produce a high quality result. BUT, if you're delivering an .avi file made with these codecs, your client or user may not have a modern codec installed on their machine, and your animation will not play, even though it is an .avi file.

The best thing to do is to go the the CODEC CENTRAL web site, and learn a little bit about codecs. This site explains each of the major types, gives their histories and has pointers to the sites where you may download each of them.  Personally, I prefer the latest Intel Ideo, which is in version 5, and also has an executable that you can send along with your animation, so that any client or any user can install the codec on their machine and play the animation. All users should, of course, have access the the best, latest cedecs, so you will help make the world just a little friendlier for everyone if you take this route.

You haven't really said what "screen" means.  Do you first need to automate the screen capture process ? Or, are you able to take individual screen captures and then assemble these into an .avi file ?

Depending on the answer to this question, the rest of it should sort of fall into place.  

#1 - What is meant by "screen" ?

#2 - How good an end product animation do I need to make, and what am I willing to spend on it?

#3 - Which Codec do I need to have installed on my machine, so that I can make a good product, and do I need to pass that codec onto any other potential users of my animation ?
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:ewocks
Comment Utility
Thank you for a very 'full' response (and I'm sorry for not responding earlier). I have a 'screen capture' that works with VB6 already (it just takes a screen shot of the active window ), in addition I also have VB6 code to convert a list of .bmp's into an AVI. It's just a case of joining them up realy.

I suppose the more correct question would be ... is there a more elegant method,  like MPEG3 that just stores the area that has changed?

What I am realy after is the code to do this not 'just another' avi converter



P.S.
I also am using the Intel compession
utility.
0
 
LVL 3

Expert Comment

by:forester
Comment Utility
ewocks, the avi file format is such that it does not allow components that simply store the area of an image that has changed from one frame to another. For avi, it's just one frame after another. So, yes, your original question probably wasn't really the one you wanted to ask. (Not an uncommon experience for most of us.) So, ... does your end product really need to be in an avi file format? I can point you to sites with various avi code if this is the case. otherwise, you probably should start a new question thread. I think this one is pretty much done.
0
 

Author Comment

by:ewocks
Comment Utility
Yes you are probably right, but I think I should persevere with AVI for the moment, if only to gain more experience - so your offer of some AVI code 'leads' is appreciated - and accepted. Thanks a lot.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
In this Micro Tutorial viewers will learn how to remove an unwanted object using Photoshop’s feature known as content-aware fill.
Learn how to create interesting presentations by including videos to keep your audience engaged using Prezi. Select "Insert" from the top menu in your Prezi editor: Select "YouTube Video": Paste the video URL into the prompt: "Select "Insert":…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now