Get first image of AVI file

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Is it possible to get the first image of an AVI file from my PHP script.

I need it to dynamically create a catalog of my multimedia files (jpeg,  
avi) and to display a thumbnail for each file (it is easy for the image  
files but I don't know how to do this for video files).

Thanks for your help.


Re: Get first image of AVI file

Quoted text here. Click to load it

I'd use any of numerous third party command line video programs to do so  
(I think mplayer could do it, there may be more effective ones). Seeing  
some video files fade in I'd take the frame after 0.5 or 1 seconds though.
Rik Wasmus

Site Timeline