FAQ erreurs courantes

From Avisynth wiki
Revision as of 12:32, 1 February 2008 by Manusse (Talk)

Jump to: navigation, search

Contents

J'obtiens le message "LoadPlugin: unable to load "xxx" is not an AviSynth 1.0/AviSynth 2.0 plugin"?

You are using a plugin which is not compatiable with that version of AviSynth. As explained here, plugins compiled for AviSynth v2.5 are not compatible with AviSynth v1.0x/v2.0x and vice versa.


Lors du frameserving j'obtiens le message suivant: "Script error, there is no function named "xxx (some filter)""?

You probably installed/registered a version of AviSynth which doesn't contain that specific filter. Make sure that there are no other versions floating around on your hard disk (there's a possibility that a version will be registered while it is not in your system directory). Make sure that the latest stable version is registered, see also here.

J'ai installé AviSynth et j'obtiens le message d'erreur suivant: "Couldn't locate decompressor for format 'YV12' (unknown)."?

Install a codec which supports YV12. DivX5 or one of the recent XviD builds of Koepi or Helix YUV codec or some other (ffvfw, ffdshow). If that still doesn't work, modify your registry as explained in the next question.


Lors de l'encodage, j'obtiens l'erreur suivante "ACM failed to suggest a compatible PCM format"?

This error means that you are using AviSource to open your AVI file, but you don't have an ACM codec to decode the audio stream. The most common problem is that your audio is an AC3 or a MP3 stream, but you don't have the corresponding ACM codec installed. It can also happen that your audio is a "crippled" (that is, with an incorrect header) MP3 [1] [2] [3].

There are several solutions for this problem:

  • Get the proper ACM codec. You can use GSpot to find out which audio stream you are dealing with. The needed ACM codecs can be found here.
  • Demux your audio with an application like AVI-Mux GUI or VirtualDub, and import your audio with a specific plugin. See also here.
  • Use DirectShowSource to open the audio. Install ffdshow and enable the specific audio format in the "Audio Decoder Properties" tab. Create the following script:
Vid = AviSource("Blah.avi", audio=false)
Aud = DirectShowSource("Blah.avi", video=false)
AudioDub(Vid, Aud)


Lors de l'encodage, j'obtiens l'erreur suivante: "framesize xyz x 56 not supported"?

This usually is an indicator of a script error, where the input is actually the error message being displayed. Here, xyz is the length of the error message text and 56 is the height (xyz will vary depending on the error message whilst the height will always be 56 pixels). Your encoder is seeing the error message as an RGB32 input source and hence the error. Opening the script with WMP or VirtualDub should display the error message. Fix the error in the script and retry to encode.


Lors du frameserving j'obtiens le message suivant: "AVISource: couldn't locate a decompressor for fourcc (...)"?

Usually, this error message shows up if you don't have the right VfW codec installed for decoding your video. Get Gspot to find out which codec you need. Get, for example, XviD for your MPEG-4 ASP clips and Cedocida codec for your DV clips. If you have problems finding the right one, ask around on the video forums.

But it can also show up if you call AviSource too many times. The dll for the decompression codec is loaded separately for every AviSource call. Eventually an OS-imposed limit is reached, the codec can't be loaded and you get that error message. More discussion can be found here. A good solution is to use a number of scripts (keeping each below the problematic limit of avi calls) and encode them separately, and join them afterwards in some application.


Lors du frameserving j'obtiens le message suivant: "DirectShowSource: Could not open as video or audio
Video Returned: "DirectShowSource: the filter graph manager won't talk to me""?

This is a common error that occurs when DirectShow isn't able to deliver any format that is readable to AviSynth. Try creating a filter graph manually. See if you are able to construct a filter graph that delivers any output that AviSynth can open. If not, you might need to download additional DirectShow filters that can deliver correct material. If you can play the graph in GraphEdit, make sure to remove the video and audio renderers, before saving the graph and opening it in AviSynth. Some examples can be found here.

I am trying to load a script that has a path name with a mix of japanese characters and ASCII test. I got an import error and the path that is displayed has some strange characters (not the japanese characters)?

AviSynth has problems with non-ANSI chars on filenames. It only supports 8 bit character ANSI text. Some discussion about this: [4] and [5].

Lors du frameserving j'obtiens le message suivant: "CAVIStreamSynth: System exception - Access Violation at 0x0, reading from 0x0"?

No idea. (...)

Personal tools