Welcome to WebmasterWorld Guest from 54.234.244.30

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP Screen Grab a Video

     
12:36 am on Dec 31, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Mar 20, 2008
posts: 172
votes: 0


Hi all,

I am researching how I may best take a screen grab of a video on another domain to my own...i.e. YouTube, similar to the way social networking sites such as digg do it. I want to be able to enter a URL, and have the code generate an image of the video part of the screen. I have seen this done, but am wondering whether there is some third party software which will handle this, or some great starting tips anyone has?

Thanks in advance.

8:28 am on Jan 6, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:Mar 20, 2008
posts:172
votes: 0


So has anyone got any ideas on my post? Still searching for a reliable solution.

Thanks.

8:39 am on Jan 6, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:May 31, 2008
posts:661
votes: 0


I don't think you can easily do it in php, you'd probably need a third party program that is able to decode the video and take a screencap. On the other hand, doesn't youtube (and probably most other video-services) provide screencaps you can link to?
11:29 pm on Jan 6, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:Mar 20, 2008
posts:172
votes: 0


Your right if there was a link to a usuable image resource on YouTube, that would be handy, but probably not ok without copyright permission. Also I looked through code.google.com for a solution, but nothing as yet? I noticed sites like Mixx.com, in their video section, they provide thumbnails for only YouTube videos indicating some method of achieving this at least for YouTube only?

Your help would be appreciated?

8:07 am on Jan 7, 2009 (gmt 0)

Full Member

10+ Year Member

joined:Feb 4, 2004
posts: 215
votes: 0


since youtube has access to the server, they probably have ffmpeg or another piece of video manipulation software installed that will allow youtube to extract and image from a frame of a movie.
Mixx.com is probably scraping the youtube page to get the already extracted image.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members