ffmpeg_animated_gif error - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

ffmpeg_animated_gif error

omkarguptaomkargupta Posts: 1Member
Hello everyone

i use following code for creating a animated gif of video file using following code but it give a error.
plz tell me how to use ffmpeg_animated_gif class file.

$destinationgif='/jupload/files/video/video/test.gif';
$frameNo=array(5,16,27,39,51);

$movie1 = new ffmpeg_movie($source, false);
$gif1 = new ffmpeg_animated_gif($agif, 450, 370, 3, 0);
for($i=0;$igetFrame($frameNo[$i]);
$gif1->addFrame($img1);

}

$mkNewImg1 = new ffmpeg_frame($img1,1);

$gif1->addFrame($mkNewImg1);
Sign In or Register to comment.