Uploading Videos & Storing Picture

Hello,

I already have a site that allows for uploading and displaying of photos
using file_column, and I now want to add video support. I know that I
can
obviously use file_column to upload and store the reference, but does
anyone know of a way to take a sample of the video on a particular frame
so that I can store that as the thumbnail view?

Thanks for the help,

Frank

On 8/3/06, [email protected] [email protected] wrote:

I already have a site that allows for uploading and displaying of photos
using file_column, and I now want to add video support. I know that I can
obviously use file_column to upload and store the reference, but does
anyone know of a way to take a sample of the video on a particular frame
so that I can store that as the thumbnail view?

ffmpeg -i your_file.mpg -f singlejpeg -t 0:0:0.001 your_jpg_file.jpg

http://ffmpeg.mplayerhq.hu/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs