Hi,

I'm working on a photo / movie library thing:

  http://slab.org/yami/

(sourcecode is here: http://slab.org/yami_source/ , mail privately for
info)

I'd like to support avi files nicely, namely by automatically generating
a thumbnail image that represents the avi file.  Simply showing a frame
from the movie as a .png or .jpeg would do, although it might be fun
playing with taking a few frames from the movie, and making an animated
gif.

A friend gave me some code that gets part of the way towards doing this,
using avifile.  However, my C++ skills are pretty rusty after x years
just coding in Perl.  I don't think I'm up to the job of making
something work.

So I'm wondering if anyone has done this already?  Or have some code
that does something similar that I could adapt.  Or have any advice in
general :)

I'm basically just wanting a commandline tool that will save the 'nth'
frame of a movie to an image file such as pnm.  

It would be nice to be able to express the frame number as a percentage,
ie 0.5 to get the frame half way through the avi.  But I would be happy
adding that functionality myself.

best,

alex



_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to