Log in

View Full Version : AutoGK Error - "Error splitting file"


ripper2004
29th November 2004, 20:22
I am using the latest AutoGK beta and trying to encode from DVD to xvid(ripped files using dvd decrypter using the correct mode). First pass compleets but i am getting this weird error during second pass ....
"Error splitting file" ... i have no clue why it is trying to split the file anyway. I wanted a 1400mb single file.
This error has been frequently occuring for other movies also. Only if iam lucky, will the encode finish successfully.

Here's the log:

[11/29/2004 2:03:57 AM] AutoGK 1.80b
[11/29/2004 2:03:57 AM] OS: WinXP (5.1.2600).2
[11/29/2004 2:03:57 AM] Job started.
[11/29/2004 2:03:57 AM] Input dir: F:\Dvd-Rips-25\chirunavvu
[11/29/2004 2:03:57 AM] Output file: F:\encoded\chirunavvoto\chirunavvu.avi
[11/29/2004 2:03:57 AM] Audio: Unknown language
[11/29/2004 2:03:57 AM] Subtitles: none
[11/29/2004 2:03:57 AM] Codec: XviD
[11/29/2004 2:03:57 AM] Target size: 1400Mb
[11/29/2004 2:03:57 AM] Custom resolution settings: minimum width of 608 pixels
[11/29/2004 2:03:57 AM] Custom audio settings: AC3
[11/29/2004 2:03:57 AM] Started encoding.
[11/29/2004 2:03:57 AM] Demuxing and indexing.
[11/29/2004 2:06:35 AM] Processing file: F:\Dvd-Rips-25\chirunavvu\VTS_01_1.VOB
[11/29/2004 2:06:35 AM] Processing file: F:\Dvd-Rips-25\chirunavvu\VTS_01_2.VOB
[11/29/2004 2:06:35 AM] Processing file: F:\Dvd-Rips-25\chirunavvu\VTS_01_3.VOB
[11/29/2004 2:06:35 AM] Processing file: F:\Dvd-Rips-25\chirunavvu\VTS_01_4.VOB
[11/29/2004 2:06:35 AM] Processing file: F:\Dvd-Rips-25\chirunavvu\VTS_01_5.VOB
[11/29/2004 2:06:35 AM] Source aspect ratio: 4:3
[11/29/2004 2:06:35 AM] Source resolution: 720x480
[11/29/2004 2:06:35 AM] Found NTSC source.
[11/29/2004 2:06:35 AM] Analyzing source.
[11/29/2004 2:16:02 AM] Source has percentage of interlacing in motion areas: 34.67
[11/29/2004 2:16:02 AM] Source has percentage of telecined patterns: 82.71
[11/29/2004 2:16:02 AM] Source has percentage of progressive patterns: 13.02
[11/29/2004 2:16:02 AM] Source has percentage of interlaced patterns: 4.26
[11/29/2004 2:16:02 AM] Source is considered to be hybrid (mostly FILM).
[11/29/2004 2:16:02 AM] Looking for optimal hybrid thresholds.
[11/29/2004 2:40:34 AM] Source seems to be pure FILM.
[11/29/2004 2:40:35 AM] Found 220272 frames
[11/29/2004 2:40:35 AM] Audio size: 220,492,800 bytes (210.28 Mb)
[11/29/2004 2:40:35 AM] Overhead: 1,531,136 bytes (1.46 Mb)
[11/29/2004 2:40:35 AM] Video size: 1,245,982,464 bytes (1188.26 Mb)
[11/29/2004 2:40:35 AM] Running compressibility test.
[11/29/2004 2:40:35 AM] Writing the following script to F:\encoded\chirunavvoto\agk_tmp\chirunavvu_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")

