Re:Making GIFs From Video Files With Python
by Recoil42 on Saturday January 25, 2014 @12:06PM
(#7121322)
The problem, for me, is that HTML5 video is a technical solution with no social advantage. There are so many places on the web where images are allowed that videos will never be allowed -- for good reason. Forums, comment threads, etc.
What we need is an image container format that allows for a silent (and only silent) video stream to be embedded. A better GIF. Something that site maintainers would feel entirely comfortable in allowing.
Re:Making GIFs From Video Files With Python
by skymt on Saturday January 25, 2014 @12:40PM
(#7121456)
A new format would be overkill. Websites can just set the "muted" attribute on video elements. If you also set "loop" & "autoplay" and hide the controls, you've got a video that acts just like a GIF.
Re:Making GIFs From Video Files With Python
by boyaka on Saturday January 25, 2014 @02:16PM
(#7121907)
Example, with sound on:
http://home.comcast.net/~yugami/lean.html
Re:Making GIFs From Video Files With Python
by sethkojo on Sunday January 26, 2014 @01:16AM
(#7124114)
One problem is iOS devices won't play any videos with hidden controls.
This! (Although if the sound thing is such a problem then perhaps the muted attribute should be set to true by the hosting site?)
Here's an idea: <img src="video.mp4">.
Updated semantics should be the same as the video tag.
Re:Making GIFs From Video Files With Python
by HowardJ on Saturday January 25, 2014 @10:51PM
(#7123784)
Why don't the powers that be make a new image animated image format that is bandwidth conservative? I don't get why Google/Apple/Microsoft/Adobe haven't jumped on this. Or maybe I do, they don't use animated GIFs. Fuck. If only Reddit/imgur/Internet forums had any lobbying power.
Re:Making GIFs From Video Files With Python
by Sir_Cmpwn on Saturday January 25, 2014 @02:15PM
(#7121900)
Try https://mediacru.sh instead of gfycat. It has a lot more features, and it's open source [1]. It's been around the HN block a few times [2][3].
Disclaimer: I made it with a friend and I'm baised.
[1] https://github.com/MediaCrush/MediaCrush
Re:Making GIFs From Video Files With Python
by joi_degn on Saturday January 25, 2014 @02:19PM
(#7121920)
Im baised... I really like that expression and will start using it :D
Re:Making GIFs From Video Files With Python
by zulko on Saturday January 25, 2014 @11:56AM
(#7121277)
The same scripts will output videos for HTML5 if you replace the `to_gif` method by `to_videofile`:
clip.to_videofile('animation.mp4')
clip.to_videofile('animation.webm', codec='libvpx')
clip.to_videofile('animation.ogv',codec='libtheora')
Re:Making GIFs From Video Files With Python
by daliusd on Saturday January 25, 2014 @12:40PM
(#7121455)
Can I make video/gif from multiple photos?
Re:Making GIFs From Video Files With Python
by zulko on Saturday January 25, 2014 @12:43PM
(#7121478)
You can do that with ffmpeg or ImageMagick. Something like
ffmpeg -i *.png output.gif
You have options like delay, loop, etc.
Re:Making GIFs From Video Files With Python
by lelandbatey on Saturday January 25, 2014 @09:50PM
(#7123608)
Yep, that's how I do my gif conversions because it allows for much finer control, and often returns better results. I built an entire app around abstracting this technique: http://gifmachine.xwl.me/
Re:Making GIFs From Video Files With Python
by daliusd on Sunday January 26, 2014 @03:13AM
(#7124354)
Yes, I guess I could figure out such options but let me explain what problem I have. I take multiple photos (e.g. my camera can take 10 photos per second) and want to make video from that. Gif is poor option as photos are taken with hand and are shaky a little bit. Gif will get big in size because of that alone. Video (e.g. webm) is very good alternative for that. Your project (?) offers option to add text (and other nice little details) and that makes it killer alternative.
Re:Making GIFs From Video Files With Python
by jonesetc on Saturday January 25, 2014 @09:05PM
(#7123483)
I haven't used this, but it looks like this might be what you're looking for [1]. Construct with a folder name and framerate and then use the to_videofile method.
https://github.com/Zulko/moviepy/blob/master/moviepy/video/i...
Re:Making GIFs From Video Files With Python
by sehugg on Saturday January 25, 2014 @02:28PM
(#7121962)
One nice thing about GIF is that the format is not patent-encumbered. Same goes for MPEG-1.
Re:Making GIFs From Video Files With Python
by daliusd on Sunday January 26, 2014 @03:16AM
(#7124360)
WebM seems to avoid all the problems related to patents (http://en.wikipedia.org/wiki/WebM).
Re:Making GIFs From Video Files With Python
by sehugg on Sunday January 26, 2014 @10:49AM
(#7125425)
Nokia is still trolling VP8/VP9.
Re:Making GIFs From Video Files With Python
by emilyst on Saturday January 25, 2014 @11:41AM
(#7121222)
There's a drawback. Can we save these? Can we link directly to them?
Re:Making GIFs From Video Files With Python
by w1ntermute on Saturday January 25, 2014 @11:51AM
(#7121255)
Yes, if you right click (at least in Firefox) there is an option to download the WebM file. And you can get a direct link, although that doesn't really make sense, since if you're sending it to somebody, they probably want the option of watching the WebM version or the GIF version.
The links allow you to see the animated GIFs as well, if viewer's device doesn't support HTML5.