View Full Version : Really strange problem with chromajig
Nic-154
11th December 2016, 16:37
i have placed the needed items into their respective folder's of avisynth and i am doing
y=(Whatever your clip is)
a=y.chromajig
and i have remembered to get the required dll file's it asked out for me in the error line like hgn3.dll for example.
raffriff42
11th December 2016, 17:41
Please post your complete script.
:script:
Please post your exact error message.
For example, in VirtualDub: View menu, Log, right-click, Copy.
Nic-154
11th December 2016, 18:52
Please post your complete script.
:script:
Please post your exact error message.
For example, in VirtualDub: View menu, Log, right-click, Copy. ummm, i cant, it crashes.
StainlessS
11th December 2016, 18:54
At least then post your script, as commanded by the almighty RaffRiff42.
Nic-154
11th December 2016, 18:55
AVI: Opening file "C:\Users\nicol\Videos\test\colortest.avs"
AVI: Avisynth detected. Extended error handling enabled.
y=Avisource("C:\Users\nicol\Videos\test\colortest.avi")
a=y.chromajig
Return a
Groucho2004
11th December 2016, 18:59
ummm, i cant, it crashes.
You could try AVSMeter (http://forum.doom9.org/showthread.php?t=165528) to track down the problem.
First run "AVSMeter -avsinfo" and look for any reported errors. If that succeeds without errors/warnings, run the script with AVSMeter.
Nic-154
11th December 2016, 19:11
after i run colortest.avs inside of the avsmeter i got this result
Groucho2004
11th December 2016, 19:22
after i run colortest.avs inside of the avsmeter i got this result
I can't see you attachment. The approval of attachments can take very long. Post the image somewhere else or use the "-log" switch and post the content of the generated log file.
Nic-154
11th December 2016, 19:36
[General info]
Log file created with: AVSMeter 1.9.8.0 (x86)
Avisynth version: AviSynth 2.60, build:Mar 31 2015 [16:38:54] (2.6.0.6)
[Clip info]
Number of frames: 36985
Length (hh:mm:ss.ms): 00:25:42.583
Frame width: 512
Frame height: 384
Framerate: 23.976 (24000/1001)
Colorspace: YV12
Audio channels: 1
Audio bits/sample: 2
Audio sample rate: 48000
Audio samples: 74046758
[Runtime info]
Frames processed: 310 (0 - 309)
FPS (min | max | average): 9.094 | 22.60 | 20.12
Memory usage (phys | virt): 550 | 548 MB
Thread count: 4
CPU usage (average): 12%
Time (elapsed): 00:00:15.407
[Script]
y=Avisource("C:\Users\nicol\Videos\test\colortest.avi")
a=y.chromajig
Return a
[Performance data]
Frame Frames/sec Time/frame(ms) CPU(%) Threads PhysMEM(MB) VirtMEM(MB)
0 17.894 55.8831 0 4 31 29
1 21.805 45.8607 12 4 56 49
2 21.368 46.7986 12 4 56 49
3 22.185 45.0753 12 4 56 49
4 21.131 47.3248 12 4 76 70
5 22.469 44.5048 12 4 76 70
6 22.081 45.2872 12 4 76 70
7 21.725 46.0304 12 4 88 81
Groucho
11th December 2016, 19:39
[General info]
Log file created with: AVSMeter 1.9.8.0 (x86)
Avisynth version: AviSynth 2.60, build:Mar 31 2015 [16:38:54] (2.6.0.6)
[Clip info]
Number of frames: 36985
Length (hh:mm:ss.ms): 00:25:42.583
Frame width: 512
Frame height: 384
Framerate: 23.976 (24000/1001)
Colorspace: YV12
Audio channels: 1
Audio bits/sample: 2
Audio sample rate: 48000
Audio samples: 74046758
[Runtime info]
Frames processed: 310 (0 - 309)
FPS (min | max | average): 9.094 | 22.60 | 20.12
Memory usage (phys | virt): 550 | 548 MB
Thread count: 4
CPU usage (average): 12%
Time (elapsed): 00:00:15.407
[Script]
y=Avisource("C:\Users\nicol\Videos\test\colortest.avi")
a=y.chromajig
Return a
[Performance data]
Frame Frames/sec Time/frame(ms) CPU(%) Threads PhysMEM(MB) VirtMEM(MB)
0 17.894 55.8831 0 4 31 29
1 21.805 45.8607 12 4 56 49
2 21.368 46.7986 12 4 56 49
3 22.185 45.0753 12 4 56 49
4 21.131 47.3248 12 4 76 70
5 22.469 44.5048 12 4 76 70
6 22.081 45.2872 12 4 76 70
7 21.725 46.0304 12 4 88 81
Please use v2.4.5, not 1.9.8.
Groucho2004
11th December 2016, 19:52
You're using an old version of AVSMeter, please use v2.4.5. Apart from that, the script ran through so I don't know why VDub crashes.
Nic-154
11th December 2016, 20:01
Its really puzzleing me aswell, why Vdub crashes when i activate the script in general.
StainlessS
11th December 2016, 20:03
Audio channels: 1
Audio bits/sample: 2
Audio sample rate: 48000
Audio samples: 74046758
Is there a problem there G2K4.
(For colorbars 16 bit stereo, with ConvertAudioto32Bit shows 8).
[EDIT: using v2.4.5, bits be bytes ?]
Nic-154
11th December 2016, 20:05
Wait, its working fine for real now! ill upload my color result on youtube soon as i can.
Nic-154
11th December 2016, 21:02
now that script is working, now cmfullshift is being a troubel saying there is no function when clearly its in my plugins folder.
[Script]
y=Avisource("C:\Users\nicol\Videos\test\colortest.avi")
a=fcjig
[AviSynth error]
I don't know what "fcjig" means
(C:\Users\nicol\Downloads\AVSMeter245\colortest.avs, line 2)
StainlessS
11th December 2016, 21:51
Change the plugins script extension to .avsi (not avs).
Mobile.
Groucho2004
11th December 2016, 21:59
Is there a problem there G2K4.
(For colorbars 16 bit stereo, with ConvertAudioto32Bit shows 8).
[EDIT: using v2.4.5, bits be bytes ?]
Nice catch. Will be fixed in the next version.
Nic-154
12th December 2016, 01:09
It is a avsi file, wich are confuseing..
RocketJet
12th December 2016, 02:01
Try adding (y) to the invokation of fcjig.
StainlessS
12th December 2016, 02:11
Nice Catch RocketJet, I did not actually twig that, function Prototype,
function fcjig(clip y)
The 'y' is NOT optional. [EDIT: was wondering why not giving a error message about missing arguments, must be interpreting fcjig as a variable
rather than a function, as not including () ]
EDIT: Hi Gavino, knew you would be jumping in about now :)
[ I love your pedantry (just discovered that word and wanted to use it like I knew what it meant :D ) ]
MWilson
12th December 2016, 02:53
Wait, its working fine for real now! ill upload my color result on youtube soon as i can.
Hope you enjoy it!
:)
Edit
And very quickly:
v=last
v.gaussresize(360,360).chromajigy()
medianblur(0,18,18)
swapuv()
coloryuv(autowhite=true)
mergechroma(v,last,.5)
f3kdb(31)
merge(last,last.cmfullshift2xx())
mergechroma(v,last.gaussresize(width(v),height(v))
Does a pretty convincing job with (greyscale) Star Wars, otherwise IDK if it's worth trying.
Edit # 2 : cmfullshift2xx is here: http://pastebin.com/UPwVRP4R
Gavino
12th December 2016, 11:01
The 'y' is NOT optional. [EDIT: was wondering why not giving a error message about missing arguments, must be interpreting fcjig as a variable
rather than a function, as not including () ]
EDIT: Hi Gavino, knew you would be jumping in about now :)
[ I love your pedantry (just discovered that word and wanted to use it like I knew what it meant :D ) ]
I wasn't thinking of replying, but now that you've brought me into it, here's another dose of pedantry for you ... :D
It's not unusual or surprising that y is non-optional - for most filters (and filtering script functions) the input clip is like that.
However, normally the 'implicit last' mechanism comes into play - if Avisynth sees that the first argument to any function is missing, it will be tried with 'last' as the argument.
In Nic-154's script, 'last' was not set, so it failed.
In more detail:
First (since there are no parentheses), it tries to interpret fcjig as a variable, which fails as there is no such variable.
Then it tries again with fcjig() as a parameter-less function. This fails, since the argument is non-optional.
Finally, it tries fcjig(last). This fails because 'last' is not a clip (it has not been set previously).
And as you say, because there are no parentheses, the final error message will be "I don't know what 'fcjig' means", rather than a message about an invalid function call.
MWilson
12th December 2016, 11:19
Nic-154, did you change something? I'm looking at my google drive and there isn't any problem.
:confused:
Nic-154
12th December 2016, 17:29
Well, its possibly something over here on my end im doing wrong, because i do the avisource thing first atleast and then calls out for the fcjig filter for example, but it does work now wich is strange, sorry on all of this, avisynth is just a strange zone to me.
Nic-154
12th December 2016, 19:40
is that a script where i need to add the avisource first and then run it?
Nic-154
19th December 2016, 01:30
Have you treid the add on RGBequalizer? it has about 17 color channels to use from, that could be more convinceing.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.