19 comments

[ 4.7 ms ] story [ 52.9 ms ] thread
Love it! I had an idea floating in my head to do a similar thing for quite some time but never got around to.

A nice thing to add is a waveform generator: give it an audio asset, and it would create a waveform effect for the length of the audio. This can be a good alternative to commercial services such as Headliner.

Yes, you're right
A good customizable waveform creator is on my holy grail list. (That can be injected into a workflow like this.) ffmpeg's built in stuff is good, but I want something a bit more like SoundCloud, or...well something with options anyway :)
I'm also working on solving a similar problem - how to export web animations to mp4 videos.

I'm building an API that takes any URL, and using Headless Chrome; I record a screen and export the video to mp4. I would appreciate any feedback if you would find something like this useful.

Interesting problem it does however give me a "I have a solution please give me a problem" vibe. What use cases are you trying to solve here?
High quality archival of web pages for the long term.

Who knows how difficult it will be to get them to render properly in X years to come, even the webpages themselves were stored. Imagine having for instance every archive.org link complemented with a video of each URL, scrolling down the web page to document what it actually looked like then, complete with ads and everything.

My initial idea comes from converting html5 banner ads to videos. This way, you could reuse them on platforms with video ads. Or you could create a simple preview to share it on social media. I think CodePen does this when you share it on Twitter.
Fair point actually. I could see this being used in some testing frame work as selenium as well.
That would be useful, in particular if it can record at higher frame rates than when recording the screen. There are some solutions such as timecut* for rendering Javascript animations at high frame rates by manipulating the timer, but none that I know of concerning CSS animations.

* https://github.com/tungs/timecut

I have a solution to this. Feel free to reach out directly: lenny@milk.video
Great library, i like it very much
next time using bots to astroturfing HN try use older accounts.
Probably not bots so much as overenthusiastic users or friends.
There are definitely some weird comments in here... but if those were bots there would be more comments. Perhaps manual "boosting"?
I think I can use him to convert some interesting css effects into videos. I have this idea to make some animations into videos.
This is a great project, I think the author’s imagination is very rich. I haven’t found a similar project on github