Hi, My dedicated server host installed for some days ago GD support for php, ffmpeg and ffmpeg-php.
I am trying to get a video capture frame, but get an error,
this is the error:
Fatal error: Call to a member function toGDImage() on a non-object in /home/admin/public_html/prueba6.php on line 4
I simplified the script to have the minimum to see where the error is, and this is the minimum and gives me the error.
<?php$movie = new ffmpeg_movie("harvard.flv");
$cap = $movie->getFrame(50);
$img = $cap->toGDImage();
?>
Can anybody tell me if this code is incorrect or something is wrong in the installation?
And what to do to fix it.
Thanks in advance