Imagemagick thumbnail video generation?

I was looking for an alternative to ffmpeg (I am on a host that ffmpeg or mencode does not allow due to server power or something like that), and I studied GD or Imagemagick (both of which are installed) there is a way to generate a thumbnail of the video from any of these two libraries or the other?

I also have the ability to use ruby ​​on rails or python or CGI / perl to generate. But I am not qualified in any of these languages, so I needed a tutorial or script already written.

Can anybody help?

+5
source share
3 answers

Imagemagicks Convert can take video images.

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

[] - ,

+14

, ImageMagick ffmeg . ffmpeg , ImageMagick

+8

As tijay said, you need ffmpeg to use ImageMagick. If everything is all right, you can also use the FFmpeg :: Thumbnail module .

Example:

my $baz = FFmpeg::Thumbnail->new( { video => '/my/video/file.flv' } );
$baz->output_width( 640 );
$baz->output_height( 480 );
$baz->offset( 21 );
$baz->create_thumbnail( undef, '/my/first/thumbnail.png');
+1
source

All Articles