Log in

View Full Version : FAQ: GKnot fails to find a log file! (Last update 17 June 2003)


jggimi
17th March 2003, 21:32
Q: What is this log file, and why is it important?

A: In any 2-pass or multiple pass DivX encoding, the first pass produces a frame-by-frame analysis of the video stream, and the .log file is this analysis. It is used by the second and subsequent passes to produce the final video. This log is also used during single pass compression tests in Gknot. Without the .log file, a compression test produces no results. Without the .log file, a multiple pass encoding will not complete.

Q: Why would DivX not create the log?

A: These are the most likely possibilities, in order of frequency: DivX is either not installed, or not installed properly.

The video served by the AviSynth (.avs) script may have errors or produce invalid video for Virtual Dub and the DivX codec.

With Gknot 0.28 and above, you may not have YV12 color space properly configured in Windows.

Your computer is overclocked or has insufficient airflow or cooling.

You've run out of disk space.Q: How can I tell which is my problem?

A: Take them in order. Check to see if Virtual Dub sees the proper release of the DivX codec. Start VDub, use the Video...Compression command, and make sure that the correct release of DivX is installed.

Check to see if your AviSynth script (.avs file) can produce video, and you can scroll through properly. Use GKnot's Preview function to open the script in Windows Media Player, or open the script with VDub or your favorite AVI player. If it produces video, make sure the resolution is valid for DivX encoding. (If you leave Gknot's Modulo settings at default Mod32/Mod16, you will not have this problem.) If the script fails, there is either an error in the script, or AviSynth is not installed properly.

If VdubMod fails to encode the first pass with "videosourceavi error: the sourceimage format is not acceptable. (error code -2)" you may have to make a manual change in your Windows registry. See TelemachusMH's comment in http://forum.doom9.org/showthread.php?s=&threadid=51906.

