Can anyone help me out that how i can display video and pdf file as thumbnail?? Thanks..............
+1
A:
For the PDF you can use Imagick.
How it's done is here in great detail
For the video snapshot, you can use FFMPEG. Here's an example code.
// this will create many images
$thumb = exec("ffmpeg -i video.mpg image%d.jpg");
Ólafur Waage
2009-03-09 08:39:10
Thank you so much ......... I'll try this one
2009-03-10 14:09:56
Imagick's video support is very very limited on what codecs it can read.
Ólafur Waage
2009-03-09 09:01:38