Live data from Hacker News

Making GIFs From Video Files With Python

zulko.github.io

21–30 of 44 posts

Re: Making GIFs From Video Files With Python

#21
post #15

Earlier quoted context omitted.

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 comf…

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.

Example, with sound on: http://home.comcast.net/~yugami/lean.html

Re: Making GIFs From Video Files With Python

#22

Please use silent HTML5 videos instead of animated GIFs wherever possible. They are much more bandwidth- and CPU-efficient. This site allows you to automatically upload/convert animated GIFs into that format: http://gfycat.com/ The links allow you to see the animated GIFs as well, if viewer's device doesn't support HTML5.

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 [2] https://news.ycombinator.com/item?id=6773039 [3] https://news.ycombinator.com/item?id=6189397

Im baised... I really like that expression and will start using it :D

Re: Making GIFs From Video Files With Python

#23

Please use silent HTML5 videos instead of animated GIFs wherever possible. They are much more bandwidth- and CPU-efficient. This site allows you to automatically upload/convert animated GIFs into that format: http://gfycat.com/ The links allow you to see the animated GIFs as well, if viewer's device doesn't support HTML5.

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

#25

(on 'jessie'): apt-cache search 'movie. python|python. movie' ... ... well, nutz. (and how the hell do you type a real asterisk in this comment forum? tried escapes... tried html entities...)

For code, just put a couple spaces before the line:

  apt-cache search 'movie.*python|python.*movie'
In general, you can also stick a space after them * * *.

Re: Making GIFs From Video Files With Python

#26

(on 'jessie'): apt-cache search 'movie. python|python. movie' ... ... well, nutz. (and how the hell do you type a real asterisk in this comment forum? tried escapes... tried html entities...)

For code, just put a couple spaces before the line: apt-cache search 'movie.*python|python.*movie' In general, you can also stick a space after them * * *.

thank you. i would've never thought of that. * *

Re: Making GIFs From Video Files With Python

#27
post #21
post #15

Earlier quoted context omitted.

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.

Example, with sound on: http://home.comcast.net/~yugami/lean.html

[deleted]
Post reply on HN