movie = mpeg2source("F:\encoded\chirunavvoto\agk_tmp\chirunavvu.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 0.888888888888889
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 704
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
Telecide(movie,order=0,guide=1,post=2).Decimate(mode=0)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
SelectRangeEvery(300,15)
===========================================================
[11/29/2004 2:57:31 AM] Duration was: 16 minutes 54 seconds
[11/29/2004 2:57:31 AM] Speed was: 10.86 fps.
[11/29/2004 2:57:31 AM] Compressibility percentage is: 30.61
[11/29/2004 2:57:31 AM] Using softer matrix.
[11/29/2004 2:57:31 AM] Chosen resolution is: 608x272 ( AR: 2.24 )
[11/29/2004 2:57:31 AM] Predicted comptest value is: 56.27
[11/29/2004 2:57:31 AM] Running first pass.
[11/29/2004 2:57:31 AM] Writing the following script to F:\encoded\chirunavvoto\agk_tmp\chirunavvu_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")

movie = mpeg2source("F:\encoded\chirunavvoto\agk_tmp\chirunavvu.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 0.888888888888889
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 608
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
Telecide(movie,order=0,guide=1,post=2).Decimate(mode=0)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
===========================================================
[11/29/2004 5:54:01 AM] Duration was: 2 hours 56 minutes 29 seconds
[11/29/2004 5:54:01 AM] Speed was: 20.80 fps.
[11/29/2004 5:54:01 AM] Expected quality of first pass size: 56.48
[11/29/2004 5:54:01 AM] Running second pass.
[11/29/2004 6:53:04 AM] Duration was: 59 minutes 2 seconds
[11/29/2004 6:53:04 AM] Speed was: 62.17 fps.
[11/29/2004 6:53:04 AM] Error splitting file
[11/29/2004 6:53:04 AM] Job finished.

jggimi
29th November 2004, 20:51
...i have no clue why it is trying to split the file anyway...

From the AGK Tutorial:...If you happen to choose a Custom Size of 1400 or 2100 MB, then it will be split, like a 2 or 3 CD rip will be split. If you want a Custom Size for those sizes, then make them for a slightly different size, such as 1401 or 2101 MB.

ripper2004
29th November 2004, 21:02
jiggmi,

so my error is due to the 1400 setting? should i have used 1401 instead?
But that doesn't make sense as i have had successful encodes with 1400 setting.

Everytime i use this custom size = 1400 setting, autoGK splits the file in the end after second pass (for my previous successful encodes). But this error seems to be coming during second pass and it doesn't make sense why its trying to split the file in the middle of the process.
I have enough HDD space by the way.
And i tried with AutoGK 1.6 stable version too. i have autogk 1.8 beta now.

jggimi
29th November 2004, 21:53
I don't know the cause of your error; I was merely answering your other question: why AGK attempts to split in the first place.

len0x
30th November 2004, 13:18
Its not the middle of the process. It happens after second pass is over. Something is messed up on you system as AVI file cannot be opened for analysis. Can you play resulting big AVI file in the WMP OK?

ripper2004
30th November 2004, 17:36
No. I cannot play the file in wmp/real/vlc etc. Also the file is undersized (450mb instead of 1400mb).
I think you are confusing with the file-splitting that occurs at the end after encoding is finished and the 1400mb file is created.
At the end of the log file .. you see that the second pass ran only for 59 minutes 2 seconds.... that should be 3 hours normally, right?

len0x
30th November 2004, 18:25
Its simple - VDubMod aborts during second pass and AutoGK tries to split the file (as it thinks encoding is finished) and obviosuly fails. Two reasons come to my mind:

- corrupted VOB (especially if its on the same place every time)
- hardware problem (if in random places)

ripper2004
30th November 2004, 19:40
The problem had occured for a couple of movies. It didn't occur for some. But all the movie rips were in the same parent folder to begin with.... so i can't say if the vobs are corrupted.

Also my computer overheats and restarts sometimes .... thats a pointer to faulty hardware?

jggimi
30th November 2004, 20:03
Faulty hardware is often to blame for encoding failures. Video encoding produces more CPU heat than almost any other application, and PCs that are otherwise stable can have problems during encoding. If you are overclocking your PC, reset it to manufacturer's specification. If you have insufficient cooling, remove the cover before encoding.See Hardware problems / How to test system stability (http://forum.doom9.org/showthread.php?s=&threadid=54130) in our hardware forum, if you want to isolate and resolve hardware problems.