Log in

View Full Version : Undot colorspace error


saint
26th October 2003, 15:56
I did a whole movie with Gknot, and it worked well. But then I realized I had set it for 16:9 when it was a 4:3 so I want to do it again.

However, when I start the encoding process, I get this error multiple times:


AVISynth Open Failure, UnDOt: Supports YUY color format only

Any ideas?

jggimi
26th October 2003, 16:01
I can't help you with your problem, saint, but I took the liberty of changing your thread's title from "Error message" to something a little more descriptive.

You might post which release of GKnot you are using, and you might also post the .avs script since you are getting an AviSynth error.

saint
26th October 2003, 17:18
Gnot 0.28.6

How do I post that file?

Is it possible I need to re-install something?

manono
26th October 2003, 19:40
Hi-

Yes, that's a strange one, alright, since there's only ever been a YV12 version of Undot. Try a couple of things. First upgrade to 28.6.2. If that doesn't fix it, then comment out (put a "#" in front) or delete the Undot() line.

How do I post that file?

Just cut and paste. It'll say something like movie.avs. Open it with Notepad. You can leave out all the lines beginning with "#".

jggimi
26th October 2003, 19:55
And, yes, it's possible you may need to reinstall. If you need to reinstall completely, first run Gknot, and press Delete Registry Keys on the Options tab. Exit, then completely remove the \Program Files\Gordian Knot folder structure.

Then, reinstall Gknot.

Wilbert
26th October 2003, 19:59
AVISynth Open Failure, UnDOt: Supports YUY color format only

Apperently, the undot line receives YUY2 (or RGB). Could you post the script?

Xtropy
21st November 2003, 13:58
Originally posted by jggimi
And, yes, it's possible you may need to reinstall. If you need to reinstall completely, first run Gknot, and press Delete Registry Keys on the Options tab. Exit, then completely remove the \Program Files\Gordian Knot folder structure.

Then, reinstall Gknot.

I am having the exact same problem. I tried this and I get the same problem. I have been encoding perfectly fine for months now and this started yesterday out of the blue. The only software I installed in the last 2 days was new version of DivX 5.1.1 yesterday and the GKnot4U (or whatever the name is...hehe) beta that was posted on these forums. Something else that happened was the AC3 encoder couldn't be found anymore either. I originally found these errors when watching the preview screen and get the same error when I try to encode. I re-installed a AC3 codec and that error went away but I stil get the "UNDOT is YUY2 only" error. I deleted all registry keys, completely removed all versions of GKnot, reinstalled the codec pack, the latest version of GKnot and the update, and get the same error. If I comment out the Undot() line I can encode but I have no idea why this happened and what I can do to fix it.

Here's my script:

#
# Created with Gordian Knot
#
# http://gknot.doom9.org
#
# PLUGINS
LoadPlugin("C:\PROGRA~1\Gordian Knot\mpeg2dec3.dll")
LoadPlugin("C:\PROGRA~1\Gordian Knot\undot.dll")
#LoadPlugin("C:\PROGRA~1\Gordian Knot\decomb.dll")
#LoadPlugin("C:\PROGRA~1\Gordian Knot\dgbob.dll")
#LoadPlugin("C:\PROGRA~1\Gordian Knot\Convolution3d.dll")
#LoadPlugin("C:\PROGRA~1\Gordian Knot\FluxSmooth.dll")
#LoadPlugin("C:\PROGRA~1\Gordian Knot\TomsMoComp.dll")
#LoadPlugin("C:\PROGRA~1\Gordian Knot\VSFilter.dll")
#LoadPlugin("C:\PROGRA~1\Gordian Knot\SimpleResize.dll")
#
# SOURCE
avisource("F:\Xtropy's Videos\Anime\Have Been Converted\[P-A]Cowboy.Bebop.Session.01.[AnimeReactor].avi")
#
# TRIM
#trim(startframe,endframe)
#
# IVTC
#Telecide(order=1,guide=1).Decimate()
# or use
#IVTC(44,11,95)
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# CROPPING
crop(4,0,504,384)
#
# DEINTERLACING (1)
#FieldDeinterlace()
#FieldDeinterlace(blend=false)
#TomsMoComp(1,5,1)
#
# DEINTERLACING (2)
#SeparateFields().SelectEven()
# or maybe
#DGBob(order=1,mode=0)
# DEINTERLACING (3) - special requests
#GreedyHMA(1,0,0,0,0,0,0,0)
#Telecide()
#SeparateFields()
#
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
LanczosResize(640,400)
#
Undot()
#
# DENOISING: choose one combination (or none)
# 1) little noise
#Temporalsoften(2,3,3,mode=2,scenechange=6)
#mergechroma(blur(1.3))
#FluxSmooth(5,7)
#
# 2) medium noise
#Temporalsoften(3,5,5,mode=2,scenechange=10)
#Convolution3d("moviehq")
#FluxSmooth(7,7)
#
# 3) heavy noise
#Temporalsoften(4,8,8,mode=2,scenechange=10)
#Convolution3d("movielq")
#FluxSmooth(10,15)
#
# BORDERS
#AddBorders(left,top,right,bottom)
#
# COMPRESSIBILITY CHECK
# !!!!Snip Size now has to be 14 for use in GKnot!
#SelectRangeEvery(280,14)
#
# FOOL CCEnc
#empty = BlankClip()
#AudioDub(last,empty)

