Screenshot extraction of videos through PHP?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Screenshot extraction of videos through PHP?

Post by phice »

I've come across a website, http://www.filehero.com/ that easily takes screenshots of videos given the URL. Obviously they download the video, but what would you suggest they use to capture screenshots? Obviously it's on a 15-30 interval between each screenshot because depending on the length of the video will result in the number of screenshots.

I'm thinking that it's a linux/windows application that is run through shell and producing the jpg's.

What do you think? If I was correct, what application(s) would allow me to do this?

Many thanks.
Image Image
User avatar
phpdevuk
Forum Contributor
Posts: 220
Joined: Mon Jul 04, 2005 5:31 am
Location: UK
Contact:

Post by phpdevuk »

I agree I would expect that they have some kind of server side software that does the processing, I've seen similar things before for generating thumbnails of websites. Have no idea of what you could use to do it though, try having a look on sourceforge for something that would do it most apps you can pass params to from php via things like exec etc.
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

Fantastic. Thanks Weirdan.

I'll post my experiences if/when I get it working.
Image Image
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

Do you happen to know if this can be used with PHP5?
Image Image
User avatar
nickman013
Forum Regular
Posts: 764
Joined: Sun Aug 14, 2005 12:02 am
Location: Long Island, New York

Post by nickman013 »

It should work with PHP5, no reason not to.
Post Reply