PDA

View Full Version : Error trying to open log file


a006dean
27th December 2001, 17:57
I promise I've been looking high & low for the answer to this one. It seems that about 50% of the time I get this message in the log file and of course encoding does not work:


9:23:54 AM: Started DivX4-First Pass: C:\Divx Projects\1941\a.avs
9:23:54 AM: Finished DivX4-First Pass. Duration: 0 seconds.
9:23:54 AM: Trying to open Log-file.
9:23:54 AM: Error: Could not open C:\Divx Projects\1941\a.log
9:23:54 AM: Error: Could not count encoded Frames.
9:23:54 AM: Speed: 0.000 Frames per Second.
9:23:54 AM: WARNING: Number of counted frames differs from settings!
9:23:54 AM: WARNING: Settings: 204912
9:23:54 AM: WARNING: Counted: 0
9:23:54 AM: WARNING: Difference: 204912
9:23:54 AM: Correcting Bitrate...
9:23:54 AM: Original Bitrate = 1243 k(=1000)Bits/s
9:23:54 AM: ERROR: Correction impossible.
9:23:54 AM: Now encoding at 1243 k(=1000)Bits/s

Adding this script to C:\PROGRA~1\GORDIA~1\virtualdub\VirtualDub.jobs:


I've attached the complete log file if that is of any assistance. Would really appreciate any pointers in the direction of solving this issue.

thanks, dean

a006dean
2nd January 2002, 16:35
I'm sorry, I don't get it. About 50% of the time, GKnot fails with the following:


3:22:44 AM: Started DivX4-First Pass: C:\Divx Projects\seven\s.avs
3:22:51 AM: Finished DivX4-First Pass. Duration: 6 seconds.
3:22:51 AM: Trying to open Log-file.
3:22:51 AM: Error: Could not open C:\Divx Projects\seven\s.log
3:22:51 AM: Error: Could not count encoded Frames.
3:22:51 AM: Speed: 0.000 Frames per Second.
3:22:51 AM: WARNING: Number of counted frames differs from settings!
3:22:51 AM: WARNING: Settings: 184280
3:22:51 AM: WARNING: Counted: 0
3:22:51 AM: WARNING: Difference: 184280
3:22:51 AM: Correcting Bitrate...
3:22:51 AM: Original Bitrate = 1393 k(=1000)Bits/s
3:22:51 AM: ERROR: Correction impossible.
3:22:51 AM: Now encoding at 1393 k(=1000)Bits/s


Sure would appreciate any thoughts on this issue. Again, using version .21B, here's the .avs file:

#
# Created with Gordian Knot
#
# http://thewef.nav.to
#
# PLUGINS
# get them from http://users.win.be/dividee
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\InverseTelecine.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\Avisynth_Spatial.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\GreedyHMA.dll")
#LoadPlugin("C:\WINNT\System32\vobsub.dll")
#
# SOURCE
mpeg2source("C:\Divx Projects\seven\s.d2v")
#
# TRIM
#trim(startframe,endframe)
#
# IVTC
#InverseTelecine(40,10,15)
# or use
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# CROPPING
crop(6,54,705,369)
#
# DEINTERLACING
#SmartDeinterlace(2,15,true,true,true)
# or use
#VerticalReduceBy2
# or maybe
#GreedyHMA(1,0,0,0,0,0,0,0)
#
# DENOISING: choose one combination (or none)
# 1) little noise (fast)
#TemporalSmoother(2,1)
#
# 2) medium noise (slow)
SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
TemporalSmoother(2)
#
# 3) heavy noise (very slow, you have been warned)
#SpatialSoftenMMX(2,4,6,false,false,4,4,6,8)
#TemporalSmoother(3)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
BicubicResize(704,304,0,0.75)
#
# BORDERS
#AddBorders(left,top,right,bottom)
#
# COMPRESSIBILITY CHECK
# !Snip Size has to be 13 for use in GKnot!
#SelectRangeEvery(260,13)
#
# FOOL CCEnc
#ResampleAudio(44100)


-----------------------------------------------------------

And here's the full log file (sorry about the size):

1/2/2002 2:59:00 AM: Job "Movie 1" started.

o Transcode AC3 -> MP3: C:\Divx Projects\seven\s AC3 T01 3_2ch 448Kbps DELAY 24ms.ac3
o DivX4-First Pass: C:\Divx Projects\seven\s.avs
o DivX4-Second Pass: C:\Divx Projects\seven\s.avs
o Mux Audio.
End of Job 1 (Movie 1).
_______________________________________________________________________________________________________________________

Encoding Job Data:

