Top all-time · #2226
__del__( self )
Personal blog · zulko.github.ioprogrammingsciencegames
__del__( self ) is a personal blog at zulko.github.io about programming, science and games. Since 2013, 36 different Hacker News readers have linked it 46 times, most often “Data Animations with Python and MoviePy”. The last post was in 2015, but the archive is still widely read.
Yet another big problem of the Internet era tackled by Mathematics.
Most-linked posts?
- Data Animations with Python and MoviePy3 people · 4 mentions · first linked 2014-12-11
- Vector Animation with Python3 people · 3 mentions · first linked 2014-09-22
- An Algorithm to Extract Looping GIFs from Videos3 people · 3 mentions · first linked 2015-02-11
- /moviepy/3 people · 3 mentions · first linked 2020-04-28
- Python, Pitch Shifting, and the Pianoputer3 people · 3 mentions · first linked 2014-06-10
- MoviePy : a module to edit and compose movies with Python2 people · 2 mentions · first linked 2013-08-26
- Transcribing Piano Rolls, the Pythonic Way2 people · 2 mentions · first linked 2014-04-11
- Making GIFs From Video Files With Python2 people · 2 mentions · first linked 2014-01-25
- Things You Can Do with Python and POV-Ray2 people · 2 mentions · first linked 2014-11-18
- A Python script that makes video summaries of soccer games2 people · 2 mentions · first linked 2014-07-05
What Hacker News says?
That's awesome. Every section on the command is simple, but taken as a whole, it is pretty thorny. I find that MoviePy ( https://zulko.github.io/moviepy/ ) is a great tool for more complex operations like the aboce. A lot of MoviePy's functionality is derived from an FFMPEG wrapper, but it is just easier to split things up into a small script.
Comment linking /moviepy/
on “FFmpeg 4.3”Submitted Transcribing Piano Rolls, the Pythonic Way as a story · 310 points
HN discussionThis looks great! Two alternatives if you are interested in doing similar things in python are moviepy ( https://zulko.github.io/moviepy/ ) and vidpy (which I am working on, and still has many issues: https://antiboredom.github.io/vidpy/ )
Comment linking /moviepy/
on “Show HN: Editly – Declarative command-line video editing”Submitted Making GIFs From Video Files With Python as a story · 285 points
HN discussionHave you tried moviepy? It works by converting matplotlib figures into numpy arrays (you can even pre-build a list of arrays and then just iterate over the list). http://zulko.github.io/blog/2014/11/29/data-animations-with-...
Comment linking /blog/2014/11/29/data-animations-with-python-and-moviepy/
on “Effectively Using Matplotlib”Submitted An Algorithm to Extract Looping GIFs from Videos as a story · 277 points
HN discussionI'm talking about the animation module: https://matplotlib.org/2.0.0/api/animation_api.html There's also moviepy, which integrates well with matplotlib (they take RGB arrays as inputs to build the video file, but it has an helper function that converts matplotlib figures into numpy RGB arrays - that should be easy to parallelize). Link: http://zulko.github.io/blog/2014/11/29/data-animations-with-...
Comment linking /blog/2014/11/29/data-animations-with-python-and-moviepy/
on “Effectively Using Matplotlib”Submitted Things You Can Do with Python and POV-Ray as a story · 151 points
HN discussionGreat! now if someone could do a JS port of MoviePy please :) https://zulko.github.io/moviepy/
Comment linking /moviepy/
on “A pure WebAssembly / JavaScript port of FFmpeg”Submitted Python, Pitch Shifting, and the Pianoputer as a story · 134 points
HN discussionNice, how does your timeline work under the hood? Does it read from wikipedia? What could be interesting in your project is to be able to compare timelines. See for instance this website specifically for comparing composer works (with timelines pre-extracted from wikipedia): https://zulko.github.io/composer-timelines/?selectedComposer...
Comment linking /composer-timelines/?selectedComposers=Wolfgang+Amadeus+Mozart%2CLudwig+van+Beethoven%2CRobert+Schumann%2CFranz+Liszt
on “Interactive World History Atlas Since 3000 BC”Submitted Vector Animation with Python as a story · 113 points
HN discussion- z2 · 2019-05-20
Something like this, perhaps! http://zulko.github.io/blog/2014/02/12/transcribing-piano-ro...
Comment linking /blog/2014/02/12/transcribing-piano-rolls/
on “Three geeks rescue a 50-year-old IBM 360 mainframe from an abandoned building” Submitted Viennese Mazes: What They Are, and How to Make One as a story · 95 points
HN discussionIf anyone wants to read the docs , here is a direct link > http://zulko.github.io/moviepy/
Comment linking /moviepy/
on “Video editing with Python”Submitted A Python AI for two-player board games as a story · 57 points
HN discussionYou can include Javascript in the pages, but it won't be animated in the end. Maybe you would be interested by this project to make slideshows with Pug/SCSS/Vue.JS. There you can make plenty of animations: https://zulko.github.io/eaglejs-demo/#/
Comment linking /eaglejs-demo/
on “Show HN: ReLaXed – High-quality PDFs using web technologies”Submitted A Python script that makes video summaries of soccer games as a story · 7 points
HN discussionI believe MoviePy uses ffmpeg underneath. Have not used ffmpeg-python, but MoviePy has nice higher-level abstractions like clips (both audio and video), time functions, transitions etc that you can then compose pretty elegantly. See some of the examples on their site: https://zulko.github.io/moviepy/gallery.html
Comment linking /moviepy/gallery.html
on “Ask HN: Tools you have made for yourself?”Submitted Making GIFs from Video Files with Python - __del__( self ) as a story · 7 points
HN discussionThe documentation shows ffmpeg is used only for encoding/decoding, composition/animation/effects are driven by openCV/numpy/scipy/PIL See: https://zulko.github.io/moviepy/getting_started/quick_presen... The Gallery section has more advanced demos on vector/3D animations & audio mixing: https://zulko.github.io/moviepy/gallery.html
Comment linking /moviepy/gallery.html
on “Programmatic Video Editing with Python”Submitted An algorithm to extract looping GIFs from videos – __del__( self ) as a story · 5 points
HN discussionMoviePy might do what you need, particularly the CompositeVideoClip class. See https://zulko.github.io/moviepy/ref/VideoClip/VideoClip.html...
Comment linking /moviepy/ref/VideoClip/VideoClip.html
on “Shotcut – A free, open-source, cross-platform video editor”Submitted Data Animations with Python and MoviePy as a story · 5 points
HN discussionIndeed. I use libraries such as MoviePy* that wrap ffmpeg and allow you to implement effects on each frame. * https://zulko.github.io/moviepy/index.html
Comment linking /moviepy/index.html
on “FFmpeg Drawtext Filter for Overlays, Scrolling Text, Timestamps on Videos”Submitted Python, Pitch Shifting, and the Pianoputer (2014) as a story · 3 points
HN discussionhttp://zulko.github.io/blog/2014/11/29/data-animations-with-... But yes, authors of chart libraries should add "output to video / any medium" on their "required features" list.
Comment linking /blog/2014/11/29/data-animations-with-python-and-moviepy/
on “Recharts – A composable charting library built on React components”Submitted Vector Animations with Python as a story · 2 points
HN discussionThis used to be one of my main hobbies, I listened to thousands of these and I am super grateful to the people scanning and hosting these collections. Some software I wrote for piano roll analysis and transcription: - Unroll: https://zulko.github.io/unroll-online/ - upload a piano roll midi file and have it quantized and converted to lilypond sheet music. More about the process in this blog: https://zulko.github.io/…
Comment linking /pianola/
on “Scanned piano rolls database”Submitted In-browser GIF captioning with 3D CSS animations as a story · 2 points
HN discussion