Live data from Hacker News

Show HN: Convert online videos to .gif

studio.forgif.me

21–30 of 42 posts

Re: Show HN: Convert online videos to .gif

#21

Probably will be better to serve static content only by nginx. http://forgif.me/assets/132.gif error from rails. maybe this will help http://27smiles.com/2008/05/22/setting-up-nginx-with-rails/

Right now we don't have that much traffic, so we wouldn't see a big difference. We will configure nginx precisely when we move to another server, though.

Re: Show HN: Convert online videos to .gif

#22
post #15

The elements are a bit too small to get accurate results. An indicator for when the 5 second limit is reached would be appreciated. Also, please indicate how long I have to wait, it has been splitting video for a long time now.

Both things will be implemented! Thanks for your feedback!

Re: Show HN: Convert online videos to .gif

#25
I do like the interface, but in Firefox it's quit unresponsive and clunky, but a lot smoother in Safari. Either way, it was still quite difficult to actually find the start and end points I wanted. Not sure if this is something YouTube's end, like not allowing access to that certain point in the video.

I agree with other(s) when I say the quality is quite terrible, but hopefully some tweaks with FFMPEG, or maybe even another route.

I do like the neatness and unobtrusive-ness of the watermark though.

I think over all, it shows a lot of promise, but need to fine tune those UI controls and make it clearer/easier to select a timeframe, and improve the quality of the GIF somewhat too :)

Re: Show HN: Convert online videos to .gif

#26

I do like the interface, but in Firefox it's quit unresponsive and clunky, but a lot smoother in Safari. Either way, it was still quite difficult to actually find the start and end points I wanted. Not sure if this is something YouTube's end, like not allowing access to that certain point in the video. I agree with other(s) when I say the quality is quite terrible, but hopefully some tweaks with FFMPEG, or maybe even…

Totally agreeing to the points you mentioned. At first we only had like one timeframe selector, but since videos can be pretty long, we added the zoom selection (the upper one), but it's quite hard to figure out how to handle them correctly. Actually you can use it very precisely if you know how.

I guess the first thing I will do is add an instruction video or a short tutorial to make clear what the controls are there for.

The problem with Firefox is that the videos we are getting from YouTube and Vimeo are MP4. Since Firefox does not support the h264 codec right now, I had to implement a flash fallback which is not responsive at all. I wonder why people still use Firefox, though :P

I'll take some time tomorrow to have a closer look at the gif encoding code of FFmpeg to make it use another color palette. This is quite complicated though, so it might take some time. For now, we have to consider ourselves satisfied with the quality :(

Thanks for your feedback, I appreciate it!

Re: Show HN: Convert online videos to .gif

#27
Very nice! However, in its current implementation, the service does not seem to optimize the created gifs at all, i.e. all frames are opaque and do not try to reuse existing pixels in the last frame(s).

This can be easily changed by using the integrated disposal methods in a gif, as shown on http://docstore.mik.ua/orelly/web2/wdesign/ch23_05.htm , but afaik ffmpeg does not support this out of the box.

It seems imagemagick is able to do some basic optimization, as shown on http://www.imagemagick.org/Usage/anim_opt .

Re: Show HN: Convert online videos to .gif

#28
post #9

I really like the interface, it's very clever, only problem I'm having is you have the 5 second gif limit but that isn't explained anywhere and there's no indication of how long 5 seconds is on the timeline. I would suggest having the pink bar (that indicates the current length) grey out after 5 seconds of time, so if the selected portion is 10 seconds long have 50% of it grey. I've used another site for this before…

Thanks for your suggestion, I really appreciate it! The idea of greying the indicator out is nice, I'll implement it tomorrow. Yes, we were already thinking about providing such a premium service, we'll see what we can do. Right now it's just an experiment, let's hope it'll get bigger :) Edit: We slice the video into frames by using ffmpeg. Unfortunately, the gif encoder of ffmpeg uses a pretty bad color palette, I a…

Cofounder of GifSoup.com here (before we sold it off).

Prepare to have your bandwidth obliterated. You'll need to pay for way better hosting, people are literally going to hotlink you to death.

I'm not sure if your downloading process has a progress bar, but I suggest you implement one to keep impatient people from leaving (it looks like you do, but your server just might be unresponsive at the moment).

Your hosting bill is going to add up quick if you want to keep the service live and as is, so I suggest you implement a premium service. I don't think GIFs are a particularly profitable business, but we had fun with it, and its cool to see our watermarked GIFs on random places like Reddit. Enjoy!

Post reply on HN