{% else-1 %}

                        
$file = "file.avi" ; 
$movie = new ffmpeg_movie ( $file );
$gif =new ffmpeg_animated_gif
("image.gif" ,100 , 100 , 24 );
for ( $frame = 150 ; $frame <= 200;
$frame ++) {
$image = $movie -> getFrame
($frame );
$gif -> addFrame ( $image );}
0 60 0
Без комментариев...