PDA

View Full Version : AutoGK: sometimes 0 byte subtitles created


scottchicken
8th November 2004, 11:54
Hi all,

I am using AutoGK 1.60 with success to backup my Seinfeld DVDs. Using the external subtitles option to create .idx and .sub external subtitles for the 'notes about nothing' subtitles.

BUT for some reason, it does not always create the subtitles, creating a 0 byte .sub file. On a sucessfully done encode, the .idx file is around 13KB, the .rar around 334KB, and the uncompressed .sub around 1312KB. On the unsuccessful encode, the .idx file is 2KB and the .rar contains a 0 byte .sub.

Here is the log file for the 0 byte .sub. Followed by a log file for one that did work. Note both are dual audio.

[8/11/2004 2:41:54 AM] AutoGK 1.60
[8/11/2004 2:41:54 AM] OS: WinXP (5.1.2600).2
[8/11/2004 2:41:54 AM] Job started.
[8/11/2004 2:41:54 AM] Input dir: D:\0seinfeldS02D04\s02e12.The.Revenge.A2S1
[8/11/2004 2:41:54 AM] Output file: D:\0seinfeldS02D04\s02e12.The.Revenge.A2S1\s02e12.avi
[8/11/2004 2:41:54 AM] Audio: English
[8/11/2004 2:41:54 AM] Audio2: English
[8/11/2004 2:41:54 AM] Subtitles: English : Normal
[8/11/2004 2:41:54 AM] Codec: XviD
[8/11/2004 2:41:54 AM] Target size: 1400Mb
[8/11/2004 2:41:54 AM] Started encoding.
[8/11/2004 2:41:54 AM] Demuxing and indexing.
[8/11/2004 2:44:36 AM] Processing file: D:\0seinfeldS02D04\s02e12.The.Revenge.A2S1\VTS_02_1.VOB
[8/11/2004 2:44:37 AM] Source aspect ratio: 4:3
[8/11/2004 2:44:37 AM] Source resolution: 720x576
[8/11/2004 2:44:37 AM] Found PAL source.
[8/11/2004 2:44:37 AM] Analyzing source.
[8/11/2004 2:47:01 AM] Source has percentage of interlacing in motion areas: 0.00
[8/11/2004 2:47:01 AM] Source is considered to be progressive.
[8/11/2004 2:47:01 AM] Found 33150 frames
[8/11/2004 2:47:01 AM] Encoding audio 2.
[8/11/2004 2:52:03 AM] Indexing subtitles.
[8/11/2004 2:52:52 AM] Compressing subtitles.
[8/11/2004 2:52:52 AM] Audio size: 31,819,008 bytes (30.34 Mb)
[8/11/2004 2:52:52 AM] Audio 2 size: 22,148,312 bytes (21.12 Mb)
[8/11/2004 2:52:52 AM] Overhead: 1,719,552 bytes (1.64 Mb)
[8/11/2004 2:52:52 AM] Subtitles size: 1,697 bytes (0.00 Mb)
[8/11/2004 2:52:52 AM] Video size: 1,412,317,831 bytes (1346.89 Mb)
[8/11/2004 2:52:52 AM] Running compressibility test.
[8/11/2004 2:52:52 AM] Writing the following script to D:\0seinfeldS02D04\s02e12.The.Revenge.A2S1\agk_tmp\s02e12_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")

movie = mpeg2source("D:\0seinfeldS02D04\s02e12.The.Revenge.A2S1\agk_tmp\s02e12.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.06666666666667
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
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(214,15)
===========================================================
[8/11/2004 2:58:58 AM] Duration was: 6 minutes 4 seconds
[8/11/2004 2:58:58 AM] Speed was: 4.55 fps.
[8/11/2004 2:58:58 AM] Compressibility percentage is: 246.13
[8/11/2004 2:58:58 AM] Switching b-frames off
[8/11/2004 2:58:58 AM] Chosen resolution is: 720x544 ( AR: 1.32 )
[8/11/2004 2:58:58 AM] Predicted comptest value is: 173.55
[8/11/2004 2:58:58 AM] Running first pass.
[8/11/2004 2:58:58 AM] Writing the following script to D:\0seinfeldS02D04\s02e12.The.Revenge.A2S1\agk_tmp\s02e12_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")

movie = mpeg2source("D:\0seinfeldS02D04\s02e12.The.Revenge.A2S1\agk_tmp\s02e12.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.06666666666667
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 = 720
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
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0)
Undot()
LanczosResize(out_width,out_height)
===========================================================
[8/11/2004 4:26:13 AM] Duration was: 1 hour, 27 minutes 14 seconds
[8/11/2004 4:26:13 AM] Speed was: 6.33 fps.
[8/11/2004 4:26:13 AM] Expected quality of first pass size: 248.84
[8/11/2004 4:26:13 AM] Warning: final AVI will likely be undersized.
[8/11/2004 4:26:13 AM] Running second pass.
[8/11/2004 5:45:28 AM] Duration was: 1 hour, 19 minutes 14 seconds
[8/11/2004 5:45:28 AM] Speed was: 6.97 fps.
[8/11/2004 5:45:28 AM] No splitting required
[8/11/2004 5:45:28 AM] Job finished.

Here is one that worked fine:

[7/11/2004 8:05:26 PM] AutoGK 1.60
[7/11/2004 8:05:26 PM] OS: WinXP (5.1.2600).2
[7/11/2004 8:05:26 PM] Job started.
[7/11/2004 8:05:26 PM] Input dir: D:\0seinfeldS02D04\s02e11.The.Heart.Attack.A2S1
[7/11/2004 8:05:26 PM] Output file: D:\0seinfeldS02D04\s02e11.The.Heart.Attack.A2S1\s02e11.avi
[7/11/2004 8:05:26 PM] Audio: English
[7/11/2004 8:05:26 PM] Audio2: English
[7/11/2004 8:05:26 PM] Subtitles: English : Normal
[7/11/2004 8:05:26 PM] Codec: XviD
[7/11/2004 8:05:26 PM] Target size: 1400Mb
[7/11/2004 8:05:26 PM] Started encoding.
[7/11/2004 8:05:26 PM] Demuxing and indexing.
[7/11/2004 8:08:00 PM] Processing file: D:\0seinfeldS02D04\s02e11.The.Heart.Attack.A2S1\VTS_02_1.VOB
[7/11/2004 8:08:01 PM] Source aspect ratio: 4:3
[7/11/2004 8:08:01 PM] Source resolution: 720x576
[7/11/2004 8:08:01 PM] Found PAL source.
[7/11/2004 8:08:01 PM] Analyzing source.
[7/11/2004 8:10:22 PM] Source has percentage of interlacing in motion areas: 0.00
[7/11/2004 8:10:22 PM] Source is considered to be progressive.
[7/11/2004 8:10:22 PM] Found 33150 frames
[7/11/2004 8:10:22 PM] Encoding audio 2.
[7/11/2004 8:15:12 PM] Indexing subtitles.
[7/11/2004 8:15:50 PM] Compressing subtitles.
[7/11/2004 8:15:53 PM] Audio size: 31,819,008 bytes (30.34 Mb)
[7/11/2004 8:15:53 PM] Audio 2 size: 22,328,168 bytes (21.29 Mb)
[7/11/2004 8:15:53 PM] Overhead: 1,719,552 bytes (1.64 Mb)
[7/11/2004 8:15:53 PM] Subtitles size: 354,649 bytes (0.34 Mb)
[7/11/2004 8:15:53 PM] Video size: 1,411,785,023 bytes (1346.38 Mb)
[7/11/2004 8:15:53 PM] Running compressibility test.
[7/11/2004 8:15:53 PM] Writing the following script to D:\0seinfeldS02D04\s02e11.The.Heart.Attack.A2S1\agk_tmp\s02e11_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")

movie = mpeg2source("D:\0seinfeldS02D04\s02e11.The.Heart.Attack.A2S1\agk_tmp\s02e11.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.06666666666667
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
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(214,15)
===========================================================
[7/11/2004 8:21:47 PM] Duration was: 5 minutes 53 seconds
[7/11/2004 8:21:47 PM] Speed was: 4.69 fps.
[7/11/2004 8:21:47 PM] Compressibility percentage is: 238.63
[7/11/2004 8:21:47 PM] Switching b-frames off
[7/11/2004 8:21:47 PM] Chosen resolution is: 720x544 ( AR: 1.32 )
[7/11/2004 8:21:47 PM] Predicted comptest value is: 168.26
[7/11/2004 8:21:47 PM] Running first pass.
[7/11/2004 8:21:47 PM] Writing the following script to D:\0seinfeldS02D04\s02e11.The.Heart.Attack.A2S1\agk_tmp\s02e11_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")

movie = mpeg2source("D:\0seinfeldS02D04\s02e11.The.Heart.Attack.A2S1\agk_tmp\s02e11.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.06666666666667
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 = 720
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
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0)
Undot()
LanczosResize(out_width,out_height)
===========================================================
[7/11/2004 9:47:55 PM] Duration was: 1 hour, 26 minutes 7 seconds
[7/11/2004 9:47:55 PM] Speed was: 6.42 fps.
[7/11/2004 9:47:55 PM] Expected quality of first pass size: 246.13
[7/11/2004 9:47:56 PM] Warning: final AVI will likely be undersized.
[7/11/2004 9:47:56 PM] Running second pass.
[7/11/2004 11:14:04 PM] Duration was: 1 hour, 26 minutes 7 seconds
[7/11/2004 11:14:04 PM] Speed was: 6.41 fps.
[7/11/2004 11:14:05 PM] No splitting required
[7/11/2004 11:14:05 PM] Job finished.

Any help or pointers would be ace!

len0x
8th November 2004, 15:25
starting pointer is in the FAQ Q 3.4

scottchicken
9th November 2004, 08:25
Originally posted by len0x
starting pointer is in the FAQ Q 3.4

Okay for users future forum searching sake:

After having a uninstall/reinstall of DVD Decrypter, my IFO Mode settings nicely dropped off "include PGC number" and "include angle number".

If someone smarter than myself had noticed that it was always the _first_ PGC that the external subtitles worked fine for, and not succeeding ones, they could have hit my nose with a rolled up newspaper before I forum'ed the problem.

Thanks! Great stuff! Everybodies happy! Er.. end communcation.