Type: EncD4_Both
Number: 1
Name: Movie 1
Platform: Win2000 (5.0.2195).2
Files:
VirtualDubExe: C:\PROGRA~1\GORDIA~1\virtualdub\Virtualdub.exe
NandubExe: C:\PROGRA~1\GORDIA~1\nandub\Nandub.exe
AviFinal: C:\Divx Projects\seven\s.avi
AviMovie: C:\Divx Projects\seven\s_Movie.avi
AviCredits: C:\Divx Projects\seven\s_Credits.avi
MovieFS: C:\Divx Projects\seven\s.avs
CreditsFS:
Log : C:\Divx Projects\seven\s.log
Stats: C:\Divx Projects\seven\s.stats
Ecf : C:\Divx Projects\seven\s.ecf
Options:
Quality/DRF: 0
CreditsStart: 0
UseEcf: 1
CreditsIVTC: 0
CreditsAppend: 1
DeleteInterm.: 0
EnforceBitrate:0
Calculator:
VideoSize: 1291655 kbyte.
Audio1Size: 120093 kbyte.
Audio2Size: 0 kbyte.
Overhead: 11610 kbyte.
AviSize: 1423360 kbyte (1390 mbyte).
FilesSize: 0 kbyte.
TotalSize: 1423360 kbyte (1390 mbyte).
Interleaving: vbrmp3
Bitrate: 1376 k(=1000)Bits/s
Frames: 184280
FPS: 23.976
Duration: 2:8:6
Resolution: 704 x 304
Quality: 0.268 bits/(pixel*frame).
Audio 1:
mode: ac3 -> mp3
sourceFile: C:\Divx Projects\seven\s AC3 T01 3_2ch 448Kbps DELAY 24ms.ac3
wavFile: C:\Divx Projects\seven\s AC3 T01 3_2ch 448Kbps DELAY 24ms.wav
mp3File: C:\Divx Projects\seven\s AC3 T01 3_2ch 448Kbps DELAY 24ms.mp3
azid: "-L -3db -c normal"
lame: "--abr 128"
delay: 24
interval: 2
preload: 500
mux: 1
recalc: 1
deleteWav: 1
Audio 2:
none.


2:59:00 AM: Started Transcoding Audio.

2:59:00 AM: Azid: Trying to find maximum gain value for C:\Divx Projects\seven\s AC3 T01 3_2ch 448Kbps DELAY 24ms.ac3
Commandline: C:\PROGRA~1\GORDIA~1\azid.exe -L -3db -c normal -g 30dB -N "C:\Divx Projects\seven\s AC3 T01 3_2ch 448Kbps DELAY 24ms.ac3"
3:05:29 AM: Azid: Finished. Duration: 6 minutes, 28 seconds.

3:05:29 AM: Azid: Decoding C:\Divx Projects\seven\s AC3 T01 3_2ch 448Kbps DELAY 24ms.ac3
3:05:29 AM: Azid: Using gain -g 20.6dB
Commandline: C:\PROGRA~1\GORDIA~1\azid.exe -L -3db -c normal -g 20.6dB "C:\Divx Projects\seven\s AC3 T01 3_2ch 448Kbps DELAY 24ms.ac3" "C:\Divx Projects\seven\s AC3 T01 3_2ch 448Kbps DELAY 24ms.wav"
3:13:10 AM: Finished. Duration: 7 minutes, 41 seconds.

3:13:10 AM: LAME: Encoding C:\Divx Projects\seven\s AC3 T01 3_2ch 448Kbps DELAY 24ms.wav
Commandline: C:\PROGRA~1\GORDIA~1\lame.exe --abr 128 "C:\Divx Projects\seven\s AC3 T01 3_2ch 448Kbps DELAY 24ms.wav" "C:\Divx Projects\seven\s AC3 T01 3_2ch 448Kbps DELAY 24ms.mp3"
3:22:43 AM: Finished. Duration: 9 minutes, 32 seconds.

3:22:43 AM: Deleting Wav-File.
3:22:44 AM: Successful.

3:22:44 AM: Audio Done.
3:22:44 AM: MP3-File-Size is 105424 kb.
3:22:44 AM: Audio 1, determined: 105424 kb
3:22:44 AM: Audio 1, calc: 120093 kb
3:22:44 AM: New Bitrate for Movie = 1393 k(=1000)Bits/s

Adding this script to C:\PROGRA~1\GORDIA~1\virtualdub\VirtualDub.jobs:

// $job "DivX4 First Pass"
// $input "C:\Divx Projects\seven\s.avs"
// $output "C:\Divx Projects\seven\s_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\Divx Projects\\seven\\s.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,"aEEVANAHAAAKAAAAFAAAACwBAAAMAAAAAgAAAAUAAAACAAAAKAAAAAAAAAAAAAAAAAAAAP////8BAAAAQzpcRGl2eCBQcm9qZWN0c1xzZXZlblxzLmxvZwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZAA=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Divx Projects\\seven\\s_Movie.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

3:22:44 AM: Started DivX4-First Pass: C:\Divx Projects\seven\s.avs
3:22:51 AM: Finished DivX4-First Pass. Duration: 6 seconds.
3:22:51 AM: Trying to open Log-file.
3:22:51 AM: Error: Could not open C:\Divx Projects\seven\s.log
3:22:51 AM: Error: Could not count encoded Frames.
3:22:51 AM: Speed: 0.000 Frames per Second.
3:22:51 AM: WARNING: Number of counted frames differs from settings!
3:22:51 AM: WARNING: Settings: 184280
3:22:51 AM: WARNING: Counted: 0
3:22:51 AM: WARNING: Difference: 184280
3:22:51 AM: Correcting Bitrate...
3:22:51 AM: Original Bitrate = 1393 k(=1000)Bits/s
3:22:51 AM: ERROR: Correction impossible.
3:22:51 AM: Now encoding at 1393 k(=1000)Bits/s

Adding this script to C:\PROGRA~1\GORDIA~1\virtualdub\VirtualDub.jobs:

// $job "DivX4 Second Pass"
// $input "C:\Divx Projects\seven\s.avs"
// $output "C:\Divx Projects\seven\s_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\Divx Projects\\seven\\s.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,"aEEVANAHAAAKAAAAFAAAACwBAAAMAAAAAgAAAAUAAAADAAAAKAAAAAAAAAAAAAAAAAAAAP////8BAAAAQzpcRGl2eCBQcm9qZWN0c1xzZXZlblxzLmxvZwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZAA=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Divx Projects\\seven\\s_Movie.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

3:22:51 AM: Started DivX4-Second Pass: C:\Divx Projects\seven\s.avs
3:22:52 AM: Finished DivX4-Second Pass. Duration: 0 seconds.
3:22:52 AM: Speed: 0.000 Frames per Second.

Adding this script to C:\PROGRA~1\GORDIA~1\nandub\VirtualDub.jobs:

// $job "DivX3 Append"
// $input "C:\Divx Projects\seven\s_Movie.avi"
// $output "C:\Divx Projects\seven\s.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\Divx Projects\\seven\\s_Movie.avi",0,0);
VirtualDub.audio.SetSource("C:\\Divx Projects\\seven\\s AC3 T01 3_2ch 448Kbps DELAY 24ms.mp3");
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,2,0,24);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio2.SetSource(0);
VirtualDub.audio2.SetMode(0);
VirtualDub.audio2.SetInterleave(1,0,0,0,0);
VirtualDub.audio2.SetClipMode(1,1);
VirtualDub.audio2.SetConversion(0,0,0,0,0);
VirtualDub.audio2.SetVolume();
VirtualDub.audio2.SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Divx Projects\\seven\\s.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

3:22:52 AM: Started Appending Credits and Muxing Audio.: C:\Divx Projects\seven\s_Movie.avi
3:22:52 AM: Finished Appending Credits and Muxing Audio.. Duration: 0 seconds.

3:22:52 AM: Done.
3:22:52 AM: Movie = C:\Divx Projects\seven\s.avi
Total Encoding Time: 23 minutes, 52 seconds.
1/2/2002 3:22:52 AM: Job "Movie 1" finished.
_______________________________________________________________________________________________________________________

C0mPr355
7th January 2002, 20:45
I too am getting the same error msg. Im searching for an answer :/

a006dean
7th January 2002, 21:08
I've tried converting the audio as a single step, closing GKnot down, then converting the video with GKnot running things and just doing a MUX on the audio. Tried this twice this weekend and didn't have the problem.

I must confess that I downloaded the .23 version prior to the second attempt so I don't know if that contributed to the success or not.

TheWEF
7th January 2002, 21:40
obviously vdub is crashing in the first pass and does not produce a valid log-file.

it's probably a divx4 problem. try to install divx4.12 and also get gknot 0.23

wef.

a006dean
8th January 2002, 06:19
Running DivX 4.12 and GKnot .23 right now. As I said, no problems on the last two attempts. Keep fingers crossed.

C0mPr355
8th January 2002, 16:52
unfortunately i still have problems with both Divx4.12 and GKnot 0.23

check out my log file to see whats up :/

BITS
10th January 2002, 03:25
This video im working on ive ript from Batman Beyond. Im having the same exact problem...but mine wont work in divx3 or 4. It did it yesterday with Batman Mask of Phantasm. I think it has something to do with the actual .vob's. Because it only happens if i rip with Smartripper...vStrip it doesnt do that. What did you rip with when it happens?? vstrip or smartripper.
Anyways i still cant get the video to rip in vStrip...only when copying all the .vob's to the hdd with smartripper can i get the .ac3 stream and a .d2v. But from there in Gknot it fuc's up with this error msg we are getting. If only i can figure out wtf is going on here.

BITS
10th January 2002, 03:39
Just wanted to follow up...I got it to work. I chose to delete the reg values in the options tab and i deleted all .log's. I set everything back the way it was when i "installed" gknot. It finally worked.

If that doesnt work good luck...took me over 3 hours total time to get it to work.

Note: i did as i mentioned a few times...atleast 8 before it worked. But i didnt have gknot closed when i deleted the .logs and stuff...i left it opened after i cleared the reg. Maybe that is why it didnt work before. Either way i hope that helps.

btw. when i chose Inverse Telecine or whatever. do i have to also choose it right before i add the job to que??? there is 2 different spots where you can chose it looks like...which is which?

a006dean
10th January 2002, 04:23
I've always used smartripper