Log in

View Full Version : GKnot "doesn't accept" resolution setting


Barix
13th July 2003, 20:41
I have a problem .. I tried dubbing 2 films but from the time I update to gknot 0.28.5 I always get divx in 640x480. Before with 0.28.3 all was working. I tried opening the avs file and the line with the resize setting in present and correct. I think the problem can be in the avisynth, am I right? I think that vdub do no resize or similar .. how to "unlock" avisynth?

bond
15th July 2003, 12:28
disabling avisynth isnt possible

1) plz post the .avs script (you can delete the lines with # before)
2) what did you choose under resolution -> "input resolution" and "input pixel aspect ratio"?

Barix
20th July 2003, 19:49
This is an extract from my .avs file
I set input resolution to PAL and pixel ratio to 4:3 anamorphic (I'm working on an mpeg2 file ripped from satellite at 580x576 - PAL "compressed" vertically)

Using GK 0.28.4 I dubbed a lot of movies without problems, but updating to 0.28.5 (and .1 and .2) I get this problem.

In the preview window I see the video correctly resized.
Also in save & encode -> preview the preview opened in the media player is correctly resized, but the output file is always in 640x480, and if it is a 16:9 movie it's deformed to 4:3.

The crop is correct.



# PLUGINS
SetWorkingDir("C:\Programmi\Gordian Knot\")
LoadPlugin("mpeg2dec3.dll")
LoadPlugin("decomb.dll")

# SOURCE
mpeg2source("D:\Movies\WIP\1.d2v")

# DEINTERLACING (1)
FieldDeinterlace()

# CROPPING
crop(0,14,528,562)

# RESIZING
LanczosResize(512,368)

bond
20th July 2003, 20:09
Originally posted by Barix
I set input resolution to PAL and pixel ratio to 4:3 anamorphic (I'm working on an mpeg2 file ripped from satellite at 580x576 - PAL "compressed" vertically)hm, i dont work with captures but i think that the the "ripped" source already has the right aspect ratio
so plz try input resolution -> other
input pixel aspect ratio -> 1:1

(of course if you tick 4:3 with a 16:9 source you will get a deformed 4:3 output)

jggimi
20th July 2003, 20:15
DVD's do not have square pixels. So other sources with square pixels, such as captures, will require "1:1" in Gknot, as Bond recommends.

Barix
21st July 2003, 09:59
I'm not a newbie with GK and I'm sure of what I'm saying. Before the update to 0.28.5 I worked with a very lot (almost 40) of mpeg2 files of this kind, always in 580x576 getting always a correctly resized file using the settings above (PAL - pixel 4:3).
Now using this setting I get a correctly resized video in the preview, but i get a 640x480 divx after the compression. I tried changing all the parameter in the resolution tab but I get always a 640x480 file.

The source doesn't have square pixels, but setting pixel ratio to 4:3 i get a correct aspect ratio in the movie. Setting it to 1:1 I get a vertically compressed video (in 580x576), pretty square.

The source is an mpeg2 stream ripped "as is" from a satellite decoder (Nokia MM 9500) via scsi connection. I do no kind of manipulation on this stream.

len0x
21st July 2003, 12:00
nothing was changed in the resolution calculation from plain 0.28 until latest one...

p.s. I'm pretty sure that by changing W-Modul&H-Modul you can achieve any resolution...

Barix
21st July 2003, 13:01
IMHO the problem is not in GK but in the avisynth. Do some avisynth's file is changed between 0.28.4 and 0.28.5 ??

where I can change W-Modul&H-Modul ??

len0x
21st July 2003, 13:07
Originally posted by Barix
IMHO the problem is not in GK but in the avisynth. Do some avisynth's file is changed between 0.28.4 and 0.28.5 ??


afair, no

Originally posted by Barix

where I can change W-Modul&H-Modul ??

Resolution Tab -> Output Resolution

bond
21st July 2003, 13:16
Originally posted by Barix
# RESIZING
LanczosResize(512,368)this part in the .avs script tells you that the output should be 512x368

Barix
24th July 2003, 10:48
I'm conscious that the resize command in the script is correct .. but I always get 640x480 divx files .. I don't know how to fix the problem :-(

bond
24th July 2003, 10:54
1) did you try lenox' tip?

2) perhaps also decomb makes problems!?
plz try to search for decomb and your problem and after that post in the decomb thread. perhaps this problem is already known?

jggimi
24th July 2003, 15:59
Perhaps you have an AVI player problem.

The AviSynth script you quoted here on July 20 should produce 512x368 video for encoding. Test that to make sure it does. If you 1) press Gknot's Preview button, 2) open the .avs script in any AVI player, or 3) open the .avs in VdubMod, you should see 512x368 video.

Do you see 512x368 video? Confirm it, if need be, using VdubMod's File...Information command.

Now do the same thing with the encoded video. It should be the same, as no resizing is done during encoding.

Barix
28th July 2003, 13:56
problem solved .. I don't know why but reinstalling gknot and deleting old settings now all works perfectly .. anyway tnx to all.

Bye.