by Mister Hatt » Thu May 06, 2010 5:09 am
Avisynth is a scripting language for manipulating raw video frames. It uses a source plugin to create the frames, then it will do various operations to it depending on what functions you use, much like a programming language, and then it outputs the frames in sequence to a VFW interface, which almost any VFW based application can use, be it a media player like WMP, or a video editor like VirtualDub. If a program uses VFW, it will read the avs file as if it was any other video file, because it connects to VFW and VFW knows what to do with it already. All avs files are just text, and AvsP is just a text editor designed to make writing them easier, it has syntax highlighting and a little display window down the bottom to preview stuff in, although personally I have a lot of dislike for the program.
I have no idea what the R1 for GITS was like so I can't really tell you, you'd have to check it out yourself. Here is a basic process for the indexing and avs creation though:
Open DGIndex. Open your VOB files in it. Then hit file -> save project. The file will index and in the display panel that pops up, it will tell you if your content is FILM or NTSC, and it will give a percentage. I'm just going to assume it's the standard fully telecined footage but if it isn't you would need to do different things.
Once you have your d2v file done, you can open your favourite text editor and start writing your avs file:
DGDecode_Mpeg2Source("whatever you called your d2v file.d2v")
TFM(mode=1,pp=5,slow=2,micmatching=2,clip2=TDeint(mode=2,type=3,edeint=nnedi2(),emask=TMM())).TDecimate()
#do your cropping/resizing/postprocessing here. You can trim here too, or do the trimming before the TFM line if you like
Save that as a plaintext file with the extension .avs in the same folder as your d2v file, and then you can open it in VirtualDub. For the above string, you need dgdecode.dll, tivtc.dll, tdeint.dll, nnedi2.dll, and tmm.dll, however you can really leave out the edeint/emask stuff if the source is decent enough and/or they give you problems or are hard to find. Even the clip2 bit is optional.