Selur's Little Message Board
Avisynth preview error: -> Script error: D2VSource... - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Avisynth preview error: -> Script error: D2VSource... (/thread-4022.html)



Avisynth preview error: -> Script error: D2VSource... - aks - 26.02.2025

I am new to Hybrid...

If I select AviSynth filtering, and preview any mpg file (contents are 15mbs mpeg2 from capture card), I am getting an error: Avisynth preview error: -> Script error: D2VSource does not have a named argument "fieldop".

However, with VaporSynth filtering selected, the preview successfully displays.

I have also converted one of file to Prores/mov format, and that is working fine with AviSynth too.

I found a similar thread from 2017/2020, and I have tried uninstall twice - including deleting folder "C:\Program Files\Hybrid", but the error remains when previewing.

From the log tab:
Input is completely analysed,...
Filtering input files,..
Analyzing 'cvb 2000-09-17g.mpg'.
Checking a/v ids with FFMpeg VideoAnalyser,...
Grabbing audio ids for E:\old-vids\consolidated\cvb\cvb 2000-09-17.mpg.
-> Found the following audio ids: 0
Analyzing audio streams,...
  Analyzing audio stream with id '0'.
   Grabbing audio data and delay infos,...
Adding sample rate info from mediainfo analysis,...: 48000
Grabbing video ids,...
  -> Video ids found: 0
Analyzing video streams...
  Analyzing video stream (0).
No input color matrix found, guessing by format and resolution,..
  selecting 'bt601' resolution is standard definition or below.
-> Assuming color matrix to be: bt601
starting auto routines for source number: 1
-> finished auto routines for source number: 1
Input is completely analysed,...
Avisynth preview error: -> Script error: D2VSource does not have a named argument "fieldop" (C:\Users\xxx\AppData\Local\Temp\tempPreviewAvisynthFile23_49_05_428_tmp.avs, line 13)

Of course I can work around this by using VS.

Any suggestions to resolve the issue I'm seeing with AS?

Platform: Windows 10, installed Hybrid_2024.12.21.1_SETUP.exe


RE: Avisynth preview error: -> Script error: D2VSource... - Selur - 26.02.2025

I can look at it after work, if you share a debug output.


RE: Avisynth preview error: -> Script error: D2VSource... - aks - 27.02.2025

Hi,

I have recreated the issue and attach the debug log.

This is what I did:
1. open an mpg file with Vapoursynth filtering, pressed preview, and the preview showed.
2. Changed filtering to avisynth, pressed preview, no preview showed, and an error is displayed: Script error: D2VSource does not have a named argument "fieldop"

Thanks for taking a look.

Tony


RE: Avisynth preview error: -> Script error: D2VSource... - Selur - 27.02.2025

Ah the problem is the 'D2vSource', 'MPEG2Source' works fine.
Disable "Filtering->Misc->Source->D2VSource".
No clue why that is enabled, disabling it should fix the problem.
Will adjust Hybrid that it can't use 'fieldop' with D2VSource.

Cu Selur


RE: Avisynth preview error: -> Script error: D2VSource... - Selur - 27.02.2025

Uploaded a new dev version, which should fix it.

Cu Selur


RE: Avisynth preview error: -> Script error: D2VSource... - aks - 27.02.2025

Great, disabling that setting works fine.

Thank you.