i have uploaded video but when i see them in list ,, i want an image of a video ,, please help for showin image of video in list
A:
You can use ffmpeg to generate images from a video.
You'll find here a tutorial allowing you to use Paperclip to upload a video and FFMpeg to make a thumbnail out of it.
In that tutorial, what's interesting for making the thumbnail is the make
method.
Which generates a ffmpeg command and executes it.
You'll find informations about that command alone here.
Damien MATHIEU
2009-11-06 09:38:17
Just a quick word of warning about using FFMPEG, from my understanding, although its free software its licensed under the LGPL or GPL which means you have to open source your code.
Josh K
2009-11-06 10:26:40
Correct me if wrong: It is not the case. If the *code* of FFMPEG is used to create some other software, then it will have to be GPLed. I am using RoR to develop an application. RoR is MIT that does not mean I will have to open source the code of my application.
Waseem
2009-11-06 11:58:07
@Josh K, you can use the *result* of FFMPEG execution (the converted video) in your application without any restrictions. It is explicitly stated so in GPL. LGPL is even less restrictive than GPL.
Pavel Shved
2010-02-02 14:42:40