View Full Version : Cannot open log file for reading ? HELP !!
generalwaters
16th April 2002, 08:38
Hi !
I've tried to resolve my problem using the search funktion but it didn't work out. So I hope someone can help:
While encoding a movie with Gordian Knot, I receive the following message:
" Cannot not open log file for reading"
It's the 2nd movie I'm encoding with Gordian Knot. But I didn't get this message while encoding the 1st one.
Can anyone help ?
Big thanx in advance,
generalwaters
BeRzeRkA
18th April 2002, 00:10
I've got the same problem. I seems that Virtualdub is the Problem, but I've tested 3 Versions of VDub (1.4.8,1.4.9,1.4.10) and nothing resolved the prob. Can someone show me how to fix this?? With the DivX 4 Codec it worked fine... Since I've installed DivX 5 (pro (gain and standard) i have this problem. Please help.
Mac Sidewinder
18th April 2002, 14:21
Do you get this error during normal encoding or while attempting a comp check? You can't do a normal comp check with divx 5.
Mac
librex
19th April 2002, 10:20
it depends on which log file GK is looking for...
a tremendous amount of problems with missing logfiles are related to the 1st pass divx log (usually named divx.log) that the second pass encoding is looking for. With divx5, you normally give a name to that file but as the codec options will stay the same for your next movie encoding, it will then try to overwrite it. So make sure you got everything configured as it should in the codec's option before you start the compression. (you have both the log file and the mv file to take care of). And please, make sure you're not trying to do the 2nd pass encoding before the 1st one...
If in your case it's the gordianknot log that is missing, try to see if it's not some problem related to read/write permissions in the OS or something stupid like that.
I know I'm cryptic today but my english is broke. Must be yesterday's beer or sumthin'
dcneon
24th April 2002, 13:50
I am also having the "error opening log file" with DIVX.5 I appreciate the previous post. Can anyone provide any further information on exactly how to configure the .log and .mv files in the DIVX5 Pro Codec for use with GKnot. thanks. my Gnot log file is below for reference.
5:42:49 PM: Started DivX4-First Pass: F:\DVD Rips\Knot Test5.avs
8:35:57 PM: Finished DivX4-First Pass. Duration: 2 hours, 53 minutes, 8 seconds.
8:35:57 PM: Trying to open Log-file.
8:35:57 PM: Error: Could not open F:\DVD Rips\Knot Test5.log
8:35:57 PM: Error: Could not count encoded Frames.
8:35:57 PM: Speed: 0.000 Frames per Second.
8:35:57 PM: WARNING: Number of counted frames differs from settings!
8:35:57 PM: WARNING: Settings: 159808
8:35:57 PM: WARNING: Counted: 0
8:35:57 PM: WARNING: Difference: 159808
8:35:57 PM: NO Correction! Bitrate enforced.
8:35:57 PM: Now encoding at 973 k(=1000)Bits/s
Adding this script to C:\Program Files\GordianKnot\VirtualDub\VirtualDub.jobs:
// $job "DivX4 Second Pass"
// $input "F:\DVD Rips\Knot Test5.avs"
// $output "F:\DVD Rips\Knot Test5_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script
VirtualDub.Open("F:\\DVD Rips\\Knot Test5.avs",0,0);
VirtualDub.audio.SetSource(0);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,0,0,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.SetCompData(316,"yNgOANAHAAAKAAAAFAAAACwBAAAMAAAAAgAAAAUAAAADAAAAKAAAAAAAAAAAAAAAAAAAAP////8BAAAARjpcRFZEIFJpcHNcS25vdCBUZXN0NS5sb2cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZAA=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("F:\\DVD Rips\\Knot Test5_Movie.avi");
VirtualDub.Close();
librex
24th April 2002, 17:36
if you're following Doom9's guide (and you're not as you're trying to use GKnot all the way with divX5!!), you'll notice the file location infos right when you first setup the codec properties for the encoding part under virtualdub (when you choose DivX 5 from the compression menu).
See them? Right there, in the middle of the screen. Well, if for any reason your second pass settings are different from the 1st pass ones, it wont work... Gknot is an amazing little proggie for DivX encoding, but right now, with divX5, it's kinda broke (but still, "In The Wef we trust"). So use vdub directly when you're done with all the cropping, resizing, BR calculating part of GK.
Dont mix up your 1st and 2nd settings and everything should be fine.
let me know if it doesnt work (but dont worry if it takes a while for me to reply, my email is acting weird lately)
Cheers,
-librex-
I have installed divx 5 but I still want to use divx 4 in gknot b/c I can do a batch of movies at once, do I have to uninstall divx 5 for gknot to work again or just change the log settings in vdub.
Mac Sidewinder
13th May 2002, 14:32
I have installed the patch so that both divx4 and 5 can live together on the same computer. Using vdub by itself, I can select the proper codec and encode fine. With gnot, if I select the divx 4 codec, everything proceeds fine but if you pull up the resulting avi file in vdub and look at the file properties, you see that gnot actually used the divx 5 codec. I'm pretty sure that its because the install for divx 5 changes the windows reg settings for the codecs. Anyway if I want to use divx 4 now, I just do manual encodes using vdub by itself. When I want to do divx 5 encodes, I use gnot for crop setting, and resolution setting then save the avs files and use vdub. I think this is the way most people are using gnot and divx 5 now.
Mac
zedstrange
28th May 2002, 09:17
Originally posted by librex
if you're following Doom9's guide (and you're not as you're trying to use GKnot all the way with divX5!!), you'll notice the file location infos right when you first setup the codec properties for the encoding part under virtualdub (when you choose DivX 5 from the compression menu).
See them?
No, i dont see them. I have this same error, and have followed Doom9's guide to the letter (http://www.doom9.org/gknot-main3.htm) and nowhwere in there does it say to open Virtual Dub.
i also dont understand what you mean by "(and you're not as you're trying to use GKnot all the way with divX5!!)" becuase that is what the guide is for, isnt it?
i have used Gknot before, but not on this PC. I wonder if it needs another codec or file installed somewhere.
librex
28th May 2002, 21:56
i also dont understand what you mean by "(and you're not as you're trying to use GKnot all the way with divX5!!)" becuase that is what the guide is for, isnt it?
i have used Gknot before, but not on this PC. I wonder if it needs another codec or file installed somewhere. [/B]
My comment was appropriate under GK 0.23 and its inability to be a one step solution to DivX 5.0 encoding. Of course, since the relase of GK 0.26 and the new guide from Doom9, it's no longer valid.
The log options are available under the DivX compression parameters. Lots of people get error about log files because of name mismatch in the two data fields and/or file protection errors.
zedstrange
30th May 2002, 03:04
thanks for this clarification. makes it easier to understand.
However i still get this error even though there is no name mismatch in the log files. if i get past that then Vdub crashes during the first pass, it might not on the 2nd. and sometimes i get a decent movie (another time i got movie and sound dropped after a couple of minutes) and if i go and follow the Gknot/Vdub manual instructions it all goes off fine (provided i dont set fast deinterlace or follow theWEFs big fix in editing the avs file) but Vdub still gets an access violation error, at about 1/3 of the way through the first pass. this has happened on 3 movies now.
i am at a loss to know where to go next.:confused:
librex
30th May 2002, 20:11
do you have the gk log file ? it could help us in finding where's the prob..
zedstrange
31st May 2002, 16:06
thanks very much for offering to help. for simplicity i put the log files here.
http://people.comstar.com.au/~z11/
emilio
31st May 2002, 21:17
hi there
first of all greetings to all of you.
when I saw this thread I thought:"hey!I'm not the only one with problems." i tried to make a divx,but gknot couldn't open the logfile.I mean ok. i get the movie, but it'sway too small and the picture is bad. it looks like a mozaik of cubes, or like I read in one of the threads "like an ATARI game".I'd really appreciate some help,'cause I tried to make this divx for at least ten times,always with other settings, but it still doesn't work. hope, you can help
epere4
31st May 2002, 22:29
@zedstrange
I sometimes have trouble when creating movies at 25 FPS. Try 23.976 or 29.976 (depending on the DVD2AVI result)
Anyway, if you have messages like "Canīt open log file", try reinstalling the Gordian Knot again. Follow the installation order Doom9 recomends in his guide and at the end install the DivX5.02.
Good Luck.
librex
1st June 2002, 13:16
Originally posted by zedstrange
thanks very much for offering to help. for simplicity i put the log files here.
http://people.comstar.com.au/~z11/
oviously, your first pass encoding isnt working properly. In the first try, it seems the 20 minutes didnt output anything. Probably points out to a program crash or something. did you hack the divx 5.0 codec? do you have error messages in the XP logs?
otherwise, i cant explain how on your second try it took 11h to output 51541 frames. This seems like an awfully long time for such a job. It's been a long time since I encoded credits through GK but if i'm right, there should be a credits encoding part somewhere in your log file as you set the credits cutoff at frame 208315. Strange...
try to reinstall vdub and a clean divx5 codec from scratch, take a look at what XP's doing (NTFS file violations, errors, etc.) and let me know.
Sorry for the short message, I'm in a bit of a hurry :)
zedstrange
2nd June 2002, 08:47
Originally posted by epere4
@zedstrange
I sometimes have trouble when creating movies at 25 FPS. Try 23.976 or 29.976 (depending on the DVD2AVI result)
Even if its a PAL dvd at 25fps. Is that possible?
epere4
2nd June 2002, 09:17
Donīt really know. But PAL are originally recorded in 24 FPS, so if you enconde at 23.976, you will make a file with the original film FPS. So try and see what hapends.
I always encode my movies at 23.976 (if they are NTSC, when the IVTC process is complete, they also become 23.976) and get good results.
Good Luck.
zedstrange
2nd June 2002, 14:32
Originally posted by librex
did you hack the divx 5.0 codec?
Nope. Just downloaded Gknot .26 and installed on a new clean OS, following exactly doom9 instructions.
The 11 hours is becuase when Vdub crashes, the clock is still ticking. when you click OK to confirm the error, the log updates the entry at that time, not when it crashed. 11 hours simply means thats how long it took before i looked at the computer again :-(
i have attempted about 7-8 jobs now, and its starting to get blurry about things like credits, becuase sometimes i attempted to code seperately and other times i dropped them completely.
i have got the Virtual Dub Crash files (access violation) from a different job. see them at http://people.comstar.com.au/~z11/
I have the same problem, but now i use the Gknot/virtualdub manual combo.
When configuring the DivX 5.0 codec i save a log file and bin file in the same directory as the .avs file and everything works fine.
zedstrange
3rd June 2002, 01:53
Hi Dirk
thats exactly what i do when the Gknot simplified method failed -and then Virtual Dub still crashed around 1/3 to 1/4 way through the job
zedstrange
3rd June 2002, 14:13
librex, i just realised I should qualify something. When I first posted to this thread, my problem was "cannot open log file...." however after that i realised that if i dont choose Fast Deinterlacing then i could by that error. Then i realise there is a bug (first sticky topic in forum) and now understand what to do. probably not many people have noticed that as i expect most people here use NTSC whereas I am a PAL
Now my only problem is Vdub crashing. I killed my Os (Win XP) and reinstalled from scratch. with no other apps installed apart from Gknot .26 and Divx 5.02, i am now trying my first job. It will be finished or crashed :-( by the morning.
librex
4th June 2002, 13:30
Originally posted by zedstrange
librex, i just realised I should qualify something. When I first posted to this thread, my problem was "cannot open log file...." however after that i realised that if i dont choose Fast Deinterlacing then i could by that error. Then i realise there is a bug (first sticky topic in forum) and now understand what to do. probably not many people have noticed that as i expect most people here use NTSC whereas I am a PAL
Now my only problem is Vdub crashing. I killed my Os (Win XP) and reinstalled from scratch. with no other apps installed apart from Gknot .26 and Divx 5.02, i am now trying my first job. It will be finished or crashed :-( by the morning.
okay i'm back... thanks for the clarification.
at least we went through the GK debugging and know that it doesnt seem to have anything to do with the vdub/avisynth scripts...
I tried to find some old log files I had from previous encoding to compare with yours but I somehow decided to wipe my /temp directory sometimes last month. Sorry for that. Otherwise, everything points out to a DivX crash of some sort. Dumb question : did you overclock madly your PC? maybe the CPU is overheating over an extended period of activity? (divx encoding sure takes a lot of processing power..)
How about you try to encode smaller jobs with vdub? like for example smaller avi you might have on your HDD or even some featurettes on a DVD.
All the log files troubles are always related to your first-pass crash so when you'll fix that, eveything's gonna be peachy.
and you're mistaken, PAL is the lesser of two evils and I think lots of people here are using it (including me..).
cheers,
-LR-
zedstrange
4th June 2002, 15:27
Originally posted by librex
Otherwise, everything points out to a DivX crash of some sort.
thanks for all your help, i no longer experience any problem anymore. i reluctantly tried an old but proven remedy, format C: and its all fine now. strange though as it was a new OS anyway with hardly anything else on it, as i have dedicated that PC just for DVD and video capture.
gosh i just realised that i have just installed PowerDVD (which was on the other OS), and i havent done another DVD to Divx job since. here goes and cross my fingers.
zedstrange
9th June 2002, 14:05
Originally posted by librex
All the log files troubles are always related to your first-pass crash so when you'll fix that, eveything's gonna be peachy.
hey i finally fixed it and found out why too. as mentioned before i reinstalled my OS (winXP) and installed everything again and no problems at all, although i did something different , i intsalled DivX basic instead.
after some time i updated to DivX pro and guess what happend. Virtual Dub starts crashing all over again. Removed Pro and installed basic and no more crashes.
i dont really know what advantages teh pro version has and i dont care anymore, as i can now get on with my life instead of pulling hair out.
thanks for all you help.
ZS
arnoo
12th June 2002, 12:27
Hi
I've read with a lot of interest all posts in this thread
BUT I STILL HAVE THE LOG FILE PROBLEM...........
What can i do????
my log file problem is in the first pass:
12:53:40: Started DivX5-First Pass: D:\Divx\Rip\Poject.avs
12:53:41: Finished DivX5-First Pass. Duration: 1 second.
12:53:41: Trying to open Log-file.
12:53:41: Error: Could not open D:\Divx\Rip\Poject_1.log
12:53:41: Error: Could not count encoded Frames.
12:53:41: Speed: 0.000 Frames per Second.
12:53:41: Done.
12:53:41: Log File = D:\Divx\Rip\Poject_1.log
Total Encoding Time: 1 second.
12/06/2002 12:53:41: Job "Movie 1" finished.
Where is my Poject_1.log????
Kidnapped by E.T.?????
I've reinstall all well and always the same pb.
So, the solution will be to not use GordianKnot but only the combo GK and VirtualDub???????
Thanks a lot
zedstrange
12th June 2002, 13:26
Originally posted by arnoo
Hi
I've read with a lot of interest all posts in this thread
BUT I STILL HAVE THE LOG FILE PROBLEM...........
What can i do????
are you using one if the Interlace options?
you need to manually edit the log file before running the job.
off the top of my head, move the line
'virtual reduce by 2' to below the Crop line.
see one of the Sticky subjects at the top of one of the forums.
ahhah there it is
http://forum.doom9.org/showthread.php?s=&threadid=25756
ZS
arnoo
14th June 2002, 10:29
Hi
The only problem is the fast deinterlace in the field option of Gk.
All works well without and my final avi isn't interlace!
So, no more problem for this...
I'm looking to remove the gain of divx 5.02
but if i do that, GK blocks all jobs
An idea???
Thanks a lot
Arno
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.