Log in

View Full Version : Can't open AVS with fresh GKnot 0.28.5.2 and WinXP install


BRMSlash
25th July 2003, 15:54
Preview doesn't work when I do a fresh install of Gordian Knot 0.28.5.2 RipPack on a clean install of WindowsXP. Neither does opening a GKnot created AVS in Windows.

i.e. There are no codecs installed on my fresh install of Windows XP except what ever the RipPack installs.

Once I install the CodecPack 1.4 everything works fine. This is weird as I wouldn't have thought that the AVS file created with GKnot required any extra codecs to run.

P.S. Before I installed the CodecPack, MediaPlayerClassic reported the following message and couldn't open the file:

Media Type 0:
--------------------------
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_YV12 {32315659-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 244992
cbFormat: 88

VIDEOINFOHEADER:
rcSource: (0,0)-(0,0)
rcTarget: (0,0)-(0,0)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 333667

BITMAPINFOHEADER:
biSize: 40
biWidth: 464
biHeight: 352
biPlanes: 1
biBitCount: 12
biCompression: YV12
biSizeImage: 244992
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0


P.P.S.
The AVS file was:

#
# Created with Gordian Knot
#
# http://gknot.doom9.org
#
# PLUGINS
SetWorkingDir("C:\PROGRA~1\GORDIA~1\")
LoadPlugin("mpeg2dec3.dll")
#LoadPlugin("decomb.dll")
#LoadPlugin("dgbob.dll")
#LoadPlugin("Convolution3d.dll")
#LoadPlugin("FluxSmooth.dll")
LoadPlugin("TomsMoComp.dll")
#LoadPlugin("VSFilter.dll")
#LoadPlugin("SimpleResize.dll")
#
# SOURCE
mpeg2source("D:\DVD\VOBs\GNR\gnr1.d2v")
#
# TRIM
#trim(startframe,endframe)
#
# IVTC
#Telecide(guide=1).Decimate(5)
# or use
#IVTC(44,11,95)
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# DEINTERLACING (1)
#FieldDeinterlace()
#FieldDeinterlace(blend=false)
TomsMoComp(1,5,1)
#
# CROPPING
crop(12,0,694,480)
#
# DEINTERLACING (2)
#SeparateFields().SelectEven()
# or maybe
#DGBob(order=1,single=true)
# DEINTERLACING (3) - special requests
#GreedyHMA(1,0,0,0,0,0,0,0)
#Telecide()
#SeparateFields()
#
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
LanczosResize(464,352)

P.P.P.S.
AviSynth did work if I manually created an AVS with just version() in it. But did not work with the GKnot created one.

hakko504
26th July 2003, 09:32
Without installing the codec pack there is no decompressor for YV12 files such as .avs! AviSynth relies on an external decoder in order to decode it's pictures correctly and since AviSynth2.5x is using YV12 colorspace you need to install a decoder for this before using it. YV12 decoders are installed by DivX5.x and/or XviD. Secondly, what do you expect to get as a result if you don't install the codec? You need either XviD, DivX5 or DIvX3.11 to be able to use GKnot at all.

BRMSlash
26th July 2003, 10:05
Ok, thanks for the explanation.

Well technically you don't need either XviD or DivX to be able to use GKnot, only to encode [and for the YV12 decoders for avisynth]. I just use it as a bitrate calculator and to create my AVS files, but yeah I know you need at least one of the codecs for the calculator to be useful. It came about because I forgot to install the codecs on my new computer before running GKnot. I thought I should still be able to get an output from my AVS as I thought DVD2AVI and AVISynth would have all the required parts to run. But as you have pointed out AviSynth2.5x needs an external codec to run, so thank you.

P.S. I'm not a complete NOOB, I've been encoding for a couple of years now. I just don't post too often.