[webkit-help] Fwd: Recording CSS3 animations on the server-side

Mikko Ohtamaa mikko+webkit at redinnovation.com
Wed May 18 23:36:33 PDT 2011


Hi,

We hope to run a headless WebKit on a server which would record CSS3 animations.

We have planned that the process would consist of two parts

1) Controlling animation timer (and generally, Javascript timer too if possible)

2) Taking a screenshot for every "tick"

For 2) there exists already plenty of solutions, like this one
http://www.alexezell.com/code/webkit2png.txt Also, the question of
processing individual frames to video is easy and already solved many
times before.

But for 1) I'd hope to know whether this is possible with the existing
WebKit APIs. We are namely looking for controlling CSS3 animations -
we can already control <canvas> animation, but now we are looking for
more generic solution.  If it cannot be done with the existing APIs
(which I suspect) we can also do a custom WebKit built with our
patches.

Also if you have any other hints for what we should be aware of I'd be
grateful for those.

--
Mikko Ohtamaa
mFabrik - Freedom Delivered.

Web and Mobile for Plone - http://webandmobile.mfabrik.com
Blog - http://blog.mfabrik.com


More information about the webkit-help mailing list