From: Sandro S. <st...@us...> - 2009-09-07 19:29:12
|
Update of /cvsroot/ming/ming/test/Video In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv17901 Modified Files: Makefile.am Added Files: test05.php Log Message: Fifth video test ported to php Index: Makefile.am =================================================================== RCS file: /cvsroot/ming/ming/test/Video/Makefile.am,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Makefile.am 7 Sep 2009 10:36:17 -0000 1.12 --- Makefile.am 7 Sep 2009 19:28:59 -0000 1.13 *************** *** 43,46 **** --- 43,47 ---- test03.php \ test04.php \ + test05.php \ test01.pl \ test02.pl \ --- NEW FILE: test05.php --- #!/usr/bin/php -c. <?php $srcdir = $argv[1]; $m = new SWFMovie(7); $stream = new SWFVideoStream($srcdir . "/../Media/video01.flv"); $numFrames = $stream->getNumFrames(); $mc = new SWFMovieClip(); $mc->add($stream); for($i = 0; $i < $numFrames; $i++) { $mc->nextFrame(); } $m->add($mc); $m->save("test05.swf"); ?> |