Log in

View Full Version : command line avi screen shots


Adz
21st June 2004, 19:37
I'm looking for a way to automate exporting frames from an AVI file, preferably at percentage intervals (10%, 20% ...), to jpeg, tga etc.

Perhaps its possible with virtualdub(mod), but I'm not sure how to automate it.

Any ideas?

killingspree
21st June 2004, 19:42
http://www.avisynth.org/ImageWriter

Adz
21st June 2004, 20:28
thanks for that, didnt think of avisynth!

I'm having probs tho, im using a little command line app called avsutil, and trying the following:

AVISource("c:\cap.avi")
ImageWriter("c:\", 100, 100, "BMP")

im guessing im doing something totaly wrong, c:\cap.avi exists.

can anyone help?

killingspree
21st June 2004, 20:32
what's the error avisynth is giving you?

Adz
21st June 2004, 20:35
If I open the avs in vdub, it shows the cap.avi ? so nothing im guessing?

Adz
21st June 2004, 20:36
DevIL requires RGB24 input

Adz
21st June 2004, 20:39
ok got it working after changing the input to RGB24


thanks for that!

killingspree
21st June 2004, 23:00
cheers