On Mon, Apr 7, 2014 at 3:52 PM, Hungerburg <pc...@myzel.net> wrote: > Dear Dan, thank you for the quick reply. > > >>> 2) The load event does not fire, when the clip starts to play, or when >>> the frame is displayed, where the filter starts -- in my case, that is >>> the same. As a workaround, I load the file from the menu and start the >>> render without a playback. >> >> >> I do not understand your workaround. >> >>> 3) The clock in the jquery script (see below) uses render time, not >>> playback time. As a workaround I used two-plus times the times (maybe I >>> should drop the sharpener filter...): >> >> >> You need to use the webvfx javascript extension to use playback time. >> See about the renderRequested signal here: >> http://rectalogic.github.io/webvfx/effects_authoring.html >> >>> >>> window.addEventListener("load", function() { >>> $("#intro").delay(20000).fadeOut(15000); >>> }, false); >>> > > As you can see, timing of the fade depends on the load event. I did not find > out, when exactly this was received, but it seems that it happens only once > per editing session: so in my workaround I had to "save" then "open" the mlt > project file from the main menu -- then playback would not autostart and the > render would send the load event. > > Probably, using webvfx this becomes a non-issue. Actually I searched the > rectalogic samples for another event, but only saw "load" there. > > window.addEventListener("load", function() { > webvfx.readyRender(true); > }, false);
I am not certain what you are trying to say here, but that is OK. I will explain some about this. If you are using webvfx extensions, and you tell Shotcut that by clicking the check box, then your page+script must notify webvfx when everything is loaded and ready. Later, we changed webvfx such that you can load "plain" html (+css+js) files, and it will use the internal webkit/qt document-loaded event. However, an experienced HTML developer knows that the web browser only knows so much about a document's dependencies, and there can be scripts that do dynamic things that it does not know about. Once you choose the option to go advanced and use webvfx javascript extensions, your script must call readyRender() to start the rendering process. Then, the script will start to receive renderRequested() events with time as a parameter, which should be used to drive animation. > I found the documentation there very hard for me. Maybe someone on the list > can expand on this and create a "title fader" example that runs in playback > time. Maybe also for titles that fade in where time counts from the end > dynamically ;) > > Thank you again; The promise I see is an NLE with the simplicity of use as > kino, but without its limitations (DV only, no realtime FX...). you're welcome :o) > Kind regards > > -- > Peter ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel