Log in

View Full Version : Open Lagarith-Clip with Script AVS


GillesH
15th November 2018, 09:13
Hello,
VirtualDub2 has a Lagarith.vdplugin
With an AVI Clip encoded in Lagarith, no problem for opening the Clip.
However, if I want to open the same clip with AVISource in an AVS script, I get an error message that says :
"AVISource: could not locate a decompressor for fourcc LAGS"

Why is the AVS/AVISource script not recognized by the VirtualDub2 plugin ?

Then, if I install the Lagarith Codec, the script is well recognized.
Why this inconsistency ?
Thank you for your explanations

jpsdr
15th November 2018, 09:46
Yes, you have to install the Lagarith Codec.
If you directly open the avi file, it's virtualdub2 which directly decode the video. As it has his own plugin/codec, so there is no issue.
In the AVS script, it's Avisynth which decodes the video and then after decoding, will provide a video stream to virtualdub. Avisynth hasn't internal codec, and even less access to virtualdub codec. To decode, AVISource calls the system with the codec Fourcc, so the codec needs to be installed on the system.

GillesH
15th November 2018, 10:11
Thank you jpsdr for this very clear explanation.

Et Bravo pour vos travaux.