WebVfx is a video effects library that allows effects to be implemented using WebKit HTML or Qt QML. It is being developed for MacOS and Linux.
You will need Qt installed (4.7.3 or later recommended). Qt includes QtWebKit and QML. For more interesting effects (e.g. using WebGL, CSS 3D etc.) you may want to build a more current QtWebKit. You may also want to build Qt3D - 3D extensions to QML. WebVfx includes support for Qt3D.
WebVfx includes an MLT service that exposes producers, filters and transitions implemented in WebVfx. Install MLT Framework 0.7.2 or greater to build the plugin.
In the webvfx directory run qmake -r PREFIX=/usr/local
and then make install
. PREFIX
determines where WebVfx will be installed. If MLT is installed in a non-standard location, you may need to set the PKG_CONFIG_PATH
environment variable to where its pkgconfig file lives, e.g. PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
.
The MLT melt command will not work with WebVfx on Windows or OS X because the Qt event loop must run on the main thread. If you set MLT_SOURCE
to the root of your MLT source code directory, then a qmelt
executable will be installed which behaves the same as melt
but works with WebVfx on Windows or OS X. e.g. qmake -r PREFIX=/usr/local MLT_SOURCE=~/Projects/mlt
.
make doxydoc
to generate the documentation using Doxygen.
You can also make uninstall
, make clean
and make distclean
.
See the documentation for examples.
Copyright (c) 2011 Hewlett-Packard Development Company, L.P. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.