Reply to Re: create video screen cap with PHP

Your name:

Reply:


Posted by Andy Jeffries on 08/17/06 13:30

On Thu, 17 Aug 2006 05:15:29 -0700, ImOk wrote:
>> The easiest way will be to call out to mplayer to do it. You'll have to
>> do it twice, once to get the length of the movie (and then optionally a
>> second time if you don't want the first frame).
>>
>> mplayer -identify -ss 20:00 -vo jpeg -ao null -frames 1 video.avi
>
> Sorry for my ignorance, is mplayer a Linux utility or Windows?

Primarily Linux, but there's a Windows version too:

http://www.mplayerhq.hu/design7/dload.html

Don't forget to get the codecs pack if you want to use WMV/MOV etc.

Cheers,


Andy

--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация