Wilbert
1st January 2008, 19:15
I finally (more or less) finished a new version of the AviSynth FAQ, which is attached to this post (till avisynth.org is editable again). The contents are below. I invite and encourage you to have a look at them, post any corrections, stuff which should be removed or added, things which needs to be explained differently, etc ...
Contents:
General information
Loading clips (video, audio and images) into AviSynth
Opening scripts in encoder and player applications
Some common error messages
Recognizing and processing different types of content
The color format YV12 and related processing and encoding issues
How to use VirtualDub's plugins in AviSynth
General information
1. What is AviSynth?
2. Who is developing AviSynth?
3. Where can I download the latest versions of AviSynth?
4. What are the main bugs in these versions?
5. Where can I find documentation about AviSynth?
6. How do I install/uninstall AviSynth?
7. What is the main difference between v1.0x, v2.0x, v2.5x, v2.6x and v3.x?
8. How do I know which version number of AviSynth I have?
9. How do I make an AVS-file?
10. Where do I save my AVS-file?
11. Are plugins compiled for v2.5x/v2.6x compatible with v1.0x/v2.0x and vice versa?
13. How do I use a plugin compiled for v2.0x in v2.5x?
14. How do I switch between different AviSynth versions without re-install?
15. VirtualdubMod, WMP6.4, CCE and other programs crash every time on exit (when previewing an avs file)?
16. My computer seems to crash at random during a second pass in any encoder?
17. Is there a command line utility for encoding to DivX/XviD using AviSynth?
18. Does AviSynth have a GUI (graphical user interface)?
Loading clips (video, audio and images) into AviSynth
1. Which media formats can be loaded in AviSynth?
2. Which possibilities exist to load my clip into AviSynth?
3. What are the advantages and disadvantages of using DirectShowSource to load your media files?
4. Has AviSynth a direct stream copy mode like VirtualDub?
5. How do I load AVI files into AviSynth?
6. Can I load video with audio from AVI into AviSynth?
7. How do I load MPEG-1/MPEG-2/DVD VOB/TS/PVA into AviSynth?
8. How do I load QuickTime files into AviSynth?
9. How do I load raw source video files into AviSynth?
10. How do I load RealMedia files into AviSynth?
11. How do I load Windows Media Video files into AviSynth?
12. How do I load MP4/MKV/M2TS/EVO into AviSynth?
13. How do I load WAVE PCM files into AviSynth?
14. How do I load MP1/MP2/MP3/MPA/AC3/DTS/LPCM into AviSynth?
15. How do I load aac/flac/ogg files into AviSynth?
16. How do I load pictures into AviSynth?
Opening scripts in encoder and player applications
1. What is frameserving and what is it good for?
2. How do I use AviSynth as a frameserver?
3. How do I frameserve my AVS-file to encoder/application X?
* Direct frameserving to compatible applications
* Direct frameserving to applications using additional plugins
* Direct frameserving to special or modified versions of encoders
* Frameserving to applications via fake AVI files and proxy utilities
* Frameserving via pipe from auxiliary programs to application-encoders
4. How do I solve problems when opening/reading scripts in encoders and players?
5. How do I frameserve from Premiere/Ulead/Vegas to AviSynth?
Some common error messages
1. I got the message "LoadPlugin: unable to load "xxx" is not an AviSynth 1.0/AviSynth 2.0 plugin"?
2. When frameserving I got the following message: "Script error, there is no function named "xxx (some filter)"" ?
3. I installed AviSynth and get the following error message: "Couldn't locate decompressor for format 'YV12' (unknown)."?
4. When encoding I got the following error "ACM failed to suggest a compatible PCM format"?
5. When encoding I got the following error: "framesize xxx not supported"?
6. When frameserving I got the following message: "AVISource: couldn't locate a decompressor for fourcc (...)"?
7. When frameserving I got the following message: "DirectShowSource: Could not open as video or audio
Video Returned: "DirectShowSource: the filter graph manager won't talk to me""?
8. I am trying to load a script that has a path name with a mix of japanese characters (someone's name) and Ascii test. I got an import error and the path that is displayed has some strange characters (not the japanese characters)?
9. When frameserving I got the following message: " CAVIStreamSynth: System exception - Access Violation at 0x0, reading from 0x0"?
Recognizing and processing different types of content
1. The video and audio in my final encoding is out of sync, what should I do?
2. How do I recognize progressive, interlaced, telecined, hybrid and blended content?
3. How do I process interlaced content?
4. How do I process telecined content?
5. How do I process hybrid content?
6. What is variable framerate video?
7. How do I import variable framerate video into AviSynth and how do I process it?
The color format YV12 and related processing and encoding issues
1. What is YV12?
2. Where can I download the latest stable AviSynth version which supports YV12?
3. Where can I download the DGIndex/DGDecode plugin, which supports YV12, to import MPEG-1/MPEG-2/TS/PVA in AviSynth ?
4. Which encoding programs support YV12?
5. How do I use v2.5x if the encoding programs can't handle YV12 (like TMPGEnc or CCE SP)?
6. What will be the main advantages of processing in YV12?
7. How do I use VirtualDub/VirtualDubMod such that there are no unnecessary color conversions?
8. Which internal filters support YV12?
9. Which external plugins support YV12?
10. Are there any disadvantages of processing in YV12?
11. How do I know which colorspace I'm using at a given place in my script?
12. The colors are swapped when my I load a DivX file in AviSynth v2.5?
13. I got a green (or colored line) at the left or at the right of the clip, how do I get rid of it?
15. I installed AviSynth v2.5 and DivX5 (or one of the latest Xvid builds of Koepi), all I got is a black screen when opening my avs in VirtualDub/VirtualDubMod/MPEG-2 encoder?
16. Are there any lossless YV12 codecs, which I can use for capturing for example?
17. Some important links
How to use VirtualDub's plugins in AviSynth
1. Where can I download the latest version of scripts which import filters from VirtualDub?
2. Which filters can be imported?
3. Do these scripts work in RGB-space or in YUV-space?
4. How do I make such a script?
A while ago i also made a very lengthy article, describing a systematic way to open your media in AviSynth. It can be found here:
http://avisynth.org/mediawiki/Importing_media
Contents:
General information
Loading clips (video, audio and images) into AviSynth
Opening scripts in encoder and player applications
Some common error messages
Recognizing and processing different types of content
The color format YV12 and related processing and encoding issues
How to use VirtualDub's plugins in AviSynth
General information
1. What is AviSynth?
2. Who is developing AviSynth?
3. Where can I download the latest versions of AviSynth?
4. What are the main bugs in these versions?
5. Where can I find documentation about AviSynth?
6. How do I install/uninstall AviSynth?
7. What is the main difference between v1.0x, v2.0x, v2.5x, v2.6x and v3.x?
8. How do I know which version number of AviSynth I have?
9. How do I make an AVS-file?
10. Where do I save my AVS-file?
11. Are plugins compiled for v2.5x/v2.6x compatible with v1.0x/v2.0x and vice versa?
13. How do I use a plugin compiled for v2.0x in v2.5x?
14. How do I switch between different AviSynth versions without re-install?
15. VirtualdubMod, WMP6.4, CCE and other programs crash every time on exit (when previewing an avs file)?
16. My computer seems to crash at random during a second pass in any encoder?
17. Is there a command line utility for encoding to DivX/XviD using AviSynth?
18. Does AviSynth have a GUI (graphical user interface)?
Loading clips (video, audio and images) into AviSynth
1. Which media formats can be loaded in AviSynth?
2. Which possibilities exist to load my clip into AviSynth?
3. What are the advantages and disadvantages of using DirectShowSource to load your media files?
4. Has AviSynth a direct stream copy mode like VirtualDub?
5. How do I load AVI files into AviSynth?
6. Can I load video with audio from AVI into AviSynth?
7. How do I load MPEG-1/MPEG-2/DVD VOB/TS/PVA into AviSynth?
8. How do I load QuickTime files into AviSynth?
9. How do I load raw source video files into AviSynth?
10. How do I load RealMedia files into AviSynth?
11. How do I load Windows Media Video files into AviSynth?
12. How do I load MP4/MKV/M2TS/EVO into AviSynth?
13. How do I load WAVE PCM files into AviSynth?
14. How do I load MP1/MP2/MP3/MPA/AC3/DTS/LPCM into AviSynth?
15. How do I load aac/flac/ogg files into AviSynth?
16. How do I load pictures into AviSynth?
Opening scripts in encoder and player applications
1. What is frameserving and what is it good for?
2. How do I use AviSynth as a frameserver?
3. How do I frameserve my AVS-file to encoder/application X?
* Direct frameserving to compatible applications
* Direct frameserving to applications using additional plugins
* Direct frameserving to special or modified versions of encoders
* Frameserving to applications via fake AVI files and proxy utilities
* Frameserving via pipe from auxiliary programs to application-encoders
4. How do I solve problems when opening/reading scripts in encoders and players?
5. How do I frameserve from Premiere/Ulead/Vegas to AviSynth?
Some common error messages
1. I got the message "LoadPlugin: unable to load "xxx" is not an AviSynth 1.0/AviSynth 2.0 plugin"?
2. When frameserving I got the following message: "Script error, there is no function named "xxx (some filter)"" ?
3. I installed AviSynth and get the following error message: "Couldn't locate decompressor for format 'YV12' (unknown)."?
4. When encoding I got the following error "ACM failed to suggest a compatible PCM format"?
5. When encoding I got the following error: "framesize xxx not supported"?
6. When frameserving I got the following message: "AVISource: couldn't locate a decompressor for fourcc (...)"?
7. When frameserving I got the following message: "DirectShowSource: Could not open as video or audio
Video Returned: "DirectShowSource: the filter graph manager won't talk to me""?
8. I am trying to load a script that has a path name with a mix of japanese characters (someone's name) and Ascii test. I got an import error and the path that is displayed has some strange characters (not the japanese characters)?
9. When frameserving I got the following message: " CAVIStreamSynth: System exception - Access Violation at 0x0, reading from 0x0"?
Recognizing and processing different types of content
1. The video and audio in my final encoding is out of sync, what should I do?
2. How do I recognize progressive, interlaced, telecined, hybrid and blended content?
3. How do I process interlaced content?
4. How do I process telecined content?
5. How do I process hybrid content?
6. What is variable framerate video?
7. How do I import variable framerate video into AviSynth and how do I process it?
The color format YV12 and related processing and encoding issues
1. What is YV12?
2. Where can I download the latest stable AviSynth version which supports YV12?
3. Where can I download the DGIndex/DGDecode plugin, which supports YV12, to import MPEG-1/MPEG-2/TS/PVA in AviSynth ?
4. Which encoding programs support YV12?
5. How do I use v2.5x if the encoding programs can't handle YV12 (like TMPGEnc or CCE SP)?
6. What will be the main advantages of processing in YV12?
7. How do I use VirtualDub/VirtualDubMod such that there are no unnecessary color conversions?
8. Which internal filters support YV12?
9. Which external plugins support YV12?
10. Are there any disadvantages of processing in YV12?
11. How do I know which colorspace I'm using at a given place in my script?
12. The colors are swapped when my I load a DivX file in AviSynth v2.5?
13. I got a green (or colored line) at the left or at the right of the clip, how do I get rid of it?
15. I installed AviSynth v2.5 and DivX5 (or one of the latest Xvid builds of Koepi), all I got is a black screen when opening my avs in VirtualDub/VirtualDubMod/MPEG-2 encoder?
16. Are there any lossless YV12 codecs, which I can use for capturing for example?
17. Some important links
How to use VirtualDub's plugins in AviSynth
1. Where can I download the latest version of scripts which import filters from VirtualDub?
2. Which filters can be imported?
3. Do these scripts work in RGB-space or in YUV-space?
4. How do I make such a script?
A while ago i also made a very lengthy article, describing a systematic way to open your media in AviSynth. It can be found here:
http://avisynth.org/mediawiki/Importing_media