On Wed, Jun 5, 2013 at 11:19 PM, Dan Dennedy <d...@dennedy.org> wrote:
> On Tue, Jun 4, 2013 at 8:14 PM, Dan Dennedy <d...@dennedy.org> wrote:
>>
>> > HTML5 or QML - available via WebVfx MLT plugin on github, but
>> > unfortunately it does not make a transparent background/alpha channel.
>> > If it did, I would suggest this route for the best expression.
>>
>> Oh, yeah, I should mention that WebVfx includes a filter so with
>> appropriate usage of JavaScript extensions, you can put MLT video into
>> the composition as a background image:
>>
>> http://rectalogic.github.io/webvfx/examples_2filter-demo_8qml-example.html
>>
>
> With some changes a couple of months ago, I made it possible to render
> HTML and QML content that does not use WebVfx-specific JavaScript
> extensions, but it renders those with an opaque background. Tonight, I
> did some poking around to see if I could extend that to the webvfx
> filter. I discovered it works already today in QML if you simply set
> the color of your background rectangle to "transparent" and preface
> the filename with "plain:" to tell WebVfx not to wait for a "ready"
> from JavaScript. I also found that with the simple addition of 3 lines
> in the C++ WebVfx code, I can make the default page color of HTML
> transparent. So, I am discussing that change with the WebVfx
> developer. I am quite excited about this as it will open up HTML and
> QML-based text and animation effects for video to many.
>

Rectalogic's WebVfx github project has merged my patch that lets you
use plain HTML (file or http) with the webvfx filter to overlay the
video. Basically, it makes the default web page color transparent.
"Plain" means it does not need to use any webvfx javascript extensions
to map the MLT video to a HTML img element and to initiate rendering.
It Just Works as long as you preface the HTML filename or URL with
"plain:" as in melt ... -filter webvfx resource="plain:file.html"
--
+-DRD-+

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to