![]() |
||||||||||||
|
|
||||||||||||
The XML-FileXML is a markup language for documents containing structured information. Studio 9 is using an XML-File to describe the user interface of an effect. A typical vdubrtfx-xml-file contains following information:( e.g. dummyfilter1.xml) <EffectDescriptor name="DummyFilter1" type="VideoFilter"><UIObject name="DummyFilter1" rackname="Filter" foldername="HL's VD-Filter" piconname="" /><Property guid="35e7ce00-4872-11d0-90c3-0000e8ce8250" subguid="42134168-1209-4c14-860F-1DFF4F0D09B6"><parameter name="FILTERDATA" id="0" type="opaque" /></Property><EditorVDUB name="DummyFilter1" type="CustomUI" /><VDUB><Compatibility><atSequenceBegin InitProc="no" StartProc="yes" ReadParams="yes" /><atSceneBegin InitProc="no" StartProc="yes" ReadParams="yes" /><atEveryFrame ReadParams="no" /><atParamChange InitProc="no" StartProc="yes" ReadParams="yes" /><General OneInstance="no" MFDOffset="0" MFDSize="0"/></Compatibility></VDUB></EffectDescriptor>Description of the sections:<Effectdescriptor>, <UIObject> and <Property> are defined and used by Studio 9. <VDUB> <EditorVDUB> <compatibility>
To be able to use these parameters you need to understand the difference in the filter usage of virtualdub and studio. Virtualdub is using following simplified sequence for rendering videos: The renderprocess is running for the complete video loaded. For storing the parameters of the filter, virtualdub is using a table called "myFilterData" (MFD-Table). Unfortunately the filter is not only storing the filter parameters in this table, but additional local information like pointers to local memory frames or other internal data is stored here too. This data is normaly defined in the "StartProc" and may be dependend on the input parameters. Studio works different: Studio devides the video into scenes. For every scene you may use different filters with differnt parameters. During "Editing" you can jump through the video as you like. At every frame of the video Studio is passing the current effect parameters to the filter. So the preview image is calculated with the right parameters wherever you jump. (this is the theory) Only the render-sequence seams to be linear. But this is not true. During final rendering Studio is rendering the high resolution video and at the same time with lower priority the low resolution preview video. With the compatibilty parameters you can adapt the vdub-filter behavior to the studio behavior. The vdub2rtfx-plugin defines several states of the filter:
In the <compatibility> section you can change this behavior:
possible actions are:
<general> defines some general parameters
|
||||||||||||
|
|
||||||||||||
| [Start] [Home (Deutsch)] [Home (English)] [FilterEffectList] [Video-Links] | ||||||||||||
|
Autor: Harold Linke, E-Mail: harold.linke@t-online.de ,Datum: 23/07/06 |
||||||||||||