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:[EMAIL PROTECTED]
Sent: Saturday, March 08, 2003 1:45 PM
To: [EMAIL PROTECTED]
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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to