4 ms·
Very nice. If this had a simple way to add timed annotations ("#ann=top,10s,18.3s,SomeText" or similar), that'd be absurdly useful. What technology did you bu
by JoshTriplett 12y ago
Very nice. If this had a simple way to add timed annotations ("#ann=top,10s,18.3s,SomeText" or similar), that'd be absurdly useful.
What technology did you build this with? What do you use to decode videos and write out gifs?
Here's a useful bookmarklet to apply this to a video:
javascript:location.host="gifyoutube.com"
EDIT: are you getting hammered by traffic right now? Because I tried this on a 15 second video, and it's been processing for ten minutes.
- RoryGlyphic 12y agoYES. IDEA #1 IS GREAT. Will be done! Also thank you for the bookmarklet. I'll PM you about the tech ^_^ As per the edit - yeah a ton of traffic BUT generally right now 98% of GIFs are making. We have a known problem with vevo and other music videos though :(. If you post the YT link I can look into it and see if it's a traffic thing or just one that wouldn't work normally
- RoryGlyphic 12y agoI'll email you about tech* woops
- zameericle 12y agocan I read about the tech as well?
- Phlarp 12y agoMe too please!
- ansh 12y agoHey, great job with this! I'm really interested in details as well.
- stevoo 12y agoWell you are posting at an extremely tech oriented group. I believe i speak for like 90% here that we all want to hear about the tech* wooops. Shed some light in how you made everything. This is what interests us mostly.
- plaguuuuuu 12y agoOP will surely deliver
- superasn 12y agoThis may not be 100% accurate, but this is one way of doing it: 1) youtube-dl ${video-id} video.avi #download youtube to avi 2) ffmpeg -i video.avi -t 10 out%02d.gif #export avi file to gif frames 3) gifsicle --delay=10 --loop *.gif > anim.gif #makes animated looping gif
- JoshTriplett 12y ago> YES. IDEA #1 IS GREAT. Will be done! Thanks! On that note, you'll want to handle fractional seconds for the annotations, or possibly frame numbers. > I'll PM you about the tech ^_^ I look forward to it. > As per the edit - yeah a ton of traffic BUT generally right now 98% of GIFs are making. We have a known problem with vevo and other music videos though :(. If you post the YT link I can look into it and see if it's a traffic thing or just one that wouldn't work normally https://gifyoutube.com/watch?v=BNsrK6P9QvI https://gifyoutube.com/watch?v=BNsrK6P9QvI I don't know what you normally use to download videos, but you might try youtube-dl; it seems to work on just about everything, and you could script it.
- RoryGlyphic 12y agoHMmMM Strange! I tried the video and it worked for me :O I'll try to look into that problem :3. Nice to meet you btw ^_^
- coolnow 12y agoWhat's up with the emoticons?
- thaumasiotes 12y agoIf I were to speculate, I'd say RoryGlyphic is younger than you.
- RoryGlyphic 12y agohahahahahahhaha. Yeee. I also love emoticons. We actually started out with a gif messenger (glyphic) because we loved texting with emoticons/gifs so much.
- Titanbase 12y agoI don't agree, some of the people that use emoticons all the time are actually older than 40.
- 12y ago
- carlesfe 12y agoSince gifyoutube doesn't support https, this is an updated bookmarklet for thost who use youtube with https and need to change the protocol along with the host: javascript:location="http://gifyoutube.com"+location.pathname+location.search; http://gifyoutube.com"+location.pathname+location.search;
- JoshTriplett 12y agohttps://gifyoutube.com/ https://gifyoutube.com/ seems to work just fine.
- tnorthcutt 12y agocarlesfe is talking about using the bookmarklet in a situation when you're viewing a youtube video over https
- laumars 12y agoYes, we all got that. But the reason why doing so would break gifyoutube would have been because gifyoutube didn't support HTTPS. Which is why the former commenter noted that gifyoutube does support SSL.
- RoryGlyphic 12y agoHttps certified :O
- gmanley 12y agoThe exif comment of the resulting gif file is 'Lavc54.59.100'. So it's most likely ffmpeg/libav or a tool that utilizes their libraries, such as mplayer. It's fairly simple to produce a GIF from a video file using the ffmpeg cli.