AviDub is the most complex of HOS that permits the processing of open source Avisynth (AVS) and VirtualDub (Vdub) filters.  The idea is simple. Select something from Vegas (an event, loop region, region or the entire project) that you want to filter.  Select a means of rendering from the timeline (frameserver or direct render).  Select the Avisynth and/or VirtualDub filters that you want to apply.  Select a VirtualDub rendering template.  Then render.  The result can be simply saved, added back to the timeline on a new track or added as a Take (only for event renders).  There is also an option for direct X264 rendering for Avisynth filters including GPU-assisted renders.  When AviDub first loads, there is a GPU check to see what assisted render options are available.  There are also a number of Deshaker scripts included as well as a GUI for changing deshaker parameters.

What to Render

  • Events .  Multiple events may be selected from a single track. The rendered media file may be added back to the event as a Take, rendered to  New Track or just saved.
  • Loop region .  If selected, the loop region will be rendered to a New Track or just saved.
  • Regions .  If selected, all regions will be rendered to a New Track or just saved.
  • Project .  The entire project will be rendered to a new track or just saved.
  • Same Track .
    • Unchecked.  Selected events or events within the loop, region or project will be copied a new temporary track where fades, video Fx, pan/crop settings, etc. will be removed unless checked in the What to Keep info box.
    • Checked.  No temporary track will be created and no events copied.   Video Fx, pan/crop settings, etc. will still be removed unless checked in the What to Keep info box.  This option is useful for pre-rendering certain Fx such as Mercalli stabilization where copying to a new track and maintaining those Fx are not possible.  During the render, selected track is Soloed, thus muting other video tracks.
    • If this option is selected, the following warning appears.  The user may continue with the render or return to the GUI.  There is also a checkbox to disable this warning in the future.
  • All Tracks .  This option is available only if Same Track is checked.  If checked, all tracks will be included in the render unless muted by the user prior to rendering.  It is useful for pre-rendering events or loops  where the userwants to add titles or other graphic Fx such as Hitfilm to the pre-rendered video.

What to Keep

  • Event Fx .  If checked, event Fx will be kept
  • Pan/Crop Settings. If checked, pan/crop settings will be kept.
  • Original Audio.   If checked, the audio for the selected event will be rendered.  A copy will be made and all fades and FX removed.  If unchecked, audio may still be included by muting unwanted tracks.  No copy will be made and fades and FX will not be removed.

How to Render from Vegas   AviDub supports two methods of rendering the videostream from Vegas–frameserving and direct render.

  • FrameServer. The preferred way of rendering from Vegas is through use of the DebugMode FrameServer.  A dummy avi file is created (fs.avi) which permits video from Vegas to be sent frame by frame to Avisynth and/or VirtualDub for processing.  Because of certain limitations, the frameserver is used only for processing the videostream.  Audio is always rendered directly.  An additional drawback of the frameserver is that the application is 32 bit which requires additional conversion for use in 64bit versions of Avisynth, FFmpeg, and VirtualDub.  For more information, see DebugMode FrameServer in the Third Party Tools section.
  • Video for Windows Intermediate. The alternative is a direct render to an intermediate using a Video for Windows (VFW) codec.  The disadvantages of this approach are the added time for a separate render and the large file sizes that can be created if lossless codecs are used.  However, there are some advantages.   For one, the temp file can be saved and re-used for quickly trying different Avisynth or VirtualDub filter settings.  Second, rendered files can be used directly in the 64bit versions of Avisynth, FFmpeg, and VirtualDub without the need for additional conversion.

Video for Windows Render Template.  If the Video for Windows Intermediate radio button is selected, the following info box becomes enabled.  If the frameserver is selected, it is disabled.

  • Select New Template.  A new template can be selected from the Select New Template drop down list.  Once selected, the green up-arrow begins flashing red.  Left-click on the up-arrow and the selected template is placed in the top drop down list and the up-arrow returns to its normal color.
  • Add to Favorites. Once a template has been entered into the top drop down list, simply left-click on the green plus icon.  To confirm that it has been added, you can display the drop down list.
  • Remove from Favorites.  To remove a template, first it must be deleted in the favorites list.  Then left-click on the red X icon.  To confirm that it has been removed, you can display the drop down list.

