Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Video thumbnail generation imagemagick?

I have been searching for an alternative to ffmpeg (I'm on a host that doesn't allow ffmpeg or mencode due to server power or something) and I was looking into GD or Imagemagick (both of which are installed) is there a way to generate a video thumbnail from either of these two libraries or another one?

I also have the option of using ruby on rails or python or CGI/perl to do the generation. But I'm not skilled in either of those languages so I would need a tutorial or script already wrote.

Anyone help?

like image 433
Steven Avatar asked Feb 25 '11 04:02

Steven


2 Answers

Imagemagicks Convert can do video tumbnails.

convert -quiet moviefile.mov[10] movieframe.gif

where the number between the [] is the framenumber of the movie that is converted

like image 100
Peet Avatar answered Oct 19 '22 22:10

Peet


In fact, ImageMagick just uses ffmeg under the hood. If ffmpeg is not installed, you'll have no luck using ImageMagick

like image 41
tijej Avatar answered Oct 19 '22 21:10

tijej