Please help!!

Thanks if advance,

Xtropy

b00zed
21st November 2003, 14:31
Undot usually works because mpeg2dec outputs in the colourspace it supports; YV12. The fact you're sending it an avi and not a d2v indicates that it might possibly be trying to work with an RGB stream, which won't happem.

I would just remove the Undot command from the script as manono suggested. It's only a despeckle type filter (hence its name) so if the source is clean it isn't absolutely necessary, though I'm sure len0x has a reason to leave it in there by default.

Alternatively you could insert a command to convert the clip that's being processed in the AVS to YV12 before Undot is called, ie ConvertToYV12.

Wilbert
22nd November 2003, 15:57
What does the following script tell you (about colorformat):

avisource("F:\Xtropy's Videos\Anime\Have Been Converted\[P-A]Cowboy.Bebop.Session.01.[AnimeReactor].avi")
info()

What codec is used in your avi?

Xtropy
25th November 2003, 14:04
Ok this is driving me nuts. How do I stop this filter from being used? Every AVI I send to GKnot now gives this error. The avi's I am using are encoded in older versions of DivX (3.1.1) or FRAPS or even uncompressed RGB. I manually go in and comment out the Undot() and it works fine. Problem is now I can't use the Compressibility feature, previews don't work, etc.

How to I drop Undot() being added to the script? I have looked at every setting and .ini file and cannot find a single way to get rid of this very annoying "feature".

Any help would be greatly apprecaited because the is driving me nuts and I can no longer use GKnot the way it was designed to work...

Xtropy

Koala
8th December 2003, 02:23
When I used the 28.5 everything was fine. But I have the same error with the new version. I removed and installed in another machine and I had the same error :(

There is a way to disable this plugin?

bsr
8th December 2003, 14:32
You have to edit the script before processing.
Place a # in front of Undot() and AVISYNTH will not use it.

Wilbert
8th December 2003, 17:56
Undot is added by default, so you should remove that line each time (or put a "#" in front of it) :)

@len0x,

I would change this. Either:

1) remove undot again.

2) put ConvertToYV12 above Undot (also by default). It doesn't cost any speed when the clip is already YV12.

Xtropy
8th December 2003, 18:24
Originally posted by bsr
You have to edit the script before processing.
Place a # in front of Undot() and AVISYNTH will not use it.

Fair enough. How do I do that with preview then? I can't edit the script during preview. I hate encoding for 10 hours and realizing something went wrong with subtitles (for example). Plus multiple jobs requires a heck of a lot of manual work for 2 pass. I'm editing 20 scripts sometimes and it's time consuming. There are work arounds for some and no workarounds for others. I've tried removing the undot.dll file but then I get an error and it won't encode at all.

Xtropy

jggimi
8th December 2003, 19:09
Press the Edit button. Make your changes. Press Preview from the bottom of the Edit window. If you like the results, press Save&Encode. If you need to examine or modify the .avs outside of Gknot prior to encoding with Gknot, press Save instead. (Use the Encoder tab if you want to start an encoding from an existing .avs script.)

bsr
8th December 2003, 20:17
XTROPY
"I've tried removing the undot.dll file but then I get an error and it won't encode at all."

Sounds like you removed the dll, but still left the
Undot()
line in the script.
"Undot.dll" loads the plugin for use. "Undot()" is the line actually using undot.dll. This is probalby what your error was.

Scroll down further in the AVS and place a # in front of the "Undot()" line.

LigH
9th December 2003, 14:44
You can also open the AVI file and try to force AviSynth to request a specific color space:

AviSource("filename.avi", audio, "YUY2")

or

AviSource("filename.avi", audio, "YV12") # suggested for AviSynth 2.53

If AviSynth can / shall decode the audio stream, use "true" - if you prefer to handle it separately (I would!), use "false" for the audio parameter.