Avisynth (AVS) Filter Settings .  To apply an AVS filter, the following info box is used.

  • Enable AVS Filtering.  First, the Use Avisynth Filter checkbox must be checked.  If unchecked, the remainder of the info box is disabled.
  • Select AVS Filter.  Next, left-click on the folder icon   which will open the Avisynth scripts folder from which a new filter script may be selected.  It will then appear in the text box.
  • Add to Favorites. Once an AVS filter script has been selected, if  may be entered to Favorites by left-clicking on the green plus  icon.  You can confirm by displaying the Select from  Favorites drop down list.
  • Select from Favorites. To use an AVS filter script that has already been added to your favorites list, select the desired filter script from the drop down menu.  Once selected, the green up-arrow   begins flashing.  Left-click on the up-arrow and the selected AVS filter script will be entered into the Current Filter textbox and the up-arrow returns to its normal color.
  • Delete a Favorite . To delete a favorite, first select it from the drop down list.  Then left-click on the   icon.  You can confirm that it has been deleted by displaying the Select from  Favorites drop down list.
  • Edit AVS Filter Script.  To edit an AVS Filter script, left click on the pencil icon  which will open your default text editor.
  • X264 Direct Render.  If checked, the AVS Filter script will be rendered directly in x264 without using VirtualDub.
  •   A blue gear icon  is enabled which allows opening of the x264 Direct Render Configuration dialog from which a render template may be selected or designed.  A complete description of this dialog may be found in  x264 Render Template.

VirtualDub Filter Settings. To apply a Vdub filter, the following info box is used.

  • Enable Vdub Filtering.  First, the Vdub Filter checkbox must be checked.  If unchecked, the remainder of the info box is disabled.
  • Select Vdub Filter.  Next, left-click on the folder icon   which will open the VirtualDub Filter Settings folder from which a new filter script may be selected.  It will then appear in the text box next to the folder icon.
  • Add to Favorites . Once a Vdub filter settings script has been selected, if  may be entered to Favorites by left-clicking on the green plus  icon.  You can confirm by displaying the Select from  Favorites drop down list.
  • Select from Favorites. To use a Vdub filter settings script that has already been added to your favorites list, select the desired filter script from the drop down menu.  Once selected, the green up-arrow   begins flashing.  Left-click on the up-arrow and the selected Vdub filter script will be entered into the Current Filter textbox and the up-arrow returns to its normal color.
  • Delete a Favorite . To delete a favorite, first select it from the drop down list.  Then left-click on the   icon.  You can confirm that it has been deleted by displaying the Select from  Favorites drop down list.
  • Edit Vudb Filter Script.  To edit a Vudb Filter script, left click on the pencil icon  which will open VirtualDub and load the settings file.  Changes may be made and saved.
  • Edit Deshaker.  If the name of the Vdub Filter script contains the word “Deshake”, it is assumed that the user wants to run the Deshaker filter.  Both the Edit Deshaker and Last Used checkboxes become enabled.

VirtualDub Render Settings.  To select Vdub render settings, the following info box is used.

  • Select Render Template.    Left-click on the folder icon   which will open the VirtualDub Render Settings folder from which a render setting file may be selected.  It will then appear in the text box next to the folder icon.
  • Edit Render Template.  To edit a Vudb render setting file, left click on the pencil icon  which will open VirtualDub and load the settings file.  Changes may be made and saved.
  • Render Template Properties.  Once a render template is selected, the following properties will be displayed: (1) FourCC code; (2) Container; (3) Audio Encoder; and (4) Bitrate.

