RE: [PHP] screenshot of an mpeg frame
| From: | Dan Rossi | Date: | Wed, 12 Mar 2003 06:17:16 +0000 |
| Subject: | RE: [PHP] screenshot of an mpeg frame | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139227@lists.php.net to get a copy of this message | ||
if anyone is interested in knowing how to do this, use a binary called
mplayer
/usr/local/etc/mplayer/bin/mplayer -vo jpeg -ss 00:00:05 -frame
s 1 test.mpg
it will export a jpeg still of the frame, u then can use either imagemagick
or gd to resize and optimise for a video sample , excellent for creating
video databases , simply upload the video grab the frame and add to the
database ;)
-----Original Message-----
From: Dan Rossi [mailto:daniel@electroteque.org]
Sent: Saturday, March 08, 2003 1:45 PM
To: php-general@lists.php.net
Subject: [PHP] screenshot of an mpeg frame
hi there i was wondering if its ever possible to get a screenshot of an mpeg
frame giving it a position and maybe optmisize it with de-interlacing to a
jpeg using gd ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php