I am looking to generate a high definition screenshot of youtube video at a specific time. Say I have the Youtube video ID (ctiJc4yEVow) and I want a screenshot of what appears at 1:32. Is there a clean and easy to implement way to do that? I have read way of using ffmpeg and some misc sloppy code, but nothing reliable.
The only thing I have seen is how to generate an image for a video, unspecific to any time.
https://i1.ytimg.com/vi//default.jpg
My issue is I need a specific time. Please help!
I don't see any way to do this within the official API. Their Videos:list and Thumbnails
pages don't offer any way to do this.
That said, you could link to the time you want, then screenshot that. This would work best with YouTube's autoplay turned off. Example link based on your post: youtube.com/watch?v=ctiJc4yEVow&t=1m32s
Related
I need to create thumbnails for the video in vimeo in php (cakephp),
Please have a look at this
User will be selecting the particular frame by clicking on the Use this frame button.
Did anyone work on this, if so please help me..
This is not currently supported in Vimeo's API. You will have to change it on vimeo.com.
The feature will be supported in the future though, so keep an eye on the developer blog for more information.
This is now suppported in Vimeo's Api. Please take a look here. You just need to set the time and active parameters in the following request.
POST https://api.vimeo.com/videos/{video_id}/pictures
What I'm trying to do is get the exact look of the videos on the youtube homepage (image: click here) including the time-stamp.
If you look in the source code, you'll find a link to the image of the video, however, I can't quite figure out how to get the time-stamp of the video and format it exactly how youtube has it simply from a youtube link (in this case: http://www.youtube.com/watch?v=IpBNr-oNT1g). I take it this would be done with PHP, but how?
Thanks!
http://itwigle.com/twig/Capturing_video_thumbnails_with_PHP
is this what you're looking for?
I'm working on a website for a specific client. And he wants to be able to add link to the website, and on mouse hover to have a image of that website appear.
Now, he doesen't want to take an image of the website, he only wants to input the link and have the website do everything else.
So my question is ->
Is there a way (eg. google API) to get a website image only by providing the url via php?
Sort of like in google, when you hover over a lik of a page, a tooltip pops up to the right with an image.
Any help is, as always, appriciated :)
Here is a list of 10 free thumbnail services
http://www.webresourcesdepot.com/10-free-website-thumbnail-generation-services/
You can simply refer to the URLs of these services, e.g.
<img src="http://SnapCasa.com/Get.aspx?code=[code]&size=[size]&url=[url]" />
or make a CURL call from one of your PHP scripts and temporarily store/permanently save the image that was generated.
Have recently developed Thumbnailspro.com. It is currently free to use while in beta testing as we work out the bugs, but so far its getting quite popular, you can request thumbnails directly from your website using the code below :
http://thumbnailspro.com/thumb/http://msn.com&s=150
s=Size, size can be anywhere from 10 to 1000 pixels just add s=300 to display a thumbnail 300 pixels in width. We are trying to add more options as we go for thumbnail requests and at the same time trying to keep it as simple as possible so you don't have to enter something like the code below to get your thumbnails :
http://somethumbnailsite.com/viewurl.php?url=http://msn.com&x=200&y=300&bwidth=1024&bheight=768&rotate=76&what_the_hell%20_is_all_this_crap!
So is much more effecient!
Like the service or have any bugs contact us at admin#thumbnailspro.com!
No. The only way to do this is to request the HTML for the page, render the page and then create a thumbnail from that page render. Google does this because in the process of spidering the web, they already get all that data, and they've got a nice optimized rendering engine (Chrome) that they can put the data through, and then they've got tons of online storage space to store the cached image. There's a lot of work there, though.
hey guys so im building an application and one of teh features it will have is the ability to show photo links from twitter inline sort of like what tweetdeck has done in their chrome browser version and sites like crowdreel have been able to do, i spent some time researching how to grab image tags from urls on google and found this fantastic script http://www.bitrepository.com/extract-images-from-an-url.html
the script is great and does exactly what i need, however now my challenge is that the array returned from the links returns every image in the page including thumbnails ads etc, so a link to a page like this: http://lockerz.com/s/69901787
will return an array with quite a few image links to sort through,
however what i need is a link to the main image so that i can display it inline with tweets, my idea is that i run some sort of code to figure out which of the images in the page is the largest? what are your thoughts on this? is this the right method or is there something easier thats built into php perhaps? thanks for all your help guys!
Once you have the links to the images you can pass them to the getimagesize() function in PHP.
Look at this example: http://php.net/manual/en/function.getimagesize.php#example-2267
I want a videoplayer like youtube's on my site. What should I look for? I'm making a video sharing site in PHP with MySQL.
Should I look into flash? Maybe you know some good video players that are easy to implement on a site.
uff you have lot of work to do.
FlowPlayer its an opensource flash based player can you customize and use it in your site
Have you gone through these http://www.vidiscript.com/, http://www.phpmotion.com/ and http://osshare.sourceforge.net/. These are clones of youtube-like video media sharing sites. The source code is freely accessible I guess - you can get some help from it.
Flowplayer is by far the best I've found. It has a very nice Javascript API that lets you manipulate the video player in every single way you could possibly want.
What you are looking for can be searched for on Google for as either an "flv player" or a "flash video player component". E.G. a video player skin or player with media list.