05-19-2009, 04:35 PM
|
|
Guest
|
Quote:
Originally Posted by fris
this is really rough, prob could be done better but.
Code:
<?
$movie = new ffmpeg_movie($_GET['f'], false);
$frame = $movie->getFrame(50);
$im = $frame->toGDImage();
header('Content-type:image/jpeg');
imagejpeg($im);
imagedestroy($im);
?>
then call it via a flashvar
Code:
so.addVariable("image", "imgflv.php?f=video.flv");
you get the idea.
|
I cleaned it up for you. 
|
|
|