1
Mods & Plugins (Requests & Discussions) / Re: Video thumbnailer?
« on: October 21, 2007, 06:47:48 PM »Hi Ice,
I Understand what you say, but it is something quite soughtafter and IMHO quite needed.
I Just need to find out where to place the codeCode: [Select]ffmpeg -i sourcevideo.mpg -f singlejpeg -t 0.001 outputthumb.jpg
and then 4Images will handle video just as good as Images
If this interests you maybe follow the mod i requested @ http://www.4homepages.de/forum/index.php?topic=12272.0
put it on your image_utils.php
}
function Generate_VideoThumb($src, $dest) {
global $convert_options;
$command = "/usr/bin/ffmpeg -i ".$src." -f mjpeg -t 0.02 -s 90x90 ".$dest;
echo ($command);
system($command);
return (file_exists($dest)) ? 1 : 0;
}