hi friends
i have all sea script and all script are fine working except video preview. ffmpeg.php are not working in sea script on our site for videos but themes preview is ok. how can i fix it.
<?php
#-----------------------------------------------------#
# Sharing is Caring.... #
# www.share4m.com #
# Script is translated by admin@share4m.com #
#-----------------------------------------------------#
require 'moduls/ini.php';
require 'moduls/connect.php';
//header('Content-type: image/gif');
$W = intval($_GET['W']);
$H = intval($_GET['H']);
$id = intval($_GET['id']);
$file_info = mysql_fetch_row(mysql_query('SELECT TRIM(`path`) FROM `files` WHERE `id` = '.$id.' LIMIT 1'));
$pic = urldecode(htmlspecialchars($file_info[0]));
if(substr($pic,0,1) != '.'){
$mov = new ffmpeg_movie($pic, false);
$wn = $mov->GetFrameWidth();
$hn = $mov->GetFrameHeight();
$frame = $mov->getFrame(3);
$gd = $frame->toGDImage();
if(!$W and !$H)
{
$size = explode('*',$setup['prev_size']);
$W = round(intval($size[0])); // ширина картинки
$H = round(intval($size[1])); // высота картинки
}
$new = imageCreateTrueColor($W, $H);
imageCopyResized($new, $gd, 0, 0, 0, 0, $W, $H, $wn, $hn);
imageGif($new,null,100);
}
?>
External image (may be gone) Unlimited Web Hosting service. 99.99 $ uptime Guarantee. Free Trail Available for 30 days. Free Script | Null script| Php | Unlimited Web Hosting| Unlimited Space | Unlimited Bandwidth| Unlimited Domain| $3/m Unlimited Space | Unlimited Bandwidth|5 Domain| $2/m 10 GB Space | 100 GB Bandwidth| 1 Domain| $1/m FFMPEG| FREE SCRIPT | FREE SITE BUILDER |LIVE SUPPORT [Timewebhosting.com On Web Hosting| Unlimited Web Hosting](http://www…