Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 6th, 2006, 10:30 AM   #1
berts-sister-wanda
Newbie
 
Join Date: Oct 2006
Posts: 2
Rep Power: 0 berts-sister-wanda is on a distinguished road
Screenshot Of Video

Does anyone know any tools/scripts/external libarires which allow you to capture a single video single as a jpg or gif etc... the same way digg does it with their videos
berts-sister-wanda is offline   Reply With Quote
Old Oct 6th, 2006, 10:44 AM   #2
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,473
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
windows movie maker?
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Oct 6th, 2006, 10:47 AM   #3
berts-sister-wanda
Newbie
 
Join Date: Oct 2006
Posts: 2
Rep Power: 0 berts-sister-wanda is on a distinguished road
automated

Looking for a solution which does it when a video is uploaded to my site..
Related question anyone have any knowledge of automated compression codecs....
berts-sister-wanda is offline   Reply With Quote
Old Oct 6th, 2006, 10:57 AM   #4
pufuwozu
Newbie
 
pufuwozu's Avatar
 
Join Date: Oct 2006
Location: Brisbane, Australia
Posts: 14
Rep Power: 0 pufuwozu is on a distinguished road
Quote:
Originally Posted by berts-sister-wanda View Post
Does anyone know any tools/scripts/external libarires which allow you to capture a single video single as a jpg or gif etc... the same way digg does it with their videos
Digg doesn't do it. Youtube and Google Video make thumbnails for all of their movies and Digg just copies them.
__________________
The real DRM.
pufuwozu is offline   Reply With Quote
Old Oct 7th, 2006, 3:09 PM   #5
matthewvb
Newbie
 
matthewvb's Avatar
 
Join Date: Sep 2006
Posts: 23
Rep Power: 0 matthewvb is on a distinguished road
Send a message via AIM to matthewvb
I'd look into snagit (http://www.techsmith.com/snagit.asp) which is meant to capture screen shots.
__________________
matthewvb
www.matthewvb.com
matthewvb is offline   Reply With Quote
Old Oct 7th, 2006, 3:16 PM   #6
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,076
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
That isn't at all what the original poster wants. Jesus. XD

He wants a PHP function that can automatically convert a frame from inside a video in to a still image, inside the PHP script itself. It would be useful, if for example, a user submitted a video.

Then a thumbnail could be automatically generated by the same PHP script that recieved the upload from the user, and saved to the server. In the same manner Google Videos and You Tube does it...

That is what you want right? If I understand correctly? I'm not sure how you would do this in PHP. You should search the manual: http://php.net/ You might need to enable some external library for PHP...

Edit : I think the way YouTube does it, is after having the video uploaded, there is an executable programmed in some language (doesn't matter what), that's basically a server-side robot. This robot walks the storage locations for the videos and creates images for each video it finds.

In order to do this, you would have to have complete control of the server, in order to run a server-side executable. This is my educated guess, based on the premise of how I've noticed the thumbnail for a video takes a random time to get generated after it has been uploaded.

The reason for this robot would be because PHP doesn't have the capabilities to do this automatically. But other languages, C++ for instance, probably have support for it.

If you don't feel like programming a "robot", persay, you could program a single tasked executable, and see if you can call it from a PHP "startfile" function, if such exists. I hope this helps... and good luck!

Last edited by Sane; Oct 7th, 2006 at 3:30 PM.
Sane is offline   Reply With Quote
Old Oct 8th, 2006, 4:03 PM   #7
a thing
Unverified User
 
a thing's Avatar
 
Join Date: Aug 2005
Location: none
Posts: 146
Rep Power: 0 a thing is on a distinguished road
Wouldn't it make more sense to have PHP run another executable when the file's uploaded, instead of randomly crawling the site?
__________________
Warning: My posts may change (dramatically) within the first 15 minutes they're posted.
Got 'Nux?—GNU/Linux and other free software support.
It's GNU/Linux, not just Linux.
a thing is offline   Reply With Quote
Old Oct 8th, 2006, 4:23 PM   #8
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,076
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
Quote:
Originally Posted by a thing View Post
Wouldn't it make more sense to have PHP run another executable when the file's uploaded, instead of randomly crawling the site?
Quote:
Originally Posted by Sane View Post
If you don't feel like programming a "robot", persay, you could program a single tasked executable, and see if you can call it from a PHP "startfile" function, if such exists.
Mmhmm...
Sane is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
the video game. Burden on our future? Eric the Red Coder's Corner Lounge 41 Apr 5th, 2006 1:06 PM
Video Player like BSPlayer (2 Windows) Superr C# 2 Mar 24th, 2006 8:50 PM
VESA Video question vidmaster Assembly 12 Feb 24th, 2006 1:37 PM
Anybody have an idea to "rebuild" corrupt/damaged frames for a video? snakecontroller Coder's Corner Lounge 6 Jan 7th, 2006 9:06 AM
Checking source codes of image, audio and video files on_auc C++ 3 Feb 21st, 2005 9:36 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:03 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC