homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

PHP Screen Grab a Video

 12:36 am on Dec 31, 2008 (gmt 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)

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



 8:39 am on Jan 6, 2009 (gmt 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)

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)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved