FAQ erreurs courantes

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
=== J'obtiens le message "LoadPlugin: unable to load "xxx" is not an AviSynth 1.0/AviSynth 2.0 plugin"? ===
 
=== 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.
+
Vous utilisez un plugin qui n'est pas compatible avec cette version d'AviSynth. Comme expliqué ici, les plugins compilés pour AviSynth v2.5 ne sont pas compatibles avec AviSynth v1.0x/v2.0x et vice versa.
  
  
 
=== Lors du frameserving j'obtiens le message suivant: "Script error, there is no function named "xxx (some filter)""? ===
 
=== 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 [[FAQ_general_info#avs_version_nr|here]].
+
Vous avez probablement installé/enregistré une version d'AviSynth qui ne contient pas le filtre spécifié. Assurez vous qu'il n'y a pas d'autre version qui se balade sur votre disque dur (il est possible qu'une version soit enregistrée alors qu'elle n'est pas dans votre dossier system). Assure vous que la dernière version est bien enregistrée, jetez aussi un coup d'oeil à[[FAQ_general_info#avs_version_nr|here]].
  
 
=== J'ai installé AviSynth et j'obtiens le message d'erreur suivant: "Couldn't locate decompressor for format 'YV12' (unknown)."? ===
 
=== 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 [http://www.koepi.org/xvid.shtml XviD builds of Koepi] or [http://forum.doom9.org/showthread.php?s=&threadid=56972 Helix YUV codec] or some other (ffvfw, ffdshow). If that still doesn't work, modify your registry as explained in the next question.
+
Installez un codec qui supporte le format YV12. DivX5 ou un des récents [http://www.koepi.org/xvid.shtml builds XviD DE Koepi] oU [http://forum.doom9.org/showthread.php?s=&threadid=56972 le codec Helix YUV] ou d'autres (ffvfw, ffdshow). Si ça ne fonctionne toujours pas, modifiez la base de registre de Windows comme expliqué dans la question suivante.
  
  
 
=== Lors de l'encodage, j'obtiens l'erreur suivante "ACM failed to suggest a compatible PCM format"? ===
 
=== 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 [http://forums.virtualdub.org/index.php?act=ST&f=4&t=802&hl=0055] [http://forums.virtualdub.org/index.php?act=ST&f=3&t=10931&hl=unknown%20tag%200055&st=15] [http://forum.doom9.org/showthread.php?t=94760].
+
Cette erreur veut dire que vous êtes en train d'utiliser AviSource pour ouvrie votre fichier AVI, mais que vous n'avez pas de codec ACM pour décoder le flux audio. Le problème le plus courant est que votre audio est soit un flux AC3 soit un flux MP3, mais que le codec ACM correspondant n'est pas installé. Il peut aussi arriver que votre audio soit "estropié" (avec un header incorrect) MP3 [http://forums.virtualdub.org/index.php?act=ST&f=4&t=802&hl=0055] [http://forums.virtualdub.org/index.php?act=ST&f=3&t=10931&hl=unknown%20tag%200055&st=15] [http://forum.doom9.org/showthread.php?t=94760].
  
There are several solutions for this problem:
+
Il y a plusieurs solutions à ce problème:
  
* Get the proper ACM codec. You can use [http://www.headbands.com/gspot/ GSpot] to find out which audio stream you are dealing with. The needed ACM codecs can be found [[Importing_media|here]].
+
* Procurez-vous le codec ACM nécessaire. Vous pouvez utiliser [http://www.headbands.com/gspot/ GSpot] pour avoir des informations sur quel type de flux audio vous utilisez. Les codecs ACM nécessaires se trouvent [[Importing_media|ici]].
* Demux your audio with an application like [http://www.alexander-noe.com/video/amg/ AVI-Mux GUI] or [[VirtualDub]], and import your audio with a specific plugin. See also [[FAQ_loading_clips|here]].
+
* Demultiplexez votre audio avec une application comme [http://www.alexander-noe.com/video/amg/ AVI-Mux GUI] ou [[VirtualDub]], et importez votre audio avec un plugin spécifique. Voir aussi [[FAQ_loading_clips|ici]].
* Use [[DirectShowSource]] to open the audio. Install [http://avisynth.org/mediawiki/Ffdshow ffdshow] and enable the specific audio format in the "Audio Decoder Properties" tab. Create the following script:
+
* Utilisez [[DirectShowSource]] pour ouvrir l'audio. Installez [http://avisynth.org/mediawiki/Ffdshow ffdshow] et autorisez le format audio spécifique dans l'onglet "Audio Decoder Properties". Créez le script suivant:
  
  Vid = AviSource("Blah.avi", audio=false)
+
  Vid = AviSource("MonClip.avi", audio=false)
  Aud = DirectShowSource("Blah.avi", video=false)
+
  Aud = DirectShowSource("MonClip.avi", video=false)
 
  AudioDub(Vid, Aud)
 
  AudioDub(Vid, Aud)
  
Line 30: Line 30:
 
=== Lors de l'encodage, j'obtiens l'erreur suivante: "framesize xyz x 56 not supported"? ===
 
=== 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.
+
Il s'agit généralement d'une erreur dans le script, ou l'entrée est en fait le message d'erreur affiché. Ici, xyz représente la longueur du texte du message d'erreur et 56 est la hauteur (xyz varie suivant le message d'erreur tandis que la hauteur sera toujours de 56 pixels). Votre encodeur voit le message d'erreur à la place d'une entrée source RGB32 d'où l'erreur. L'ouverture du script avec WMP ou VirtualDub devrait afficher le message d'erreur. Corrigez l'erreur dans le script et réessayez d'encoder.
  
  
 
=== Lors du frameserving j'obtiens le message suivant: "AVISource: couldn't locate a decompressor for fourcc (...)"? ===
 
=== 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 [http://www.headbands.com/gspot/ Gspot] to find out which codec you need. Get, for example, [[XviD]] for your MPEG-4 ASP clips and [http://forum.doom9.org/showthread.php?t=94458 Cedocida codec] for your DV clips. If you have problems finding the right one, ask around on the video forums.
+
Généralement, ce message d'erreur s'affiche si vous n'avez pas le bon codec VfW de décodage de votre vidéo installé. Procurez-vous [http://www.headbands.com/gspot/ Gspot] pour comprendre quel codec est nécessaire. Procurez-vous, par exemple, [[XviD]] pour vos clips MPEG-4 ASP et [http://forum.doom9.org/showthread.php?t=94458 le codec Cedocida] pour vos clips DV. Si vous avez des problèmes à trouver le bon codec, demandez dans les forums vidéo.
  
 
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 [http://forum.doom9.org/showthread.php?t=131687 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.
 
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 [http://forum.doom9.org/showthread.php?t=131687 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.

Revision as of 13:24, 1 February 2008

Contents

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

Vous utilisez un plugin qui n'est pas compatible avec cette version d'AviSynth. Comme expliqué ici, les plugins compilés pour AviSynth v2.5 ne sont pas compatibles avec AviSynth v1.0x/v2.0x et vice versa.


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

Vous avez probablement installé/enregistré une version d'AviSynth qui ne contient pas le filtre spécifié. Assurez vous qu'il n'y a pas d'autre version qui se balade sur votre disque dur (il est possible qu'une version soit enregistrée alors qu'elle n'est pas dans votre dossier system). Assure vous que la dernière version est bien enregistrée, jetez aussi un coup d'oeil àhere.

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

Installez un codec qui supporte le format YV12. DivX5 ou un des récents builds XviD DE Koepi oU le codec Helix YUV ou d'autres (ffvfw, ffdshow). Si ça ne fonctionne toujours pas, modifiez la base de registre de Windows comme expliqué dans la question suivante.


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

Cette erreur veut dire que vous êtes en train d'utiliser AviSource pour ouvrie votre fichier AVI, mais que vous n'avez pas de codec ACM pour décoder le flux audio. Le problème le plus courant est que votre audio est soit un flux AC3 soit un flux MP3, mais que le codec ACM correspondant n'est pas installé. Il peut aussi arriver que votre audio soit "estropié" (avec un header incorrect) MP3 [1] [2] [3].

Il y a plusieurs solutions à ce problème:

  • Procurez-vous le codec ACM nécessaire. Vous pouvez utiliser GSpot pour avoir des informations sur quel type de flux audio vous utilisez. Les codecs ACM nécessaires se trouvent ici.
  • Demultiplexez votre audio avec une application comme AVI-Mux GUI ou VirtualDub, et importez votre audio avec un plugin spécifique. Voir aussi ici.
  • Utilisez DirectShowSource pour ouvrir l'audio. Installez ffdshow et autorisez le format audio spécifique dans l'onglet "Audio Decoder Properties". Créez le script suivant:
Vid = AviSource("MonClip.avi", audio=false)
Aud = DirectShowSource("MonClip.avi", video=false)
AudioDub(Vid, Aud)


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

Il s'agit généralement d'une erreur dans le script, ou l'entrée est en fait le message d'erreur affiché. Ici, xyz représente la longueur du texte du message d'erreur et 56 est la hauteur (xyz varie suivant le message d'erreur tandis que la hauteur sera toujours de 56 pixels). Votre encodeur voit le message d'erreur à la place d'une entrée source RGB32 d'où l'erreur. L'ouverture du script avec WMP ou VirtualDub devrait afficher le message d'erreur. Corrigez l'erreur dans le script et réessayez d'encoder.


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

Généralement, ce message d'erreur s'affiche si vous n'avez pas le bon codec VfW de décodage de votre vidéo installé. Procurez-vous Gspot pour comprendre quel codec est nécessaire. Procurez-vous, par exemple, XviD pour vos clips MPEG-4 ASP et le codec Cedocida pour vos clips DV. Si vous avez des problèmes à trouver le bon codec, demandez dans les forums vidéo.

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