Encoding stresses your CPU, producing heat beyond the amounts produced with most desktop applications. If you are overclocking, set your PC back to normal. If you have insufficient airflow, you might also have problems. There are motherboard monitors and stress tests available. For more information, peruse the PC Hardware (http://forum.doom9.org/forumdisplay.php?s=&forumid=16) forum.

Are you low on disk space? The encoder will produce both the log file as well as a dummy AVI file.{Edited for 0.28 releases of Gknot. Include new YV12 error, and cleaned up 2-pass discussions to include all multipass encodings.}

Zigman
3rd April 2003, 19:28
I have the exact same problem. I can't do a compression check due to it not being able to find the log file. With 5.02 it works perfect but with 5.03 it is screwed. I have tried everything. I think it has something to do with G-knot beta 4, cause even with 5.02 installed everything was ok until I installed beta 28 ver 4. Now it can't read the log file if either 5.02 or 5.03 is installed. Any advice?

jggimi
3rd April 2003, 20:00
GKnot 28 is not a production release. Development releases should be discussed in the Gordian Knot Development (http://forum.doom9.org/forumdisplay.php?s=&forumid=70) forum.

creative_cracker
5th April 2003, 15:08
I had the same problem. GKnot wouldn't find the log file. It's kinda odd that I had installed DivX 5.03 and used v .27 and things worked fine. Then I installed .28 beta 4 and it couldn't find the log file on either 5.02 or 5.03 with .27 or .28 .

I cured it by hand-deleting the registry keys for anything that had Gordian Knot in it. Then I download the whole GKnot install pack with .27 and v 5.02 in it and re-installed it. Now it works again.

I think the problem is the registry settings that are created by .28/4. I wish that Gknot had an uninstall program that removed everything, including all the registry keys, so if we had problems like this, we could clean it up and start again.

GKnot is great, no doubt about it. This is just a little bump in the road.

manono
5th April 2003, 15:58
Hi-

I wish that Gknow had an uninstall program that removed everything, including all the registry keys

GKnot Options Tab-Delete Registry Keys.

creative_cracker
5th April 2003, 16:16
Yes, thank you. I had already tried that and still had the problems until I did the manual registry deletions.

Cheers.

Mogens
15th May 2003, 18:08
Hi there

I still cannot beat this problem.

I have search this forum for all hints about this problem and have tried almost anything. But still no success. I have cleaned the registry by hand uninstalled a countless number of times. I still get an error message during second pass of encoding using divx 5.05. I run latest version of GordianKnot.

I can do compressebility test and I can do preview in windows media player. But I still get the following message:


18:13:46: Started DivX5-First Pass: E:\test.avs
18:31:06: Finished DivX5-First Pass. Duration: 17 minutes, 19 seconds.
18:31:06: Trying to open Log-file.
18:31:09: Error: Could not open E:\\vdenc.log
18:31:09: Error: Could not count encoded Frames.
18:31:09: Speed: 14300.668 Frames per Second.
18:31:09: WARNING: Number of counted frames differs from settings!
18:31:09: WARNING: Settings: 12486
18:31:09: WARNING: Counted: 0
18:31:09: WARNING: Difference: 12486
18:31:09: Correcting Bitrate...
18:31:09: Original Bitrate = 3072 k(=1000)Bits/s
18:31:09: ERROR: Correction impossible.
18:31:09: Now encoding at 3072 k(=1000)Bits/s


The logfile is located on the E-drive and I can open it with notepad without any problems.

Do any of you have any suggestions of what to check next?

Thanks in advance,
Mogens


:confused:

jggimi
15th May 2003, 18:26
It appears to be a path naming problem, since it's searching for two back slashes. I'll PM len0x and ask him to review...

Mogens
15th May 2003, 18:37
Hi jggimi

Thanks for the prompt reply.

I was also wondering about that, but dismissed it as the reason since double backslash is sometimes necessary when when specifying a file path when doing programming.

Anyway, if this is true, why do others not experiencing this problem?

Thanks for helping me.

Best Regards,
Mogens

jggimi
15th May 2003, 18:40
My guess:

Others are probably using a folder name, while you are using the disk letter only. If you use a folder on your E drive, and it works, you have circumvented the problem.

Mogens
15th May 2003, 19:11
Hi jggimi

Good news. You where right.

I just ran a test where I made a folder named test. This did the trick. This has eluded me for some time and I suspect that there has been more than one error. I have been trying to get to work for a long time using older versions of GKnot.

But, there seems indeed to be an error when trying to encode an file from the root of a drive.

Again, thanks for your help. I appriciate it.

Best regards,
mogens

len0x
15th May 2003, 19:36
I don't have sources at hands atm, but that must be the reason.
Very probably delphi routines for returning path behave different with root dir any any other dir....

So I might have to remove that slash manually (all over the place actually :) )

jggimi
17th June 2003, 15:22
I've updated this FAQ today, cleaning up the 2-pass/multipass discussion, and added the fairly common YV12 encoding error.

Bishamon
7th February 2004, 17:40
OK, I'm tired, blind and temporarilly stupid. I had trouble getting the CompTest to work. Just discovered the "GKnot vs XviD 1.0" thread... I'll be moving my gripes there...

eli2k
17th June 2004, 08:12
How do I configure YV12 correctly?

I'm getting the cannot find vdenc.log file - and in the output directory, I don't even see the vdenc.log file. :/ And everything is in its own directory (maybe if I try a directory without spaces...).

I'm going to try viewing the AVS file later (I haven't figured out where it is exactly yet.

Thanks.

derebo
5th January 2005, 19:00
hi there,

have a look at this... :(

divx 5.2.1
gknot latest stable 0.28 i think it is
everything installed working properly but...

the .log file created should be cs.log
however, gknot creates it as:

cs_GKnot.log

instead of:

cs.log

therefore, gknot cannot find the log file!!!

here is the log:

9:08:46: Started DivX5-First Pass: C:\c_s\cs.avs
11:32:14: Finished DivX5-First Pass. Duration: 2 hours, 23 minutes, 27 seconds.
11:32:14: Trying to open Log-file.
11:32:14: Error: Could not open C:\c_s\cs.log
11:32:14: Error: Could not count encoded Frames.
11:32:14: Speed: 0.000 Frames per Second.
11:32:14: WARNING: Number of counted frames differs from settings!

any idea on why is it behaving like this?

thanks in advance!

derebo

jggimi
5th January 2005, 19:03
Hello, and welcome to the forum.

Its just a guess, but it might be the underscore character in your folder name that is causing a parsing error.

Log files are properly "<movie name>_Gknot.log"

derebo
5th January 2005, 19:09
hi there,

thanks for your prompt reply.
i will try what you suggest.
also, i will try the solution you propose in another reply to cico85 in:
http://forum.doom9.org/showthread.php?s=&threadid=33722

hope to be successful and will let you know about the results.

greetings,

len0x
5th January 2005, 19:10
hold on:

- movie.log is internal GK log file that contains number of frames processed (and used to adjust the bitrate). If its not present then encoding failed (VDubMod couldn't open AVS script for instance)
- movie_gknot.log is main log file where you see what GK is doing

jggimi
5th January 2005, 19:16
Right. I confused the Gknot log with the DivX pass log.

The most recent version of GK is 0.33.1. You may prefer it.

len0x
5th January 2005, 19:21
Although it seems that first pass succeded OK (from the logs). May be VDub was used instead of VDubMod (only VDubMod supports output log file). Anyhow trying latest GK is always a good idea.

derebo
10th January 2005, 12:01
hi,

i've been trying again. no success... anyhow, i tried autoGK and it worked out great first time. i'll try GK some other time.

greetings,