View Single Post
Old 4th November 2019, 19:31   #8927  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,829
Audio jobs not auto-loading plugins.

Is this going to be an XP thing? Or maybe an Avisynth+ thing?

The problem only occurs when using MeGUI's portable Avisynth+, not when using the installed Avisyth 2.6.
When trying to encode audio via a script, the script loads into the audio section without error. It's added to the job queue without complaint. When I try to run the job, MeGUI complains about missing functions.
After a bit of experimenting I'm sure the problem must be that MeGUI isn't auto-loading plugins from the installed Avisynth plugins folder when running audio jobs. Using LoadPlugin() in the script to load the plugins manually cures the problem and the audio jobs run. Why it's auto-loading plugins when the script is added to the audio section but not when the audio job is actually run, I have no idea. Video jobs run as they should.

Here's the relevant section from the log file. As you can see, the audio is detected correctly when the script is checked, but when the job is run, MeGUI says there's no such function as FFMS2. After fixing that by using LoadPlugin to load FFMS2, MeGUI then complains about the next function not existing, and so on....

The script used below opens both video and audio, but the same applies to audio-only scripts.

Cheers.

Quote:
---[Information] File: E:\test.avs
---[Information] AVS input file detected. Getting media information from AviSynth.
---[Information] General
----[Information] Format: AVS
----[Information] FormatString: AviSynth Script
----[Information] FileSize: 166
----[Information] PlayTime: 00:21:38.1300000
---[Information] Video
----[Information] ID: 0
----[Information] CodecID: AVS Video
----[Information] CodecIDString: AVS
----[Information] Format: AVS
----[Information] Width: 1920
----[Information] Height: 1080
----[Information] FrameCount: 31124
----[Information] FrameRate: 23.976023976024
----[Information] ScanType: Progressive
----[Information] AspectRatio: 16:9
----[Information] Delay: 0
---[Information] Audio
----[Information] ID: 0
----[Information] Format: AVS
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48000
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] BitRateMode: CBR
----[Information] Delay: 0
----[Information] [05/11/19 4:55:47 AM] The language information is not available for this track. The default MeGUI language has been selected.
--[Error] [05/11/19 4:55:48 AM] An error occurred
---[NoImage] Script error: There is no function named 'FFMS2'.
---[NoImage] (E:\test.avs, line 2)
--[Information] [05/11/19 4:55:48 AM] Job completed

Last edited by hello_hello; 4th November 2019 at 20:01.
hello_hello is offline   Reply With Quote