How to generate an image preview or a video?

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

Threaded View

Hello, I am developping a video log, with a feature that uploads videos to  
the server and I'd like to create a feature that generates an image  
preview of the first scene of the video. How could I do that using either  
PHP, Python, Perl or Ruby?


Desenvolvimento e criação de sites:
Hospedagem de sites e servidores dedicados:

Re: How to generate an image preview or a video?

Quoted text here. Click to load it

Everything I have seen for creating a "preview" or "thumbnail" of a file
requires significant cpu resources and creates a small picture.  All of them
work offline.  Your going to have to find an executable that can run on a
web-server that grabs the 1st n seconds of a video, makes it static, shrinks
it and then saves it.  You can probably use Php to dynamically index
it/display it afterwards.

I suspect there is a Perl library that might help you handle that but I
don't have any info.


Site Timeline