Cleaning up the footage: The Theory of
You've made some avs files, you've maybe deinterlaced,
resized, cropped or whatever. All of these things are about getting
your footage to look right before you edit. Of course, there are more
things you can do to make your footage look good. Iit can be very
useful to clean up the footage before
This will vastly improve the overall quality of your video.
you can try and clean it up after you have made it (I always recommend
you do a little of this before compression anyway) but cleaning footage
you make your video has the following advantages:
1) Different sources need different
amounts of cleaning. You may have a nice clean modern source like
Princess Mononoke which doesn't require any real cleaning but if you
making a 'various source' video using both Mononoke and sources that
aren't as good looking then applying cleaning to the whole video once
it is made runs the risk of making the Mononoke footage look worse.
2) Different sources may require
special tweaks. You may have one source that needs a higher saturation
of colour, or one source that needs Rainbow noise removed and so on.
3) Using cleaner footage will help
your effects. Effects that rely on colour keys will be cleaner and any
Photoshop-style alterations will be easier with clean footage. If
you've sharpened up the image it will be easier to find those edges
when doing masking.
4) Video is easier to clean when it
has no edits. If you have lots of fades, effects and titles these will
all make cleaning the footage that little bit harder.
So as you can see, I think that cleaning things up before you start is
a pretty good idea.
However, adding cleaning funcitons to your avisynth scripts will slow
them down, sometimes considerably, so it is important to consider this.
If you are making clips you may not mind the extra encoding time it
will take as the quality will be good but if you are using the avs
files directly this may become more troublesome.
Pre-processing and editing from AVS
One thing you can do, if you are smart enough, is set up your cleaning
functions and then comment them out by putting a # sign at the start of
a line. This will mean that avisynth will ignore that line. Here's an
example from one of my scripts:
As you can see, I have a lot of lines that are commented out. These all
change the video quality in some way. However, if I tried to edit with
these lines included it would have been impossibly slow.
So, by taking them out I could edit and then put them back in later as
Of course, you also have to be careful to make sure that any lines you
comment out do not change the video too drastically. If I removed
telecide and decimate then I would have found that many of the frames
would be different because they wouldn't have been IVTC'd. Also, if you
want to get stills or pre-render any sections you will have to do that
from the filtered version of the script.
It's a little complicated, so I only recommend it for people who are
comfortable with what they are doing in avisynth, but it's a very
useful technique for quality - especially with multiple anime videos.
How to clean up the video
This is something I'm not going to talk about here, there is a section
later in the guide which you can look at if you do want to do some
pre-processing. If, on the other hand, you just want to use the footage
as it is you must now decide what to do with the avs files you have...
the Avisynth Files for Footage