Difference between revisions of "Avs"

From SDA Knowledge Base

Jump to: navigation, search
m
m (mediumblue to lightblue. green to lightgreen)
Line 65: Line 65:
 
You'll very likely need to rename file extensions but they may be hidden by the operating system.
 
You'll very likely need to rename file extensions but they may be hidden by the operating system.
 
# open Windows Explorer
 
# open Windows Explorer
# open the <font color=mediumblue>Tools</font> menu
+
# open the <font color=lightblue>Tools</font> menu
# select <font color=mediumblue>Folder Options</font>
+
# select <font color=lightblue>Folder Options</font>
# select the <font color=mediumblue>View</font> tab
+
# select the <font color=lightblue>View</font> tab
# choose to <font color=mediumblue>Show hidden files and folders</font>
+
# choose to <font color=lightblue>Show hidden files and folders</font>
# uncheck <font color=mediumblue>Hide extensions for known file types</font>
+
# uncheck <font color=lightblue>Hide extensions for known file types</font>
 
# click OK to apply changes.
 
# click OK to apply changes.
  
Line 80: Line 80:
 
Now that you can see file extensions, let's associate the avs file extension with Notepad or other text editor of your choice.
 
Now that you can see file extensions, let's associate the avs file extension with Notepad or other text editor of your choice.
 
# open Windows Explorer
 
# open Windows Explorer
# open the <font color=mediumblue>File</font> menu
+
# open the <font color=lightblue>File</font> menu
# select <font color=mediumblue>New</font>
+
# select <font color=lightblue>New</font>
# select <font color=mediumblue>Text Document</font>
+
# select <font color=lightblue>Text Document</font>
# rename the new text file to <font color=mediumblue>New Text Document.avs</font>. It should show up as an unknown type.
+
# rename the new text file to <font color=lightblue>New Text Document.avs</font>. It should show up as an unknown type.
 
# open the avs file or right-click and select Open With. Windows will ask which program you want to use.
 
# open the avs file or right-click and select Open With. Windows will ask which program you want to use.
# select <font color=mediumblue>Notepad</font> in the list
+
# select <font color=lightblue>Notepad</font> in the list
# place a checkmark in the box that says <font color=mediumblue>"Always use the selected program to open this kind of file"</font>
+
# place a checkmark in the box that says <font color=lightblue>"Always use the selected program to open this kind of file"</font>
 
# click OK
 
# click OK
  
Line 98: Line 98:
 
<b>Download and install a stable release version of [http://avisynth.org/ AviSynth]</b><br>
 
<b>Download and install a stable release version of [http://avisynth.org/ AviSynth]</b><br>
 
* [http://sourceforge.net/project/showfiles.php?group_id=57023 AviSynth download page]
 
* [http://sourceforge.net/project/showfiles.php?group_id=57023 AviSynth download page]
<font color=green>The picture below identifes a stable release.</font><br>
+
<font color=lightgreen>The picture below identifes a stable release.</font><br>
 
[[Image:AviSynth_download.png]]
 
[[Image:AviSynth_download.png]]
  
Line 111: Line 111:
 
# Copy the files from inside the AviSynth plugins zip file to the Avisynth plugins directory window you just opened.
 
# Copy the files from inside the AviSynth plugins zip file to the Avisynth plugins directory window you just opened.
  
<font color=green>The plugins directory should look similar to what's shown in the picture:</font><br>
+
<font color=lightgreen>The plugins directory should look similar to what's shown in the picture:</font><br>
 
[[Image:AviSynth_pluginsdir.png]]
 
[[Image:AviSynth_pluginsdir.png]]
  

Revision as of 17:07, 4 April 2009

quick link to old guide
quick link to wiki editing
Anchors


Snow's new AviSynth guide. Yeah, I hope I actually finish this.


Ideas for layout

  • Custom table of contents, not so linear.
  • Use PNG! Lossless is cool.
  • Color headings.

Ideas for guide

  • No more follow-these-steps-blindly instructions this time. Learn or gtfo.
  • Include more pictures.. haha this page is going to be like 50 megs (or more?).
  • Maybe separate the guide into multiple pages (see above). Also, won't seem so overwhelming.
  • At the start of each section, show a typical script in progress.
  • Include exercises with downloadable packages containing a video and a partial script.


Stuff to do:

  • Introduction
  • Setting up a work environment
  • Installation
  • Loading the plugins
  • Loading the source files
  • Fixing Constant audio desync
  • Fixing Progressive audio desync
  • Appending
  • Deinterlacing
  • Trimming
  • Resizing
  • Sharpening
  • Cropping / Adding borders
  • Color / Brightness
  • SDA StatID
  • QuickTime compatibility
  • Sample scripts
  • Script verification


Table of contents:

  1. Introduction
  2. Setting up your work environment
  3. Installation



 Introduction

IMPORTANT NOTE: AviSynth scripting is an advanced topic. All beginners are recommended to use Anri-chan instead.

Blah blah blah.



 Setting up your work environment

File extensions

You'll very likely need to rename file extensions but they may be hidden by the operating system.

  1. open Windows Explorer
  2. open the Tools menu
  3. select Folder Options
  4. select the View tab
  5. choose to Show hidden files and folders
  6. uncheck Hide extensions for known file types
  7. click OK to apply changes.


AviSynth showhidden.png


Association of avs file extension with text editor

Now that you can see file extensions, let's associate the avs file extension with Notepad or other text editor of your choice.

  1. open Windows Explorer
  2. open the File menu
  3. select New
  4. select Text Document
  5. rename the new text file to New Text Document.avs. It should show up as an unknown type.
  6. open the avs file or right-click and select Open With. Windows will ask which program you want to use.
  7. select Notepad in the list
  8. place a checkmark in the box that says "Always use the selected program to open this kind of file"
  9. click OK


AviSynth avsnotepad.png



 Installation

Download and install a stable release version of AviSynth

The picture below identifes a stable release.
AviSynth download.png


Download and install necessary AviSynth plugins

  1. Go to Start menu
  2. [All] Programs
  3. AviSynth
  4. Plugin Directory. (This is where AviSynth stores its plugins.)
  5. Copy the files from inside the AviSynth plugins zip file to the Avisynth plugins directory window you just opened.

The plugins directory should look similar to what's shown in the picture:
AviSynth pluginsdir.png


Download and install VirtualDub

This program will be useful for testing your script as you go along.


Verify that everything is installed properly

Download the following package and unzip the contents anywhere you'd like. Run VirtualDub and drag and drop the avs file into the window. You should see a frame that says "So far so good..".


Personal tools