How to Save

  • Add as Take.  This option is available only for Event renders.  If selected, the rendered media file’s videostream will be added back to the original video event as a Take.   If Original Audio is checked in What to Keep (#2), the rendered file’s audio stream will be added as a Take to the selected event’s audio track.
  • Render to New Track. This options is available for all types of renders.  If selected, the rendered file’s videostream  will be added to a new track entitled “Rendered Video”.  If Original Audio is checked in What to Keep (#2), the rendered file’s audio stream will be added to a new track entitled “Rendered Audio”.
  • Save Only . If selected, the rendered media file will just be saved.  It will not be added back to the timeline.

What to Load

  • Last Used .  By default, RE loads the same settings that were used the last time the script was executed.
  • Default .  Loads default settings.

Add File Tag . A file tag will be added which is any additional text that you want to  be included in the rendered events file name. A new name can be entered into the textbox.

  • Auto Fill.  If unchecked, the name shown in the textbox will be the file tag.  If checked, it permits auto file tag naming based upon the name of the AVS or Vdub filter settings file.
  • Auto File Tag Setup.    A left-click on the icon opens the following dialog where auto file tag pairs may be defined.  Two pair are already included.  A script name that contains “denoise” will have a always “dnoise” added as its file tag whereas any script name that contains “deshake” will always have “dshak” as its file tag.  These may be changed and new pairs added.

Temp File Options.  This info box is enabled only when a direct render from Vegas is selected.

  • Delete File.  If this option is selected, the temp file will be deleted after each run.  This is considered to be  the “normal” option.
  • Save File. If selected, the temp file will be saved so that it may be processed again without re-rendering from Vegas.
  • Use File. This option is automatically selected following a run in which the save file option was selected.  The temp file will be processed repeatedly until the user selects another option.  Note that the option of creating and using a temp file is available only for a single event or loop region.

Temp File Location. This info box is enabled only when a direct render from Vegas is selected.  For frameserving, the temp file is very small and is always located in the AviDub folder.  However, for direct renders, the temp file can be very large and should be located elsewhere from the C drive.  A left-click on the folder icon opens the browse folder dialog where a the desired location can be selected or a new folder created.

Where to Save

  • Specific Folder Location .  Rendered media files are stored in a specific folder selected by the user.  A left-click on the folder icon opens the browse folder dialog from which the location is selected or a new folder created.  If “Create Project Name Sub-folder” is checked, a sub-folder will be created in that location with the name of the subfolder being the Project name.
  • Sub-folder of Project Folder. Rendered media files are stored in a sub-folder in the  folder where the Vegas project is located.  The name  of the sub-folder may be entered into the textbox on  the right.
  • Sub-folder of Media File Folder .  Rendered media files are stored in a sub-folder in the  folder where the media file is located.  The name of  the sub-folder may be entered into the textbox on the right.This option is available only for event renders.

Misc

  • Use AVS Script “as is”.  If checked, the AVS script will be used “as is” without AviDub making checks to ensure accuracy and the correct temp file location.
  • Use Vdub64.  If checked, an attempt will be made to use the 64 bit version of VirtualDub FilterMod.
  • No Template Check.  A template check is available only for direct renders from Vegas.  It compares the properties of the selected render template with the properties of the media file that is being rendered.  If there is a mis-match (For example, the media file is interlaced, but the render template is progressive) a warning is shown with options to abandon or continue the render.  There is a another check once the rendered file is added back to the timeline.  If checked, this template check will be by-passed altogether.
  • Show Render Stats. If checked, render statistics will be shown upon render completion.
  • Play Media. If checked, the rendered file will be opened in Media Player Classic – Home Cinema for immediate playback. A complete description of this dialog may be found in  OtterPlay .

Processing Options .  If checked, it enables the user to change Maximum Memory and the number of Threads that are used for Avisynth processing.  The MaxMemory and Thread settings for the included scripts are fairly conversative–1024kb of memory and 4 threads.  Since AVS processing can be very demanding, performance is highly dependent an individual’s system capabilities.  Finding optimal performance for one’s system is pretty much trial and error. If unchecked, AviDub will use the memory and thread settings contained in the original script.

Copyright 2018 - HappyOtterScripts by The Happy Otter

Close Menu